/* ============================================
   KITA SONNENSCHEIN — Anti-Slop Multi-Page
   ============================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Comic Neue', cursive, sans-serif;
  font-size: 17px;
  line-height: 1.72;
  color: #3E2E23;
  background: #FDF8F3 url('Bilder/Body hintergrund.png') center top / cover no-repeat fixed;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: 'Bubblegum Sans', cursive;
  font-weight: 600;
  line-height: 1.15;
  color: #2E1F14;
}

h1 { font-size: clamp(2.6rem, 5.5vw, 4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.15rem; }

p { max-width: 60ch; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
}

.wide { max-width: 1320px; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  font-family: 'Bubblegum Sans', cursive;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 12px 28px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
  min-height: 46px;
}

.btn:focus-visible { outline: 2px solid #C4654A; outline-offset: 3px; }

.btn-primary {
  background: #C4654A;
  color: #fff;
  border-radius: 0;
}

.btn-primary:hover { opacity: 0.85; }

.btn-outline {
  background: none;
  color: #3E2E23;
  border: 1.5px solid #D1C4B5;
  border-radius: 0;
}

.btn-outline:hover { border-color: #C4654A; color: #C4654A; }

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: none;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  background: rgba(253,248,243,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 6px rgba(0,0,0,0.05);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.nav-logo {
  font-family: 'Bubblegum Sans', cursive;
  font-size: 1.2rem;
  font-weight: 600;
  color: #2E1F14;
  text-shadow: 0 0 8px rgba(253,248,243,0.8);
}

.navbar.scrolled .nav-logo {
  text-shadow: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-links a {
  font-family: 'Bubblegum Sans', cursive;
  font-size: 0.88rem;
  font-weight: 500;
  color: #2E1F14;
  padding: 7px 14px;
  border-radius: 6px;
  transition: color 0.15s;
  text-shadow: 0 0 8px rgba(253,248,243,0.8);
}

.navbar.scrolled .nav-links a {
  text-shadow: none;
}

.nav-links a:hover, .nav-links a.active { color: #C4654A; }

.nav-links .cta {
  background: #C4654A;
  color: #fff !important;
  margin-left: 8px;
  padding: 7px 18px;
}

.nav-links .cta:hover { opacity: 0.85; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #2E1F14;
  border-radius: 1px;
}

/* ============================================
   PAGE HERO (per-page images)
   ============================================ */
.page-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 60px 0 0;
}

.page-hero-short {
  min-height: 56vh;
  min-height: 56dvh;
  align-items: center;
  padding: 60px 0 0;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(253,248,243,0.72) 0%, rgba(253,248,243,0.3) 55%, rgba(253,248,243,0.08) 100%);
}

