/* ============================================
   IRIS Festival – Components
   ============================================ */

/* ===== DIVIDER - Ornamental Image ===== */
/* Divider kleiner und ohne Hintergrundfarbe */
.divider-wrapper {
  width: 100%;
  padding: 2rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(26, 0, 31, 0.4);
  /* Added matching background to prevent harsh edge with sections below */
  backdrop-filter: blur(8px);
  position: relative;
  overflow: visible;
}

.section-divider-img {
  display: block;
  width: 100%;
  max-width: 800px;
  height: auto;
  opacity: 0.85;
  background: none;
  background-color: transparent;
  margin-right: 2vw;  
}

/* ===== DIVIDER UNDERLINE - Under IRIS Title ===== */
.brand__divider {
  display: block;
  width: 100%;
  max-width: 600px;
  height: auto;
  margin: 1.5rem auto 0;
  opacity: 0.7;
}

/* ===== SECTIONS ===== */
.section {
  padding: 1.9rem 0;
  scroll-margin-top: 110px;
}

.section--glass {
  background: rgba(26, 0, 31, 0.4);
  backdrop-filter: blur(8px);
}

.section__head {
  text-align: center;
  margin-bottom: 3rem;
}

.section__head::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  margin: 1rem auto 0;
  background: var(--c-gold);
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.28);
}

.section__head h2 {
  font-family: "Cinzel", serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--c-gold) 0%, var(--c-gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.section__head p {
  font-family: "Inter", sans-serif;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ===== DJ HEADLINER SECTION ===== */
.dj-headliner-section {
  display: flex;
  justify-content: center;
  margin-bottom: 4rem;
}

.dj-headliner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.dj-headliner:hover {
  transform: scale(1.02);
}

.dj-headliner__portrait-wrap {
  position: relative;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  margin-bottom: 1.5rem;
}

.dj-headliner__portrait {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--c-gold);
  box-shadow: 0 0 40px rgba(212, 175, 55, 0.4), 0 0 80px rgba(212, 175, 55, 0.2);
  transition: all 0.5s ease;
}

.dj-headliner:hover .dj-headliner__portrait {
  box-shadow: 0 0 60px rgba(212, 175, 55, 0.6), 0 0 120px rgba(212, 175, 55, 0.3);
}

.dj-headliner__glow {
  position: absolute;
  inset: -15px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.3) 0%, transparent 70%);
  animation: headlinerPulse 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes headlinerPulse {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

.dj-headliner__logo {
  max-width: 280px;
  max-height: 80px;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.5));
}

.dj-headliner__name {
  font-family: "Cinzel", serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--c-gold);
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

/* ===== DJ GRID ===== */
.dj-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(129px, 1fr));
  gap: 2.5rem;
  max-width: 900px;
  margin: 0 auto;
  justify-items: center;
}

.dj-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.dj-card:hover {
  transform: translateY(-8px);
}

.dj-card__portrait-wrap {
  position: relative;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.dj-card__portrait {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(212, 175, 55, 0.6);
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.25);
  transition: all 0.4s ease;
}

.dj-card:hover .dj-card__portrait {
  border-color: var(--c-gold);
  box-shadow: 0 0 40px rgba(212, 175, 55, 0.5);
}

.dj-card__portrait-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(45, 0, 54, 0.8), rgba(30, 5, 40, 0.9));
  border: 2px solid rgba(212, 175, 55, 0.4);
}

.dj-card__glow {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.dj-card:hover .dj-card__glow {
  opacity: 1;
}

.dj-card__name {
  font-family: "Cinzel", serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  transition: color 0.3s ease;
}

.dj-card:hover .dj-card__name {
  color: var(--c-gold);
}

/* Add link styling for DJ card links */
.dj-card a,
.dj-headliner a {
  color: var(--c-gold);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-base);
}

.dj-card a:hover,
.dj-headliner a:hover {
  color: var(--c-gold-light);
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

/* ===== BUTTONS ===== */
.actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  font-family: "Cinzel", serif;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  cursor: pointer;
}

.btn--primary {
  background: linear-gradient(135deg, var(--c-gold), var(--c-gold-light));
  color: #1a001f;
  border: 2px solid var(--c-gold);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.45);
}

.btn--glow {
  box-shadow: 0 10px 32px rgba(212, 175, 55, 0.35);
}

.btn--ghost {
  background: rgba(0, 0, 0, 0.18);
  color: rgba(255, 255, 255, 0.92);
  border: 2px solid rgba(212, 175, 55, 0.55);
}

.btn--ghost:hover {
  background: rgba(212, 175, 55, 0.12);
  transform: translateY(-1px);
}

.btn[hidden] {
  display: none !important;
}


