@charset "utf-8";

/* ===============================
   BASIS
================================ */

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
}

/* ===============================
   CONTAINER (für Main / Footer)
================================ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

img {
    max-width: 100%;
    height: auto;
}

.content-image {
    max-width: 100%;
}

.content-image img {
    width: 100%;
    height: auto;
}


/* ===============================
   HEADER
================================ */

.site-header {
    background: #e3f2fd;
    padding: 1rem 0;
}

/* gemeinsamer Innenbereich für Logo + Nav */
.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
}

/* Logo / Headerbild */
.header-logo {
    margin-bottom: 1rem;
}

.header-logo img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}



/* ===============================
   SPRACHWAHL
================================ */

.lang-switch {
    position: relative;
}

.lang-current {
    background: none;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
}

/* Untermenü */
.lang-menu {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0.5rem;
    background: #ffffff;
    border: 1px solid #ccc;
    position: absolute;
    right: 0;
    top: 100%;
    z-index: 100;
}

.lang-switch.open .lang-menu {
    display: block;
}

/* Desktop Hover */
@media (min-width: 768px) {
    .lang-switch:hover .lang-menu {
        display: block;
    }
}

.lang-menu li {
    margin: 0;
}

.lang-menu a {
    display: block;
    padding: 0.25rem 0.5rem;
    text-decoration: none;
    color: #000;
}

/* ===============================
   MAIN
================================ */

main {
    background: #e8f5e9;
}

/* ===============================
   INHALT – RÄUMLICHKEITEN
================================ */

.interior-section {
    text-align: center;
    margin: 3rem 0;
}