.page-hero-short .page-hero-overlay {
  background: radial-gradient(ellipse at center, rgba(253,248,243,0.78) 0%, rgba(253,248,243,0.35) 50%, rgba(253,248,243,0.1) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
  text-align: center;
}

.page-hero-content h1 {
  margin-bottom: 14px;
  text-shadow: 0 2px 16px rgba(253,248,243,0.9), 0 0 40px rgba(253,248,243,0.6);
}

.page-hero-content p {
  font-size: 1.1rem;
  color: #3E2E23;
  margin-bottom: 28px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 12px rgba(253,248,243,0.85), 0 0 30px rgba(253,248,243,0.5);
}

.page-hero-content .accent { color: #C4654A; }

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ============================================
   DIVIDER
   ============================================ */
.divider {
  border: none;
  height: 1px;
  background: rgba(224,213,201,0.5);
  margin: 0;
}

/* ============================================
   PAPER SECTION BG
   ============================================ */
.bg-paper {
  background: rgba(253,248,243,0.55);
  position: relative;
}


.bg-warm { background: transparent; }

/* ============================================
   HOME — INTRO (asymmetric)
   ============================================ */
.home-intro {
  padding: 100px 0 80px;
}

.home-intro-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 56px;
  align-items: start;
}

.home-intro-grid h2 {
  margin-bottom: 14px;
}

.home-intro-grid p {
  color: #6B5B52;
  margin-bottom: 10px;
}

.home-intro-img {
  border-radius: 0 12px 12px 0;
  width: 100%;
  height: 340px;
  object-fit: cover;
  margin-left: -28px;
}

/* --- Highlights (3 col, no cards) --- */
.highlights {
  padding: 80px 0 100px;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.highlight-item svg {
  width: 28px;
  height: 28px;
  color: #C4654A;
  margin-bottom: 14px;
}

.highlight-item h3 { margin-bottom: 6px; }
.highlight-item p { color: #6B5B52; font-size: 0.95rem; }

/* ============================================
   KONZEPT PAGE
   ============================================ */
.konzept-section {
  padding: 100px 0 80px;
}

.konzept-list {
  display: grid;
  gap: 56px;
}

.konzept-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  align-items: start;
}

.konzept-item svg {
  width: 28px;
  height: 28px;
  color: #C4654A;
  margin-top: 4px;
}

.konzept-item h3 { margin-bottom: 6px; }
.konzept-item p { color: #6B5B52; }

/* --- Tagesablauf Kreis (GROESSERE SCHRIFT) --- */
.tagesablauf-section {
  padding: 120px 0;
}

.tagesablauf-section h2 {
  margin-bottom: 48px;
}

.tageskreis-wrapper {
  display: flex;
  justify-content: center;
}

.tageskreis {
  position: relative;
  width: 560px;
  height: 560px;
}

.tageskreis-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.tageskreis-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.tageskreis-center-time {
  display: block;
  font-family: 'Bubblegum Sans', cursive;
  font-size: 1.5rem;
  font-weight: 700;
  color: #2E1F14;
}

.tageskreis-center-sub {
  font-size: 0.9rem;
  color: #6B5B52;
}

.station {
  position: absolute;
  top: 50%; left: 50%;
  width: 110px;
  text-align: center;
  transform:
    translate(-50%, -50%)
    rotate(var(--angle))
    translateY(-230px)
    rotate(calc(-1 * var(--angle)));
}

.station-time {
  display: block;
  font-family: 'Bubblegum Sans', cursive;
  font-size: 1.2rem;
  font-weight: 700;
  color: #C4654A;
  line-height: 1.2;
}

.station-name {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #2E1F14;
  line-height: 1.3;
}

/* ============================================
   ANGEBOTE PAGE
   ============================================ */
.angebote-section { padding: 100px 0; }

.angebote-list {
  display: grid;
  gap: 80px;
}

.angebot-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.angebot-row.reverse { direction: rtl; }
.angebot-row.reverse > * { direction: ltr; }

.angebot-row img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.angebot-row:nth-child(odd) img { border-radius: 0 12px 12px 0; }
.angebot-row:nth-child(even) img { border-radius: 12px 0 0 12px; }

.angebot-text h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.angebot-text p {
  color: #6B5B52;
  font-size: 1.02rem;
}

/* ============================================
   GALERIE PAGE
   ============================================ */
.galerie-section { padding: 80px 0 100px; }

.galerie-section h2 { margin-bottom: 40px; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.gallery-grid img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.gallery-grid img:hover { transform: scale(1.02); }

/* varied radii */
.gallery-grid img:nth-child(1) { border-radius: 12px 0 0 0; }
.gallery-grid img:nth-child(3) { border-radius: 0 12px 0 0; }
.gallery-grid img:nth-child(4) { border-radius: 0; }
.gallery-grid img:nth-child(6) { border-radius: 0 0 12px 0; }
.gallery-grid img:nth-child(7) { border-radius: 0 0 0 12px; grid-column: 1 / -1; height: 340px; }

.gallery-credit {
  margin-top: 20px;
  font-size: 0.8rem;
  color: #8A7B72;
}

.gallery-credit a { color: #C4654A; text-decoration: underline; }

/* ============================================
   KONTAKT PAGE
   ============================================ */
.kontakt-section { padding: 100px 0; }

.kontakt-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 64px;
  align-items: start;
}

.kontakt-info h2 { margin-bottom: 12px; }
.kontakt-info > p { color: #6B5B52; margin-bottom: 36px; }

.kontakt-details {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.kontakt-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.kontakt-item svg {
  width: 20px;
  height: 20px;
  color: #C4654A;
  flex-shrink: 0;
  margin-top: 3px;
}

.kontakt-item strong {
  display: block;
  font-family: 'Bubblegum Sans', cursive;
  font-weight: 600;
  color: #2E1F14;
}

.kontakt-item p { font-size: 0.95rem; color: #6B5B52; }
.kontakt-item a { color: #C4654A; }
.kontakt-item a:hover { opacity: 0.8; }

.kontakt-form-card {
  background: #fff;
  border-radius: 8px;
  padding: 36px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.kontakt-form-card h3 { margin-bottom: 24px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group { margin-bottom: 16px; }

.form-group label {
  display: block;
  font-family: 'Bubblegum Sans', cursive;
  font-size: 0.85rem;
  font-weight: 600;
  color: #2E1F14;
  margin-bottom: 4px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  font-family: 'Comic Neue', cursive;
  font-size: 1rem;
  color: #3E2E23;
  background: #FDF8F3;
  border: 1.5px solid #D1C4B5;
  border-radius: 6px;
  padding: 10px 14px;
  transition: border-color 0.2s;
  min-height: 44px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #C4654A;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: #A89E96; }

.form-group textarea { resize: vertical; min-height: 90px; }

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236B4D3A' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

/* ============================================
   LEGAL PAGES (Impressum, Datenschutz)
   ============================================ */
.legal-section { padding: 100px 0; }

.legal-content h2 {
  margin-bottom: 24px;
}

.legal-content h3 {
  margin-top: 36px;
  margin-bottom: 8px;
}

.legal-content p {
  color: #6B5B52;
  margin-bottom: 12px;
}

.legal-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 12px;
}

.legal-content ul li {
  color: #6B5B52;
  margin-bottom: 4px;
}

.legal-content a {
  color: #C4654A;
}

.legal-content a:hover {
  opacity: 0.8;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: rgba(245,237,228,0.65);
  position: relative;
  color: #6B5B52;
  padding: 52px 0 24px;
}


.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 40px;
  margin-bottom: 36px;
}

.footer .nav-logo { color: #2E1F14; display: block; margin-bottom: 8px; text-shadow: none; }
.footer-brand p { color: #8A7B72; font-size: 0.88rem; max-width: 260px; }

.footer-col h4 { font-size: 0.9rem; color: #2E1F14; margin-bottom: 10px; }
.footer-col ul { display: flex; flex-direction: column; gap: 6px; }
.footer-col a { font-size: 0.88rem; color: #6B5B52; transition: color 0.15s; }
.footer-col a:hover { color: #C4654A; }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(0,0,0,0.08);
  font-size: 0.78rem;
  color: #A89E96;
}

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .tageskreis { width: 480px; height: 480px; }
  .station { transform: translate(-50%,-50%) rotate(var(--angle)) translateY(-195px) rotate(calc(-1 * var(--angle))); width: 100px; }
  .station-time { font-size: 1.05rem; }
  .station-name { font-size: 0.88rem; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 60px; left: 0; right: 0;
    background: rgba(253,248,243,0.97);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 16px;
    gap: 2px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transform: translateY(-120%);
    transition: transform 0.3s ease;
  }

  .nav-links.active { transform: translateY(0); }
  .nav-links a { display: block; padding: 10px 14px; }

  .page-hero { min-height: 100vh; min-height: 100dvh; }
  .page-hero-short { min-height: 40vh; min-height: 40dvh; }

  .home-intro { padding: 64px 0 48px; }
  .home-intro-grid { grid-template-columns: 1fr; gap: 32px; }
  .home-intro-img { margin-left: 0; border-radius: 12px; height: 240px; }

  .highlights { padding: 48px 0 64px; }
  .highlights-grid { grid-template-columns: 1fr; gap: 32px; }

  .konzept-section { padding: 64px 0; }
  .angebote-section { padding: 64px 0; }
  .angebote-list { gap: 48px; }
  .angebot-row, .angebot-row.reverse { grid-template-columns: 1fr; direction: ltr; }
  .angebot-row img { height: 240px; border-radius: 8px !important; }

  .tagesablauf-section { padding: 80px 0; }
  .tageskreis { width: 360px; height: 360px; }
  .station { transform: translate(-50%,-50%) rotate(var(--angle)) translateY(-145px) rotate(calc(-1 * var(--angle))); width: 82px; }
  .station-time { font-size: 0.95rem; }
  .station-name { font-size: 0.8rem; }
  .tageskreis-center-time { font-size: 1.2rem; }

  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid img { height: 180px; border-radius: 4px !important; }
  .gallery-grid img:nth-child(7) { height: 220px; }

  .kontakt-layout { grid-template-columns: 1fr; gap: 40px; }
  .kontakt-section { padding: 64px 0; }

  .footer-inner { flex-direction: column; gap: 24px; }
  .footer-bottom { text-align: center; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .container { padding: 0 18px; }
  .nav-inner { padding: 0 18px; }
  .page-hero-content { padding: 0 18px; }
  .hero-actions { flex-direction: column; }
  .form-row { grid-template-columns: 1fr; }

  .tageskreis { width: 310px; height: 310px; }
  .station { transform: translate(-50%,-50%) rotate(var(--angle)) translateY(-122px) rotate(calc(-1 * var(--angle))); width: 70px; }
  .station-time { font-size: 0.85rem; }
  .station-name { font-size: 0.72rem; }
  .tageskreis-center-time { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