.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.6);
}

/* ===== TICKET EMBED ===== */
/* Vergrössert und mit Link-Button --> */
.ticket-embed-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.ticket-embed {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 500px;
}

.ticket-embed iframe {
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.2);
  width: 100%;
  height: auto !important;
}

.ticket-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  font-family: "Cinzel", serif;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: linear-gradient(135deg, var(--c-gold), var(--c-gold-light));
  color: #1a001f;
  border: 2px solid var(--c-gold);
  border-radius: var(--radius-md);
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
  transition: all var(--transition-base);
}

.ticket-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.6);
}

/* ===== HINT CARDS ===== */
.hints-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.hint-card {
  background: linear-gradient(135deg, rgba(30, 5, 40, 0.9), rgba(45, 0, 54, 0.8));
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
}

.hint-card::before,
.hint-card::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border: 1px solid var(--c-gold);
  opacity: 0.4;
}

.hint-card::before {
  top: 8px;
  left: 8px;
  border-right: none;
  border-bottom: none;
  border-top-left-radius: 4px;
}

.hint-card::after {
  bottom: 8px;
  right: 8px;
  border-left: none;
  border-top: none;
  border-bottom-right-radius: 4px;
}

.hint-card__content {
  position: relative;
  z-index: 2;
}

.hint-card__title {
  font-family: "Cinzel", serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--c-gold);
  margin-bottom: 1rem;
}

.hint-card__text {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
}

.hint-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hint-card__list li {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.6;
}

.hint-card__list li::before {
  content: "◆";
  position: absolute;
  left: 0;
  color: var(--c-gold);
  font-size: 0.5rem;
  top: 0.45rem;
}

/* Added styling for links in hint card lists */
.hint-card__list li a {
  color: var(--c-gold);
  text-decoration: none;
  font-weight: 600;
  transition: all var(--transition-base);
  cursor: pointer;
  border-bottom: 1px solid rgba(212, 175, 55, 0.5);
}

.hint-card__list li a:hover {
  color: var(--c-gold-light);
  border-bottom-color: var(--c-gold-light);
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

/* ===== ANFAHRT CARDS ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: linear-gradient(135deg, rgba(30, 5, 40, 0.9), rgba(45, 0, 54, 0.8));
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition-base);
}

.card:hover {
  border-color: var(--c-gold);
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.2);
}

.card h3 {
  font-family: "Cinzel", serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--c-gold);
  margin-bottom: 0.75rem;
}

.card p {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

/* Add link styling for Anfahrt/Cards section links */
.card a {
  color: var(--c-gold);
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  border-bottom: 1px solid rgba(212, 175, 55, 0.5);
}

.card a:hover {
  color: var(--c-gold-light);
  border-bottom-color: var(--c-gold-light);
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

/* ===== KONTAKT ===== */
.kontakt-simple {
  text-align: center;
  padding: 2rem;
}

.kontakt-simple__email {
  font-family: "Cinzel", serif;
  font-size: 1.5rem;
  color: var(--c-gold);
  text-decoration: none;
  padding: 1rem 2rem;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: var(--radius-md);
  display: inline-block;
  white-space: nowrap;
  transition: all var(--transition-base);
}

.kontakt-simple__email:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: var(--c-gold);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

/* ===== MITHILFE ===== */
.mithilfe-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(30, 5, 40, 0.6), rgba(45, 0, 54, 0.5));
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-lg);
  position: relative;
}

.mithilfe-content::before,
.mithilfe-content::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 30px;
  border: 1px solid var(--c-gold);
  opacity: 0.4;
}

.mithilfe-content::before {
  top: 12px;
  left: 12px;
  border-right: none;
  border-bottom: none;
  border-top-left-radius: 4px;
}

.mithilfe-content::after {
  bottom: 12px;
  right: 12px;
  border-left: none;
  border-top: none;
  border-bottom-right-radius: 4px;
}

.mithilfe-text {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.mithilfe-text--thanks {
  color: rgba(255, 255, 255, 0.75);
  font-style: italic;
  margin-bottom: 2rem;
}

.mithilfe-btn {
  margin-top: 1rem;
}

/* ===== ÜBER UNS ===== */
.about {
  display: block;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(30, 5, 40, 0.6), rgba(45, 0, 54, 0.5));
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-lg);
}

/* Float-Clearfix, damit die Box ihre Höhe korrekt behält */
.about::after {
  content: "";
  display: block;
  clear: both;
}

.about__img {
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(212, 175, 55, 0.25);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.25);
}

.about__text {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.8;
  width: 100%;
}

