/* =========================================================
  Imtrend — style-fall.css (cleaned + section-ordered)
   Matches: index.php + public.php + shared header/footer
   ========================================================= */

/* =========================
   1) Design tokens
   ========================= */
:root{
  --bg: #f8f2ec;
  --bg-alt: #ffffff;
  --text: #2b2521;
  --muted: #7a685b;

  --accent: #c9775c;
  --accent-light: #f2d3c2;

  --radius: 16px;
  --shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.04);

  --max-width: 1120px;

  --header-bg: rgba(248, 242, 236, 0.94);
  --header-bg-scrolled: rgba(248, 242, 236, 0.98);

  --footer-bg: #2b2521;
  --footer-text: rgba(255, 255, 255, 0.9);
  --footer-muted: rgba(255, 255, 255, 0.7);
  --footer-accent-bg: rgba(255, 255, 255, 0.12);
}

/* =========================
   2) Base / reset
   ========================= */
*,
*::before,
*::after{
  box-sizing: border-box;
}

html{
  scroll-behavior: smooth;
}

body{
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a{
  color: inherit;
  text-decoration: none;
}

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

button,
input,
textarea{
  font: inherit;
}

/* Accessible focus */
:focus-visible{
  outline: 2px solid rgba(201, 119, 92, 0.55);
  outline-offset: 2px;
}

/* =========================
   3) Layout helpers
   ========================= */
.page{
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container{
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.margin-top{
  margin-top: 1.4rem;
}

/* =========================
   3.1) Cookie consent
   ========================= */
.cookie-consent{
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.9);
  color: #fff;
  padding: 1.5rem;
  z-index: 10000;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
}

.cookie-consent-inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 14px;
  line-height: 1.4;
}

.cookie-consent-inner a{
  color: #4da6ff;
  text-decoration: none;
  font-weight: 500;
}

.cookie-consent-actions{
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cookie-btn{
  border-radius: 6px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  min-width: 110px;
  border: 1px solid transparent;
}

.cookie-accept{
  background: #28a745;
  color: #fff;
  box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}

.cookie-manage,
.cookie-reject{
  background: transparent;
  color: #fff;
  border-color: #fff;
}

/* =========================
   4) Header / Navigation
   ========================= */
header{
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: var(--header-bg);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.18s ease-out, background 0.18s ease-out;
}

header.scrolled{
  background: var(--header-bg-scrolled);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  gap: 1rem;
}

.logo-wrap{
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-link{
  display: flex;
  align-items: center;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.logo-link img{
  width: 160px;
  height: 60px;
  object-fit: contain;
}

.logo-link:hover{
  opacity: 0.88;
  transform: translateY(-1px);
}

nav{
  display: flex;
  align-items: center;
  gap: 1.4rem;
  font-size: 0.9rem;
}

nav a{
  position: relative;
  padding-bottom: 0.2rem;
}

nav a::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.18s ease-out;
}

nav a:hover::after{
  width: 100%;
}

.header-cta{
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
}

/* Header right group + hamburger */
.header-inner{ position: relative; } /* so dropdown can be positioned */
.header-right{
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-toggle{
  display: none;             /* desktop hidden */
  width: 44px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.10);
  background: rgba(255,255,255,0.9);
  cursor: pointer;
}

.nav-toggle-bars{
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
  position: relative;
  border-radius: 2px;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after{
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}
.nav-toggle-bars::before{ top: -6px; }
.nav-toggle-bars::after{ top: 6px; }

/* Mobile + tablets (keep buttons right of logo, nav becomes dropdown) */
@media (max-width: 1024px){
  .nav-toggle{ display: inline-flex; align-items:center; justify-content:center; }

  /* Keep one top row (logo left, buttons + burger right) */
  .header-inner{
    flex-wrap: nowrap;
    gap: 0.7rem;
  }

  /* Hide normal nav bar */
  .site-nav{
    display: none;
  }

  /* Make buttons fit better on smaller widths */
  .header-cta .btn-primary,
  .header-cta .btn-ghost{
    padding: 0.38rem 0.85rem;
    font-size: 0.78rem;
  }

  /* Dropdown when open */
  header.nav-open .site-nav{
    display: flex;
    flex-direction: column;
    gap: 0.2rem;

    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 3rem);
    max-width: 400px;
    top: calc(100% + 0.6rem);

    background: rgba(248, 242, 236, 0.98);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 16px;
    padding: 0.6rem;
    box-shadow: 0 18px 45px rgba(0,0,0,0.10);
  }

  header.nav-open .site-nav a{
    padding: 0.65rem 0.75rem;
    border-radius: 12px;
  }

  header.nav-open .site-nav a:hover{
    background: rgba(255,255,255,0.8);
  }
}


/* Buttons */
.btn-primary{
  border: none;
  border-radius: 999px;
  padding: 0.45rem 1.2rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.85rem;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(201, 119, 92, 0.4);
  transition: transform 0.14s ease-out, box-shadow 0.14s ease-out, background 0.15s ease-out;
}

.btn-primary:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(201, 119, 92, 0.45);
  background: #b56650;
}

.btn-ghost{
  border-radius: 999px;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  font-size: 0.8rem;
  transition: transform 0.14s ease-out, box-shadow 0.14s ease-out, background 0.14s ease-out, border-color 0.14s ease-out;
}

.btn-ghost:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.12);
}

