/*
Theme Name: Kiparas Big5
Theme URI: https://kiparasbig5.com
Author: Dirk Wiedau
Author URI: https://kiparasbig5.com
Description: Das offizielle Theme für Kiparas Big5 – Tansanias beste Safari-Geheimtipps. Persönlich, informativ, humorvoll.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kiparasbig5
Tags: safari, tanzania, travel, black-white, magazine
*/

/* ── RESET & VARIABLEN ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black: #000000;
  --white: #ffffff;
  --dark: #111111;
  --grey-light: #f5f5f5;
  --grey-mid: #888888;
  --grey-card: #1a1a1a;
  --grey-border: #e0e0e0;
  --accent: #ffffff;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;
  --font-logo: 'Bebas Neue', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--black);
  overflow-x: hidden;
  line-height: 1.6;
}

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

/* ── NAVIGATION ── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 68px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.site-logo .logo-kreis {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.site-logo .logo-text {
  height: 22px;
  width: auto;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.site-nav li a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  padding: 0.5rem 0.75rem;
  border-radius: 2px;
  transition: background 0.2s;
}

.site-nav li a:hover {
  background: rgba(255,255,255,0.1);
}

.nav-cta a {
  background: var(--white) !important;
  color: var(--black) !important;
  padding: 0.45rem 1rem !important;
  border-radius: 2px;
}

.nav-cta a:hover {
  background: rgba(255,255,255,0.85) !important;
}

.nav-lang {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--grey-mid);
  cursor: pointer;
  padding: 0.5rem 0.5rem;
  transition: color 0.2s;
}

.nav-lang:hover, .nav-lang.active { color: var(--white); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

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

/* ── HERO ── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: 68px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/hero.jpg');
  background-size: cover;
  background-position: center 40%;
  filter: brightness(0.75);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.65) 0%,
    rgba(0,0,0,0.3) 50%,
    rgba(0,0,0,0.05) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

.hero-eyebrow {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 4rem);
  color: var(--white);
  line-height: 1.1;
  max-width: 600px;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.85);
  max-width: 480px;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--white);
  color: var(--black);
  padding: 0.85rem 2rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-block;
}

.btn-primary:hover {
  background: rgba(255,255,255,0.85);
  transform: translateY(-1px);
}

.btn-secondary {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: transparent;
  color: var(--white);
  padding: 0.85rem 2rem;
  border: 2px solid rgba(255,255,255,0.6);
  cursor: pointer;
  transition: all 0.2s;
  display: inline-block;
}

.btn-secondary:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-family: var(--font-heading);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.3);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 0.8; transform: scaleY(1.2); }
}

/* ── TICKER / TAGLINE-BAND ── */
.ticker-band {
  background: var(--black);
  color: var(--white);
  padding: 0.75rem 0;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-inner {
  display: inline-flex;
  gap: 3rem;
  animation: ticker 30s linear infinite;
}

.ticker-inner span {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

.ticker-inner span.dot {
  color: var(--white);
  font-size: 0.5rem;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── SEKTIONEN ALLGEMEIN ── */
.section {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-full {
  padding: 5rem 2rem;
}

.section-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--grey-mid);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--black);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.section-title-white {
  color: var(--white);
}

.section-lead {
  font-size: 1.1rem;
  color: var(--grey-mid);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 3rem;
}

/* ── TOP 5 KARTEN ── */
.top5-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.top5-card {
  position: relative;
  overflow: hidden;
  background: var(--black);
  cursor: pointer;
  transition: transform 0.3s;
}

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

.top5-card-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  opacity: 0.8;
  transition: opacity 0.3s, transform 0.4s;
}

.top5-card:hover .top5-card-img {
  opacity: 0.9;
  transform: scale(1.03);
}

.top5-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
  background: var(--black);
}

.top5-card-cat {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--grey-mid);
  margin-bottom: 0.5rem;
}

.top5-card-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: 0.02em;
  line-height: 1.2;
  margin-bottom: 0.6rem;
}

.top5-card-excerpt {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

.top5-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding-bottom: 2px;
  transition: border-color 0.2s;
}

.top5-card-link:hover { border-color: var(--white); }

.top5-number {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  background: var(--white);
  color: var(--black);
  padding: 0.2rem 0.5rem;
  text-transform: uppercase;
}

/* ── ÜBER DIRK ── */
.about-section {
  background: var(--grey-light);
}

.about-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-img-wrap {
  position: relative;
}

.about-img {
  width: 100%;
  max-width: 460px;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top center;
}

.about-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--black);
  color: var(--white);
  padding: 1.25rem 1.5rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.4;
}

.about-badge strong {
  display: block;
  font-size: 2rem;
  letter-spacing: 0;
  line-height: 1;
}

