/* ------------------------------
   RISING SAKE – BRAND DESIGN
--------------------------------*/

:root {
  --rs-red: #E73E48;
  --rs-navy: #0E1A2B;
  --rs-beige: #F7EFE2;
  --rs-beige-light: #F3E8D5;
  --rs-white: #ffffff;

  --text-dark: #1a1a1a;
  --text-medium: #444;
  --radius: 12px;
  --shadow: 0 6px 26px rgba(0,0,0,0.08);
  --max-width: 1100px;
}

/* Grundstruktur */
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", system-ui, sans-serif;
  background: var(--rs-beige);
  color: var(--text-dark);
  line-height: 1.6;
  padding-top: 150px; /* Platz für fixed Header */
}

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

.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ------------------------------
   HEADER & FIXED NAVIGATION
--------------------------------*/

.site-header {
  background: var(--rs-beige);
  padding: 18px 0;
  border-bottom: 3px solid var(--rs-red);

  position: fixed;
  top: 0;
  left: 0;
  right: 0;

  z-index: 9999;
}

.site-header.shrink {
  padding: 6px 0;
  background: var(--rs-beige);
  border-bottom: 2px solid var(--rs-red);
  transition: padding 0.25s ease, background 0.25s ease;
}

.site-header.shrink .logo img {
  height: 110px !important;
  transition: height 0.25s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.main-nav {
  display: flex;
  align-items: center;
}

.main-nav a {
  font-family: "bakemono-variable", sans-serif; /* ODER der konkrete Fontname aus Adobe */
  text-transform: uppercase;
  letter-spacing: 1px;
}

.main-nav a {
  color: var(--rs-navy);
  margin-left: 24px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.4px;
}

.main-nav a:hover,
.main-nav .active {
  color: var(--rs-red);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--rs-navy);
}