/* =========================
   5) Hero
   ========================= */
.hero{
  padding: 2.8rem 0 2.4rem;
}

@media (max-width: 768px){
  .hero{
    padding-top: 1.6rem;
    padding-bottom: 1.6rem;
  }

  .hero-grid{
    grid-template-columns: 1fr;
    gap: 0.6rem; /* reduce vertical space between text + image */
  }

  .hero-actions{
    margin-bottom: 0.4rem; /* reduce extra space below the buttons */
  }

  .hero-photo-wrap{
    padding: 0;   /* remove the wrapper padding around the photo */
    margin-top: 0;
  }
}

.hero-grid{
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 2.4rem;
  align-items: center;
}

.eyebrow{
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.hero-title{
  font-family: "Playfair Display", serif;
  font-size: clamp(2.4rem, 3vw, 3.1rem);
  line-height: 1.1;
  margin: 0 0 0.9rem;
}

.hero-title span{
  color: var(--accent);
}

.hero-text{
  font-size: 0.98rem;
  color: var(--muted);
  max-width: 30rem;
  margin: 0 0 1.4rem;
}

.hero-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  margin-bottom: 1.2rem;
}

.hero-note{
  font-size: 0.8rem;
  color: var(--muted);
}

.hero-photo-wrap{
  position: relative;
  padding: 0;
}

.hero-photo-main{
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.24);
}

.hero-photo-tag{
  position: absolute;
  left: 10%;
  bottom: 12%;
  background: rgba(248, 242, 236, 0.96);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  bottom: -6px;


}