.about-text .section-label { margin-bottom: 0.75rem; }
.about-text .section-title { margin-bottom: 1.25rem; }

.about-text p {
  font-size: 1.05rem;
  color: #333;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.about-stats {
  display: flex;
  gap: 2.5rem;
  margin: 2rem 0;
  padding: 1.5rem 0;
  border-top: 1px solid var(--grey-border);
  border-bottom: 1px solid var(--grey-border);
}

.stat-item { text-align: center; }

.stat-number {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2rem;
  color: var(--black);
  line-height: 1;
  display: block;
}

.stat-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey-mid);
  margin-top: 0.25rem;
  display: block;
}

/* ── KATEGORIEN ── */
.categories-section {
  background: var(--black);
  padding: 5rem 2rem;
}

.categories-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1px;
  margin-top: 2.5rem;
  background: rgba(255,255,255,0.08);
}

.cat-item {
  background: var(--black);
  padding: 2rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.cat-item:hover { background: rgba(255,255,255,0.06); }

.cat-icon {
  font-size: 1.8rem;
  line-height: 1;
}

.cat-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
}

.cat-count {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--grey-mid);
}

/* ── NEWSLETTER / ANFRAGE CTA ── */
.cta-section {
  background: var(--black);
  padding: 5rem 2rem;
  text-align: center;
}

.cta-inner {
  max-width: 600px;
  margin: 0 auto;
}

.cta-inner .section-title { color: var(--white); margin-bottom: 1rem; }
.cta-inner .section-lead { color: rgba(255,255,255,0.6); margin: 0 auto 2rem; }

.cta-form {
  display: flex;
  gap: 0;
  max-width: 480px;
  margin: 0 auto;
}

.cta-form input {
  flex: 1;
  padding: 0.9rem 1.25rem;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.05);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
}

.cta-form input::placeholder { color: rgba(255,255,255,0.35); }

.cta-form button {
  padding: 0.9rem 1.5rem;
  background: var(--white);
  color: var(--black);
  border: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.cta-form button:hover { background: rgba(255,255,255,0.85); }

/* ── KI-CHAT WIDGET ── */
.chat-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
}

.chat-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--black);
  border: 2px solid rgba(255,255,255,0.2);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  font-size: 1.4rem;
}

.chat-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(0,0,0,0.5);
}

.chat-window {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 340px;
  background: var(--dark);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
  display: none;
  flex-direction: column;
  border-radius: 4px;
  overflow: hidden;
}

.chat-window.open { display: flex; }

.chat-header {
  background: var(--black);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.chat-header-info strong {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--white);
}

.chat-header-info span {
  font-size: 0.75rem;
  color: #4ade80;
}

.chat-messages {
  padding: 1rem;
  min-height: 200px;
  max-height: 300px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.chat-msg {
  max-width: 85%;
  padding: 0.65rem 0.9rem;
  border-radius: 2px;
  font-size: 0.88rem;
  line-height: 1.5;
}

.chat-msg.bot {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85);
  align-self: flex-start;
}

.chat-msg.user {
  background: var(--white);
  color: var(--black);
  align-self: flex-end;
}

.chat-input-row {
  display: flex;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.chat-input-row input {
  flex: 1;
  padding: 0.85rem 1rem;
  background: transparent;
  border: none;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
}

.chat-input-row input::placeholder { color: rgba(255,255,255,0.3); }

.chat-send {
  padding: 0 1rem;
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  font-size: 1.1rem;
  transition: color 0.2s;
}

.chat-send:hover { color: var(--white); }

/* ── FOOTER ── */
.site-footer {
  background: var(--black);
  padding: 3rem 2rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .site-logo {
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  max-width: 260px;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: all 0.2s;
  border-radius: 2px;
}

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

.footer-social svg { width: 16px; height: 16px; fill: currentColor; }

.footer-col h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer-col ul { list-style: none; }

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col ul li a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  transition: color 0.2s;
}

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

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.25);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.25);
  transition: color 0.2s;
}

.footer-legal a:hover { color: rgba(255,255,255,0.6); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .about-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-img { max-width: 100%; aspect-ratio: 4/3; }
  .about-badge { right: 0; bottom: -1rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .site-nav { display: none; }
  .hamburger { display: flex; }
  .site-nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: var(--black);
    padding: 1.5rem 2rem;
    gap: 0.25rem;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .hero-title { font-size: 2rem; }
  .top5-grid { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
  .cta-form { flex-direction: column; }
  .footer-inner { grid-template-columns: 1fr; }
  .chat-window { width: 300px; }
}

@media (max-width: 480px) {
  .about-stats { gap: 1.5rem; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
}