/* Mobile/Tablet: Bild oben, Text darunter */
@media (max-width: 899px) {
  .about__img {
    display: block;
    width: 100%;
    max-width: 520px;
    margin: 0 auto 1rem auto;
    float: none;
  }
}

/* Desktop: Text umfliesst das Bild */
@media (min-width: 900px) {
  .about--has-image .about__img {
    float: left;
    width: min(40%, 320px);
    margin: 0 1.5rem 1rem 0;
  }

  .about--no-image .about__img {
    display: none;
  }
}

/* ===== DANKE / LOGOS ===== */
.section--thanks .section__head {
  margin-bottom: 2.4rem;
}

.thanks-logos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
  max-width: 980px;
  margin: 0 auto;
  align-items: stretch;
}

.thanks-logos__item {
  position: relative;
  display: flex;
  min-width: 0;
}

.thanks-logos__link {
  width: 100%;
  text-decoration: none;
}

.thanks-logos__link:focus-visible {
  outline: none;
}

.thanks-logos__card {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 108px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.022));
  border: 1px solid rgba(212, 175, 55, 0.16);
  border-radius: 24px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
}

.thanks-logos__card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.14), transparent 72%);
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
  z-index: -1;
  filter: blur(10px);
}

.thanks-logos__item:hover .thanks-logos__card,
.thanks-logos__link:focus-visible .thanks-logos__card {
  transform: translateY(-2px);
  border-color: rgba(212, 175, 55, 0.34);
  box-shadow: 0 0 22px rgba(212, 175, 55, 0.12), 0 18px 34px rgba(0, 0, 0, 0.24);
}

.thanks-logos__item:hover .thanks-logos__card::after,
.thanks-logos__link:focus-visible .thanks-logos__card::after {
  opacity: 0.7;
}

.thanks-logos__pad {
  width: min(100%, 246px);
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1rem;
  border-radius: 18px;
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.thanks-logos__card--transparent .thanks-logos__pad {
  background: transparent;
  border: 1px solid transparent;
  box-shadow: none;
}

.thanks-logos__card--white-pad .thanks-logos__pad {
  background: #ffffff;
  border: 1px solid rgba(212, 175, 55, 0.12);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

.thanks-logos__link--static {
  cursor: default;
}

.thanks-logos__img {
  display: block;
  max-width: 100%;
  max-height: 44px;
  width: auto;
  height: auto;
  object-fit: contain;
}

@media (min-width: 900px) {
  .thanks-logos {
    --thanks-gap: 2.45rem;
    gap: var(--thanks-gap);
  }

  .thanks-logos__item:not(:last-child):not(:nth-child(3n))::before {
    content: "";
    position: absolute;
    top: 50%;
    right: calc((var(--thanks-gap) / -2) + 0.02rem);
    width: 0.86rem;
    height: 0.86rem;
    border: 1px solid rgba(212, 175, 55, 0.58);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.16), rgba(212, 175, 55, 0.03));
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.12);
    transform: translate(50%, -50%) rotate(45deg);
    pointer-events: none;
  }

  .thanks-logos__item:not(:last-child):not(:nth-child(3n))::after {
    content: "";
    position: absolute;
    top: 50%;
    right: calc((var(--thanks-gap) / -2) + 0.02rem);
    width: 0.28rem;
    height: 0.28rem;
    border: 1px solid rgba(212, 175, 55, 0.64);
    background: rgba(212, 175, 55, 0.08);
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.1);
    transform: translate(50%, -50%) rotate(45deg);
    pointer-events: none;
  }
}

@media (max-width: 899px) {
  .thanks-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 720px;
    gap: 1.05rem;
  }

  .thanks-logos--odd .thanks-logos__item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-content: center;
  }

  .thanks-logos--odd .thanks-logos__item:last-child:nth-child(odd) .thanks-logos__link {
    width: min(100%, 330px);
  }

  .thanks-logos__card {
    min-height: 102px;
    padding: 0.9rem;
  }

  .thanks-logos__pad {
    width: min(100%, 224px);
    min-height: 60px;
    padding: 0.6rem 0.9rem;
  }

  .thanks-logos__img {
    max-height: 40px;
  }
}

@media (max-width: 559px) {
  .thanks-logos {
    grid-template-columns: 1fr;
    max-width: 340px;
    gap: 0.95rem;
  }

  .thanks-logos__card {
    min-height: 98px;
    padding: 0.85rem;
    border-radius: 22px;
  }

  .thanks-logos__pad {
    width: min(100%, 208px);
    min-height: 58px;
    padding: 0.55rem 0.85rem;
  }

  .thanks-logos__img {
    max-height: 36px;
  }
}

/* ===== FOOTER ===== */
.footer {
  padding: 2rem 0;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  background: rgba(13, 0, 21, 0.8);
}