.tag-dot{
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

/* =========================
   6) Shared section styling
   ========================= */
section{
  padding: 2rem 0;
}

section[id]{
  scroll-margin-top: 110px;
}

.section-header{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-title{
  font-size: 1.8rem;
  font-weight: 600;
  margin: 0;
  font-family: "Playfair Display", serif;
  letter-spacing: -0.01em;
}

.section-sub{
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0.5rem 0 0;
  line-height: 1.6;
  max-width: 650px;
}

/* =========================
   7) Info strip
   ========================= */
.info-strip{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.info-item{
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 1.2rem 1rem;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.5;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.info-item:hover{
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.info-dot{
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 0.4rem;
}

/* =========================
   8) About section
   ========================= */
.about-grid{
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 1.6rem;
}

.about-text-card{
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  font-size: 0.98rem;
  color: var(--text);
  line-height: 1.7;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.about-text-card p{
  margin: 0;
}

.about-text-card p:not(:last-child){
  margin-bottom: 0.8rem;
}

.about-owner-card{
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 1.3rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  display: grid;
  grid-template-columns: 75px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.owner-photo-wrap{
  width: 75px;
  height: 75px;
  border-radius: 50%;
  overflow: hidden;
  background: #f0e0d2;
  border: 2px solid rgba(201, 119, 92, 0.2);
}

.owner-photo-wrap img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.owner-text{
  font-size: 0.85rem;
  color: var(--muted);
}

.owner-name{
  font-weight: 600;
  margin-bottom: 0.2rem;
  color: var(--text);
}

/* =========================
   9) Sortiment — category pills
   ========================= */
.category-toggle{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.9rem 1.5rem;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  font-size: 0.95rem;
  color: var(--text);
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  margin-bottom: 1rem;
  font-family: inherit;
}

.category-toggle:hover{
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-color: rgba(201, 119, 92, 0.15);
}

.category-toggle .toggle-icon{
  transition: transform 0.3s ease;
  font-size: 0.8rem;
}

.category-toggle.active .toggle-icon{
  transform: rotate(180deg);
}

.category-row{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.3s ease, max-height 0.3s ease;
}

.category-row.show{
  opacity: 1;
  max-height: 1000px;
}

.category-pill{
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.2rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 0.95rem;
  color: var(--text);
  cursor: default;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.category-pill span.icon{
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.category-pill:hover{
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-color: rgba(201, 119, 92, 0.15);
}

/* =========================
   10) Cards (product / highlight)
   ========================= */
.card-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.product-card{
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.product-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.product-image-wrap{
  border-radius: 12px;
  overflow: hidden;
  background: #f1e3d8;
  aspect-ratio: 4 / 3;
}

.product-image-wrap img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.product-meta{
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}

.product-name{
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}

.product-bottom{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.2rem;
}

/* Angebot small tweak */
#angebot .product-name{
  text-align: center;
}

/* =========================
   11) Eindrücke — gallery grid (homepage)
   ========================= */
.gallery-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
}

.gallery-item{
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out;
}

.gallery-item:hover{
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.10);
}

/* =========================
   12) Kontakt — note + form
   ========================= */
.contact-note{
  margin-top: 1.2rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.contact-form-wrap{
  margin-top: 1.6rem;
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow-soft);
}

.contact-form-title{
  margin: 0 0 0.4rem;
  font-size: 1rem;
  font-weight: 600;
}

.contact-form-text{
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.contact-form{
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  position: relative;
}

.contact-honeypot{
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-row{
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 0;
}

.form-field{
  flex: 1 1 180px;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.8rem;
  margin-bottom: 12px;
}

.form-field label{
  color: var(--muted);
}

.form-field input,
.form-field textarea{
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  padding: 0.5rem 0.7rem;
  background: #fdf8f4;
  margin: 0;
}

.form-field input:focus,
.form-field textarea:focus{
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(201, 119, 92, 0.25);
  background: #fff;
}

.form-field textarea{
  width: 100%;
  min-height: 200px;
  resize: vertical;
  display: block;
}

/* =========================
   13) Footer
   ========================= */
footer{
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 4rem 0 2rem;
  margin-top: auto;
}

.footer-inner{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-section{
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-section h3{
  font-size: 1rem;
  font-weight: 600;
  color: var(--footer-text);
  margin: 0 0 0.5rem 0;
  letter-spacing: 0.02em;
}

.footer-section a{
  font-size: 0.9rem;
  color: var(--footer-muted);
  transition: color 0.25s ease, transform 0.2s ease;
  display: inline-block;
}

.footer-section a:hover{
  color: var(--footer-text);
  transform: translateX(2px);
}

.footer-hours{
  font-size: 0.9rem;
  margin: 0;
  color: var(--footer-muted);
  line-height: 1.7;
}

.footer-bottom{
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--footer-muted);
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-bottom p{
  margin: 0;
}

.footer-admin-link{
  color: inherit;
  text-decoration: none;
  cursor: default;
}

.footer-admin-link:hover,
.footer-admin-link:focus-visible{
  color: inherit;
  text-decoration: none;
}

.social-links{
  display: flex;
  gap: 1rem;
}

.social-link{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--footer-accent-bg);
  color: var(--footer-text);
  transition: all 0.25s ease;
}

.social-link:hover{
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.social-link svg{
  width: 20px;
  height: 20px;
}

/* =========================
   14) Animations
   ========================= */
.fade-in{
  opacity: 1;
  transform: none;
}

.js .fade-in{
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.js .fade-in.visible{
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  .fade-in{ transition: none; transform: none; opacity: 1; }
}

/* =========================
   15) Responsive
   ========================= */
@media (max-width: 1024px){
  .card-grid{
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner{
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 2rem;
  }

  .info-strip{
    grid-template-columns: 1fr;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
  }

  .info-item{
    padding: 1rem;
    font-size: 0.85rem;
  }

  .category-row{
    grid-template-columns: 1fr;
  }

  .category-pill{
    padding: 0.9rem 1rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 768px){
  .header-inner{
    flex-wrap: wrap;
    gap: 0.8rem;
  }

  nav{
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  section{
    padding: 2rem 0 2.5rem;
  }

  .hero{
    padding-top: 2rem;
  }

  section[id]{
    scroll-margin-top: 90px;
  }

  .hero-grid{
    grid-template-columns: 1fr;
  }

  .hero-photo-tag{
    bottom: -6px;
  }

  .section-header{
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 1.5rem;
  }

  .section-title{
    font-size: 1.5rem;
  }

  .about-grid{
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .card-grid{
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .info-strip{
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-top: 2rem;
  }

  .info-item{
    padding: 1rem 0.9rem;
    font-size: 0.88rem;
  }

  .category-toggle{
    padding: 0.8rem 1.2rem;
    font-size: 0.9rem;
  }

  .category-row{
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .category-pill{
    padding: 0.85rem 1rem;
    font-size: 0.88rem;
  }

  .logo-link img{
    width: 200px;
    height: 62px;
  }

  footer{
    padding: 3rem 0 1.5rem;
  }

  .footer-inner{
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.2rem;
  }

  .footer-section{
    gap: 0.7rem;
  }

  .footer-bottom{
    flex-direction: column;
    text-align: center;
    gap: 1.2rem;
  }
}

/* =========================
   16) Gallery page (public.php) — large grid
   ========================= */
.gallery-grid-large{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  margin: 2rem 0;
}

.gallery-item-large{
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out;
  cursor: pointer;
}

.gallery-item-large:hover{
  transform: scale(1.02);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}

.gallery-item-large img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-label{
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--accent);
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

@media (max-width: 1024px){
  .gallery-grid-large{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px){
  .gallery-grid-large{
    grid-template-columns: 1fr;
  }
}

/* =========================ADD-ONS========================= */
/* --- Mobile + Tablet header override (wins because it's at the end) --- */
@media (max-width: 1024px){
  .header-right{ margin-left: auto; } /* push buttons + burger to the far right */
}

@media (max-width: 768px){
  /* stop the old “wrap + nav row” behavior */
  .header-inner{
    flex-wrap: nowrap !important;
  }

  /* your new nav is .site-nav; keep it hidden unless header.nav-open */
  .site-nav{
    display: none;
  }

  /* make sure the right side never drops below the logo */
  .header-right{
    margin-left: auto;
    flex: 0 0 auto;
  }

  /* give yourself more space: the old CSS makes the logo 200px wide */
  .logo-link img{
    width: 140px;
    height: 48px;
  }

  /* make buttons compact so they fit on one line */
  .header-cta{
    gap: 0.35rem;
    flex-wrap: nowrap;
  }

  .header-cta .btn-ghost,
  .header-cta .btn-primary{
    padding: 0.34rem 0.6rem;
    font-size: 0.72rem;
    white-space: nowrap;
  }

  /* hamburger should stay visible */
  .nav-toggle{
    flex: 0 0 auto;
  }
}

/* --- Button change on mobile and tablet in the nav bar --- */

/* Make <a> look like your button pills too */
a.btn-ghost, a.btn-primary{
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Gallery CTA */
.cta-gallery{
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: none;
  border-radius: 999px;
  padding: 0.42rem 1.1rem;
  background: linear-gradient(120deg, var(--accent), #d88d5f);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 12px 24px rgba(201, 119, 92, 0.35);
  text-decoration: none;
  transition: transform 0.14s ease-out, box-shadow 0.14s ease-out;
}

.cta-gallery:hover{
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(201, 119, 92, 0.45);
}

.cta-gallery-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.cta-gallery-icon svg{
  width: 14px;
  height: 14px;
}

/* Mobile + tablet: hide Öffnungszeiten to keep layout clean */
@media (max-width: 1024px){
  .cta-hours{ display: none !important; }
  .cta-gallery{ display: inline-flex !important; }
}


/* =========================================
  Imtrend contact form – compact + site-match
   Paste at END of style.css to override
   ========================================= */

:root{
  /* Adjust these 3 to match your brand perfectly */
  --imtrend-bg: var(--bg);
  --imtrend-ink: var(--text);
  --imtrend-accent: var(--accent);

  --imtrend-card: #ffffff;
  --imtrend-border: #e7ded3;
  --imtrend-muted: var(--muted);
  --imtrend-shadow: 0 10px 30px rgba(0,0,0,.08);
}

/* Section: remove strong gradient + reduce height */
.contact-section{
  padding: 32px 0;
  background: transparent;
}

/* If your page background is white but you want beige behind the card,
   uncomment next line:
   .contact-section{ background: var(--imtrend-bg); }
*/

.contact-container{
  max-width: 840px;
  margin: 0 auto;
  background: var(--imtrend-card);
  padding: 22px 22px;
  border-radius: 14px;
  border: 1px solid var(--imtrend-border);
  box-shadow: var(--imtrend-shadow);
}

/* Headings: smaller + calmer */
.contact-title{
  font-size: 1.55rem;
  line-height: 1.2;
  color: var(--imtrend-ink);
  margin: 0 0 8px;
  letter-spacing: .2px;
}

.contact-subtitle{
  margin: 0 0 18px;
  color: var(--imtrend-muted);
  font-size: 0.95rem;
}

/* Messages: less “loud” */
.contact-message{
  border-radius: 12px;
  padding: 12px 14px;
  font-size: .95rem;
  border: 1px solid var(--imtrend-border);
  margin: 0 0 16px;
}

.contact-success{
  background: #eef7f1;
  color: #1f4d2f;
  border-color: #cfe8d7;
}

.contact-error{
  background: #fbefef;
  color: #6b1f1f;
  border-color: #f0caca;
}

/* Layout: more compact */
.form-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 10px;
}

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

.form-group label{
  font-weight: 600;
  color: var(--imtrend-ink);
  margin-bottom: 6px;
  font-size: .92rem;
}

.required{
  color: var(--imtrend-accent);
}

/* Inputs: warm borders, subtle focus */
.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea{
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--imtrend-border);
  background: #fff;
  border-radius: 12px;
  font-size: 1rem;
  color: var(--imtrend-ink);
  transition: box-shadow .2s ease, border-color .2s ease, transform .05s ease;
}

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

.form-group input:focus,
.form-group textarea:focus{
  outline: none;
  border-color: color-mix(in srgb, var(--imtrend-accent) 55%, white);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--imtrend-accent) 18%, transparent);
}

/* Character counter: smaller */
.char-counter{
  margin-top: 4px;
  font-size: .78rem;
  color: var(--imtrend-muted);
}

/* Checkbox: align nicely */
.form-checkbox{
  margin: 16px 0 8px;
}

.checkbox-text{
  color: var(--imtrend-muted);
  font-size: .92rem;
}

.checkbox-text a{
  color: var(--imtrend-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Button: match site accent, smaller */
.form-actions{
  margin-top: 12px;
  text-align: left; /* feels more “site-like” than centered, change if you prefer */
}

.btn-submit{
  background: var(--imtrend-accent);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.btn-submit:hover:not(:disabled){
  filter: brightness(.98);
  transform: translateY(-1px);
}

.btn-submit:active:not(:disabled){
  transform: translateY(0);
}

.btn-submit:disabled{
  opacity: .7;
  cursor: not-allowed;
}

/* Note: calmer + tighter */
.form-note{
  margin-top: 10px;
  text-align: left;
  color: var(--imtrend-muted);
  font-size: .78rem;
}

/* Mobile */
@media (max-width: 768px){
  .contact-section{ padding: 24px 16px; }
  .contact-container{ padding: 18px 16px; }
  .form-row{ grid-template-columns: 1fr; gap: 10px; }
  .form-actions{ text-align: stretch; }
  .btn-submit{ width: 100%; }
}
