/* =========================
   Reset & Basis
   ========================= */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  color: #fff;
  background: #f5f5f5;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}

/* =========================
   Header
   ========================= */
.site-header {
  width: 100%;
  color: #f9fafb;
}

body {
  background:
		url("images/complexStar50.png") 200px 200px no-repeat,
		url("images/complexStar50.png") 500px 500px no-repeat,
		url("images/complexStar50.png") 700px 700px no-repeat,
		url("images/complexStar50.png") 1000px 1000px no-repeat,
		url("images/complexStar50.png") 200px 1200px no-repeat,
		url("images/complexStar50.png") 500px 1500px no-repeat,
		url("images/complexStar50.png") 700px 1700px no-repeat,
		url("images/complexStar50.png") 1000px 2000px no-repeat,
		
		url("images/whiteMandala29.png") -480px 240px no-repeat,
		url("images/whiteMandala29.png") 800px 800px no-repeat,
		url("images/whiteMandala29.png") Left 1280px no-repeat,
		url("images/whiteMandala29.png") 480px 1800px no-repeat,
		
		url("images/whiteMandala29.png") -480px 2040px no-repeat,
		url("images/whiteMandala29.png") 800px 2600px no-repeat,
		url("images/whiteMandala29.png") Left 3080px no-repeat,
		url("images/whiteMandala29.png") 480px 3600px no-repeat,
		
		url("images/whiteMandala29.png") -480px 4240px no-repeat,
		url("images/whiteMandala29.png") 800px 4200px no-repeat,
		url("images/whiteMandala29.png") Left 5280px no-repeat,
		url("images/whiteMandala29.png") 480px 5800px no-repeat,
		
		linear-gradient(90deg, #4a3d0a 0%, #947b19 75%) left top no-repeat;
		background-size: 29px, 58px, 29px, 58px, 29px, 58px, 29px, 58px, 1000px, 1000px, 600px, 600px, 1000px, 1000px, 600px, 600px, 1000px, 1000px, 600px, 600px, auto;
}

.site-header-inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
}

/* Logo-Platzhalter */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: 200px;
}
.logo2 {
  width: 62px;
}
.chokdieLogo {
  width: 210px;
}