.footer__copyright {
  text-align: center;
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}


@font-face {
  font-family: "FontAwesome";
  src: url("../webfonts/fontawesome-webfont.woff2?v=4.7.0") format("woff2"),
       url("../webfonts/fontawesome-webfont.woff?v=4.7.0") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

.fa {
  display: inline-block;
  font-family: "FontAwesome";
  font-style: normal;
  font-weight: 400;
  font-variant: normal;
  line-height: 1;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.fa-instagram:before {
  content: "\f16d";
}

.footer__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.footer__sep {
  color: rgba(255, 255, 255, 0.28);
}

.footer__social {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  color: var(--c-gold);
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.22);
  box-shadow: 0 0 0 rgba(212, 175, 55, 0);
  transition: transform var(--transition-base), color var(--transition-base), background var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.footer__social-link:hover,
.footer__social-link:focus-visible {
  color: var(--c-gold-light);
  background: rgba(212, 175, 55, 0.14);
  border-color: rgba(244, 208, 63, 0.42);
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.2);
  transform: translateY(-1px);
}

.footer__social-link:focus-visible {
  outline: 2px solid rgba(244, 208, 63, 0.5);
  outline-offset: 2px;
}

.footer__social-link .fa {
  font-size: 1rem;
}


/* Kontaktformular (sicher + minimal) */
.kontakt-form__form {
  display: grid;
  gap: 1rem;
  max-width: 42rem;
}

.kontakt-form__field {
  display: grid;
  gap: 0.4rem;
}

.kontakt-form__field input,
.kontakt-form__field textarea {
  width: 100%;
}

.kontakt-form__msg {
  max-width: 42rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
}

.kontakt-form__msg--ok { outline: 1px solid rgba(255, 255, 255, 0.25); }
.kontakt-form__msg--err { outline: 1px solid rgba(255, 255, 255, 0.35); }

.kontakt-form__hint {
  margin: 0.2rem 0 0;
  font-size: 0.95rem;
  opacity: 0.85;
}

/* Kontakt CTA (Button im Kontakt-Abschnitt) */
.kontakt-cta {
  display: grid;
  gap: 14px;
  justify-items: center;
}

.kontakt-cta__hint {
  margin: 0;
  opacity: 0.9;
}

/* Kontakt Modal */
.modal__dialog--narrow {
  max-width: 560px;
}

.contact-msg {
  padding: 0.9rem 1rem;
  border-radius: var(--radius-md);
  margin: 0 0 1rem;
  outline: 1px solid rgba(255, 255, 255, 0.25);
}

.contact-msg.is-error {
  outline: 1px solid rgba(255, 255, 255, 0.35);
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form__field {
  display: grid;
  gap: 0.4rem;
}

/* Kontakt-Modal: Eingabefelder etwas höher */
.contact-form__field input,
.contact-form__field textarea {
  padding: 0.9rem 1rem;
  font-size: 1rem;
  line-height: 1.2;
}

.contact-form__field input {
  min-height: 52px;
}

.contact-form__field textarea {
  min-height: 180px;
  resize: vertical;
}

.contact-form__hint {
  margin: 0;
  font-size: 0.95rem;
  opacity: 0.85;
}

/* Honeypot: für Bots sichtbar, für Menschen praktisch unsichtbar */
.hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* CI Toast (für ?notify=email_confirmed) */
.toast-ci{
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(15,15,20,.92);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  backdrop-filter: blur(8px);
  z-index: 9999;
  opacity: 1;
  transition: opacity .35s ease, transform .35s ease;
}
.toast-ci.is-hide{
  opacity: 0;
  transform: translateX(-50%) translateY(8px);
}


/* Images / Gallery section */
.section--gallery .section__head {
  margin-bottom: 2.4rem;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.gallery-card {
  margin: 0;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  box-shadow: 0 16px 34px rgba(0,0,0,.22);
}
.gallery-card__img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.gallery-card__caption {
  padding: .85rem 1rem;
  color: rgba(255,255,255,.78);
  font-size: .95rem;
}
@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-card { border-radius: 18px; }
}

/* Kontaktformular: sichtbarer Wartezustand während der Serveranfrage */
.contact-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
}

.contact-form__spinner {
  display: none;
  width: 1rem;
  height: 1rem;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: contact-spinner-rotate 0.75s linear infinite;
}

.contact-form.is-loading .contact-form__spinner {
  display: inline-block;
}

.contact-form.is-loading .contact-form__submit-label::after {
  content: " …";
}

@keyframes contact-spinner-rotate {
  to { transform: rotate(360deg); }
}

.modal__text{white-space:pre-line}