/* ------------------------------
   LANGUAGE SWITCH
--------------------------------*/
.lang {
  font-size: 0.85rem;
  padding: 4px 6px;
  margin-left: 6px;
  text-transform: uppercase;
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.lang:hover,
.lang.active {
  opacity: 1;
  font-weight: 700;
}

/* ------------------------------
   HERO
--------------------------------*/

.hero {
  background: var(--rs-beige-light);
  padding: 80px 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.eyebrow {
  color: var(--rs-red);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 14px;
}

.hero-text h1 {
  font-size: 46px;
  color: var(--rs-navy);
  margin: 10px 0 20px;
  line-height: 1.1;
}

.lead {
  font-size: 20px;
  color: var(--text-medium);
  margin-bottom: 20px;
}

.hero-image-card img {
  border: 6px solid var(--rs-navy);
  border-radius: var(--radius);
}

/* ------------------------------
   SECTIONS
--------------------------------*/

.section {
  padding: 80px 0;
}

.section-light {
  background: var(--rs-white);
}

.section-accent {
  background: var(--rs-navy);
  color: var(--rs-white);
}

.section-header h2,
.section-header h1 {
  font-size: 36px;
  color: var(--rs-navy);
}

.section-header p {
  color: var(--text-medium);
}

/* Event Grid */
.event-card {
  background: var(--rs-white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 0 auto 60px;      /* zentriert */
  max-width: 1000px;        /* maximale Breite (kann angepasst werden) */
}

.event-date {
  color: var(--rs-red);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.event-info h2 {
  margin-top: 0;
  color: var(--rs-navy);
}

.event-image img {
  width: 100%;
  border-radius: var(--radius);
  margin-top: 20px;
  box-shadow: var(--shadow);
}

.event-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.event-gallery img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: var(--radius);
  cursor: zoom-in;
  box-shadow: var(--shadow);
}

.event-flyer {
  width: 100%;
  max-width: 480px;  /* gleiche sichtbare Größe */
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* GRID */
.two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

/* ------------------------------
   INFO / HIGHLIGHT BOX
--------------------------------*/

.highlight-box {
  background: var(--rs-white);
  padding: 28px;
  border-left: 6px solid var(--rs-red);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.highlight-box h3,
.highlight-box h2 {
  color: var(--rs-navy);
  margin-top: 0;
}

/* ------------------------------
   GALLERY
--------------------------------*/

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 40px;
}

.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  cursor: zoom-in;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-grid img:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 32px rgba(0,0,0,0.15);
}

/* ------------------------------
   LIGHTBOX
--------------------------------*/

.lightbox-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.lightbox-backdrop.active {
  display: flex;
}

.lightbox-image {
  max-width: 90%;
  max-height: 90%;
  border-radius: var(--radius);
  box-shadow: 0 0 40px rgba(0,0,0,0.4);
  animation: lightboxFadeIn 0.25s ease;
}

@keyframes lightboxFadeIn {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}

.lightbox-close {
  position: fixed;
  top: 24px;
  right: 30px;
  font-size: 36px;
  color: #fff;
  cursor: pointer;
  z-index: 10001;
}

/* Pfeile */

.lightbox-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  font-size: 60px;
  color: #fff;
  cursor: pointer;
  padding: 10px 18px;
  user-select: none;
  z-index: 10001;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.lightbox-arrow:hover {
  opacity: 1;
}

.lightbox-arrow-left {
  left: 40px;
}

.lightbox-arrow-right {
  right: 40px;
}

/* ------------------------------
   KONTAKT
--------------------------------*/

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.contact-card {
  background: var(--rs-white);
  padding: 30px;
  border-radius: var(--radius);
  border-top: 8px solid var(--rs-red);
  box-shadow: var(--shadow);
}

.contact-card p {
  margin: 6px 0;
  color: var(--text-dark);
}

.contact-card a {
  color: var(--rs-red);
  text-decoration: none;
  font-weight: 600;
}

/* ------------------------------
   BUTTON
--------------------------------*/

.button {
  display: inline-block;
  background: var(--rs-red);
  color: #fff;
  padding: 12px 28px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  margin-top: 20px;
}

.button:hover {
  background: #C7353F;
}

/* ------------------------------
   FOOTER
--------------------------------*/

.site-footer {
  background: var(--rs-navy);
  color: #fff;
  padding: 32px 0;
  margin-top: 60px;
  border-top: 4px solid var(--rs-red);
  text-align: center;
}

.footer-inner p {
  margin: 4px 0;
}

.site-footer a {
  color: var(--rs-red);
  text-decoration: none;
  font-weight: 500;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* ------------------------------
   UTILITIES
--------------------------------*/

.center {
  text-align: center;
}

.mt-l {
  margin-top: 32px;
}

.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: var(--rs-red);
  color: white;
  font-size: 26px;
  width: 54px;
  height: 54px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--shadow);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.3s ease;
}

.back-to-top.show {
  display: flex;
  opacity: 1;
}

.back-to-top:hover {
  background: #C7353F;
}

/* ------------------------------
   MOBILE
--------------------------------*/

@media (max-width: 860px) {
  .hero-inner,
  .two-columns,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-text h1 {
    font-size: 32px;
  }

  .main-nav {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(14,26,43,0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 22px;
  }

  body.nav-open .main-nav {
    display: flex;
  }

  .main-nav a {
    color: #fff;
    font-size: 1.4rem;
    margin-left: 0;
  }

  .menu-toggle {
    display: block;
    position: relative;
    z-index: 10002;
  }

  .site-header {
    z-index: 10003;
  }

  .lightbox-arrow {
    font-size: 44px;
    padding: 8px 12px;
  }

  .lightbox-arrow-left { left: 16px; }
  .lightbox-arrow-right { right: 16px; }
}

body.nav-open {
  overflow: hidden;
}

/* --- Language Switch Compact --- */
.main-nav .lang {
  font-size: 14px;
  font-weight: 600;
  opacity: 0.7;
  margin-left: 10px;     /* Abstand der Sprachen */
}

.main-nav .lang.active {
  color: var(--rs-red);
  opacity: 1;
}

.main-nav .lang:hover {
  opacity: 1;
}

.lang-group {
  display: flex;
  align-items: center;
  gap: 8px;               /* kompakter Abstand */
}

/* Mobile-Menü: Abstand größer für bessere Bedienbarkeit */
@media (max-width: 860px) {
  .lang-group {
    gap: 16px;
  }
  .main-nav .lang {
    font-size: 18px;
    margin-left: 0;
  }
}