/* beide Varianten */
.logo-variant {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Sticky-Variante zuerst verstecken */
.logo-variant.logo-sticky {
  display: none;
}

/* .logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, #3b82f6, #22c55e);
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.4);
} */

.logo-text {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.03em;
}

@keyframes stickyFadeIn {
  0% {
    opacity: 0;
    transform: translateY(-20px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Sticky-State für Header */
.site-header.sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
/*   background: rgba(17, 24, 39, 0.9); leicht transparent */
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  z-index: 900;
  
  /* Animation */
  animation: stickyFadeIn 0.35s ease forwards;
}

/* Wenn Header sticky ist: anderes Logo anzeigen */
.site-header.sticky .logo-default {
  display: none;
}

.site-header.sticky .logo-sticky {
  display: inline-flex;
}

/* Damit der Inhalt nicht hochspringt: etwas Platz nach oben,
   wenn der Header sticky ist (Höhe kannst du nach Gefühl anpassen) */
body.is-sticky {
  padding-top: 72px;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.main-nav a {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.2);
}

.main-nav a:hover {
  background: rgba(0, 0, 0, 0.5);
}

/* =========================
   Hero-Bereich
   ========================= */
.hero {
  color: #f9fafb;
  padding: 2rem 0 2.5rem;
}

.hero-layout {
  /* Mobile: alles untereinander */
  display: block;
}

.hero-title {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 1.25rem;
  max-width: 36rem;
}

.hero-subtitle2 {
  color: #eb501c;
  font-size: 1.3rem;
  margin-bottom: 1.25rem;
  max-width: 36rem;
}

p.text-red-white {
  font-size: 24pt;
  font-weight: 500;
  line-height: 1.25;
  color: #fff;
  font-family: "futura_md_bt_medium", Helvetica, Arial, sans-serif;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: #ff442a;
  text-align: justify;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0.75rem;
}

.btn-primary,
.btn-secondary {
  border-radius: 999px;
  padding: 0.6rem 1.3rem;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Buttons */
.btn-primary {
  background: #3b82f6;
  color: #fff;
  border-color: #3b82f6;
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-secondary {
  background: rgba(249, 250, 251, 0.5);
  color: #444;
  border-color: #4b5563;
}

.btn-secondary:hover {
  background: rgba(249, 250, 251, 1);
}

/* Hero-Bildplatzhalter */
.hero-media {
  margin-top: 1.5rem;
}

.hero-placeholder {
  border-radius: 1rem;
  border: 2px dashed rgba(156, 163, 175, 0.8);
  padding: 1rem;
  font-size: 1.3rem;
}

/* Scroll-To-Top Button */
#scrollTopBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: #3b82f6;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.2s ease;
  z-index: 999;
}

/* Hover-Effekt */
#scrollTopBtn:hover {
  transform: scale(1.1);
  background: #2563eb;
}

/* Sichtbar */
#scrollTopBtn.visible {
  opacity: 1;
  visibility: visible;
}

/* =========================
   Modal Box
   ========================= */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
  z-index: 1000;
}

.modal-overlay.visible {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: #fff;
  color: #111;
  padding: 1.75rem;
  max-width: 420px;
  width: 92%;
  border-radius: 1rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  animation: modalIn .25s ease;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-close-btn {
  margin-top: 1rem;
  padding: 0.65rem 1.2rem;
  border: none;
  border-radius: 0.5rem;
  background: #3b82f6;
  color: #fff;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background .2s ease;
}

.modal-close-btn:hover {
  background: #2563eb;
}

/* =========================
   Hauptinhalt
   ========================= */
main {
  padding: 2rem 0 3rem;
}

/* Textbausteine – Mobile First: einspaltig */
.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.card {
  background: #ffffff;
  border-radius: 0.75rem;
  padding: 1.25rem;
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.06);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 1.1rem;
  color: #444;
}

.card p {
  margin-top: 0.8rem;
  font-size: 1.1rem;
  color: #4b5563;
}

.card-img {
  width: 100%;
  height: auto;             /* feste Höhe → alle Kacheln gleich groß */
  object-fit: cover;         /* schneidet das Bild sauber zu */
  border-radius: 1rem 1rem 1rem 1rem; /* oben runde Ecken wie die Card */
  display: block;
}


.section-title-heinweis {
  font-size: 24pt;
  font-weight: 500;
  line-height: 1.25;
  color: #fff;
  font-family: "futura_md_bt_medium", Helvetica, Arial, sans-serif;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: #ff442a;
  text-align: center;
}

.section-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.spaced-section {
  margin-top: 3rem;
}

/* =========================
   Footer
   ========================= */
.site-footer {
  width: 100%;
  background: #111827;
  color: #9ca3af;
  padding: 1.5rem 0;
  font-size: 0.9rem;
}

.site-footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-links a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.footer-meta {
  font-size: 0.85rem;
}

/* Cookie Banner */
.cookie-banner {
position: fixed;
bottom: 0;
left: 0;
right: 0;
background: #3a2a1c;
color: #fff;
padding: 1rem;
display: none;
justify-content: space-between;
align-items: center;
z-index: 1000;
}


.cookie-banner p {
margin: 0;
font-size: 0.9rem;
}


.cookie-banner a {
color: #f4d19a;
text-decoration: underline;
}


.cookie-banner button {
background: #d49a6a;
border: none;
padding: 0.5rem 1rem;
border-radius: 0.5rem;
cursor: pointer;
font-weight: bold;
color: #3a2a1c;
}

/* ================================
   BREAKPOINTS / RESPONSIVE LAYOUTS
   ================================ */

/* Smartphone LANDSCAPE (~>= 576px)
   → 2 Spalten für Textbausteine */
@media (min-width: 576px) {
  .content-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Tablet PORTRAIT (~>= 768px)
   → Header nebeneinander, Hero zweispaltig, 2 Spalten Grid */
@media (min-width: 768px) {
  .site-header-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .hero {
    padding: 2.5rem 0 3rem;
  }

  .hero-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }

  .hero-text {
    max-width: 32rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-media {
    margin-top: 0;
  }

  .content-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* Tablet LANDSCAPE (~>= 1024px)
   → 3 Spalten Grid, großzügiger Hero */
@media (min-width: 1024px) {
  .hero {
    padding: 3rem 0 3.5rem;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .content-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Großer DESKTOP (~>= 1280px)
   → leichtes Feintuning möglich */
@media (min-width: 1280px) {
  .container {
    max-width: 1200px; /* kannst du bei Bedarf erhöhen */
  }
}