.interior-row {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.interior-image {
    width: 250px;
    height: auto;
}

/* Mobile */
@media (max-width: 768px) {
    .interior-row {
        flex-direction: column;
        align-items: center;
    }

    .interior-image {
        width: 100%;
        max-width: 320px;
    }
}

/* ===============================
   FOOTER
================================ */

.site-footer {
    background: #f5f5f5;
    padding: 1.5rem 1rem;
    font-size: 0.9rem;
}

.site-footer h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.site-footer a {
    color: #0d47a1;
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

/* Footer Layout */
.footer-inner {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 1.5rem;

    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-col {
    flex: 0 1 33%;
    text-align: center;
}



/* Desktop */
@media (min-width: 768px) {
    .footer-inner {
        flex-direction: row;
        justify-content: space-between;
    }

    .footer-col {
        flex: 1;
    }
}


/* ===============================
   NAVIGATION – RESPONSIVE FINAL
================================ */

/* Mobile & Tablet */
.nav-main {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.nav-main > li {
    flex: 1 1 48%;
    text-align: center;
}

/* Desktop */
@media (min-width: 768px) {
    .nav-main > li {
        flex: 0 0 auto;
    }
}

/* ===============================
   NAVIGATION – CSS GRID (FINAL)
================================ */

/* Mobile */
.nav-main {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 nebeneinander */
    gap: 0.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-main > li {
    text-align: center;
}

/* Desktop */
@media (min-width: 768px) {
    .nav-main {
        grid-template-columns: repeat(auto-fit, minmax(120px, auto));
        justify-content: center;
    }
}

/* Reservierungs-Button: sanfter Puls */
.nav-reservierung img {
    animation: reservierungPulse 3.5s ease-in-out infinite;
}

@keyframes reservierungPulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.65;
    }
    100% {
        opacity: 1;
    }
}

/* --- Café Marlene Anpassungen (basierend auf Adria) --- */

.main-content.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem;
}

.hero {
  text-align: center;
  margin-bottom: 2rem;
}

.hero-sub {
  font-size: 1.2rem;
  font-weight: 600;
}

.hero-intro {
  opacity: 0.9;
}

.center {
  text-align: center;
  margin: 2rem 0;
}

.text-image {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-start;
}

.text-image img {
  max-width: 150px;
}

.text-image .text {
  flex: 1;
}

.guest {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.guest img {
  max-width: 120px;
}

@media (max-width: 600px) {
  .text-image,
  .guest {
    flex-direction: column;
    align-items: center;
    text-align: left;
  }

  .guest img {
    max-width: 180px;
  }
}

/* Slider im Header */

.header-slider {
  width: 100%;
  height: 200px;           /* Header-Höhe anpassen */
  overflow: hidden;
  position: relative;
}

.slider-track {
  display: flex;
  width: max-content;
  animation: scroll 35s linear infinite; /* Geschwindigkeit */
}

.slider-track img {
  display: block;        /* beseitigt Inline-Baseline-Effekte */
  max-height: 100%;
  height: auto;
  width: auto;
  flex-shrink: 0;
}


@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Ende Slider im Header */

/* Page Title */

.page-title {
  text-align: center;       /* bleibt zentriert */
}

.page-title .lang-flag {
  width: 22px;
  height: auto;
  vertical-align: middle;  /* Flagge sitzt hübsch neben dem Text */
  margin-left: 0.5rem;
  opacity: 0.85;
}


/* Page Title Ende */

/* Bilder Gallery */

.gallery-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin: 1.5rem 0 2rem;
}

.gallery-btn {
  display: inline-block;
  padding: 0.5rem 0.9rem;
  border: 1px solid #ccc;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.95rem;
  color: #222;
  background: #fff;
  transition: background 0.2s ease, transform 0.1s ease;
}

.gallery-btn:hover {
  background: #f2f2f2;
  transform: translateY(-1px);
}

.gallery-section {
  margin-bottom: 3rem;
}

.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.gallery-grid a {
  flex: 0 1 160px;
}

.gallery-grid img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

/* Mini-Fix für mobile Darstellung der Galerie-Buttons */
.gallery-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 100%;
}

body {
  overflow-x: hidden;
}

/* Fix für neue Galerie-Struktur mit .gallery-item */
.gallery-item {
  flex: 0 1 160px;   /* gleiche Breite wie vorher die <a>-Kacheln */
  max-width: 160px;
}

.gallery-item img,
.gallery-item .artist-btn {
  width: 100%;
  box-sizing: border-box;
}

/* Fix: .gallery-item muss direkt als Flex-Item nebeneinander stehen */
.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.gallery-grid > .gallery-item {
  flex: 0 1 160px;
  max-width: 160px;
}


/* Ende Bilder Gallery */

/* Videos */

.video-section {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.video-item {
  max-width: 520px;
  width: 100%;
  text-align: center;
}

.video-item video {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

/* Mobile Feinschliff */
@media (max-width: 600px) {
  .video-item {
    max-width: 100%;
  }
}

/* Video Feinschliff */

.video-item {
  display: block;          /* wichtig: kein Flex für das Article */
  text-align: center;
}

.video-item video {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.video-back {
  margin-top: 0.5rem;
}

/* Kontakt Formular */

/* Container */
.kontakt-formular {
    max-width: 560px;
    margin: 2rem auto;
    padding: 2rem;
    background: #1b1b1b;              /* dunkler Hintergrund */
    border-radius: 12px;
    border: 1px solid #444;        /* dezenter Rahmen */
}

/* Labels */
.kontakt-formular label {
    display: block;
    margin-top: 1rem;
    color: #eaeaea;                  /* helles Grau/Weiß */
    font-weight: 500;
}

/* Inputs & Textarea */
.kontakt-formular input,
.kontakt-formular textarea {
    width: 100%;
    padding: 12px;
    margin-top: 6px;
    border-radius: 6px;
    border: 1px solid #555555;       /* hellerer Rand */
    background: #333333;              /* leicht heller als Container */
    color: #ffffff;                  /* Textfarbe */
}

.kontakt-formular input::placeholder,
.kontakt-formular textarea::placeholder {
    color: #9a9a9a;
}

/* Fokus-Zustand (wichtig für UX) */
.kontakt-formular input:focus,
.kontakt-formular textarea:focus {
    outline: none;
    border-color: #e63946;           /* Akzentfarbe */
    box-shadow: 0 0 0 2px rgba(230,57,70,0.25);
}

/* Button */
.kontakt-formular button {
    margin-top: 1.5rem;
    padding: 12px 16px;
    border-radius: 8px;
    border: none;
    background: #e63946;             /* Akzent (rot/warm) */
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

.kontakt-formular button:hover {
    opacity: 0.9;
}

/* Meldungen */
.kontakt-formular .success {
    background: #2a9d8f;
    color: #0b2f2a;
    padding: 10px 12px;
    border-radius: 6px;
    margin-bottom: 12px;
}

.kontakt-formular .error {
    background: #e63946;
    color: #fff;
    padding: 10px 12px;
    border-radius: 6px;
    margin-bottom: 12px;
}

.kontakt-formular .form-note {
    margin-top: 0.75rem;
    font-size: 0.8rem;
    color: #9a9a9a;
    text-align: center;
}

/* Stargäste, oben im Index */

.event-highlight {
    display: flex;
    gap: 20px;
    align-items: center;
    margin: 30px 0;
    flex-wrap: wrap;
}

.event-image img {
    width: 300px;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.event-text {
    flex: 1;
    min-width: 250px;
}

.event-text h2 {
    margin-top: 0;
}