@font-face {
  font-display: swap;
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/roboto-v47-latin-regular.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/playfair-display-v37-latin-regular.woff2') format('woff2');
}

:root {
  --gruen-logo: #75a294;
}
html, body {
  height: 100%;
  margin: 0;
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  overflow-x: hidden;
}
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 210px;
  height: 100vh;
  background: url('../img/herbstanemone.jpg') no-repeat center center;
  background-size: cover;
  border-top-right-radius: 40px;
  border-bottom-right-radius: 40px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.sidebar2 {
  position: fixed;
  top: 0;
  left: 0;
  width: 210px;
  height: 100vh;
  background: linear-gradient(135deg, #76a39580, #49675db3);
  background-color: #fff;
  background-size: cover;
  border-top-right-radius: 40px;
  border-bottom-right-radius: 40px;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}
.sidebar-toggle-btn {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 1100; /* Höher als Sidebar */
  background-color: #ffffffcc;
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
}
.sidebar-nav .nav-link {
  color: white;
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
  border-radius: 8px;
  text-decoration: none;
  display: block;
  font-weight: 500;
  background-color: rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s;
}
.sidebar-nav .nav-link:hover {
  background-color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  color: var(--gruen-logo);
  transition: all ease-in-out 0.3s;
}
.sidebar-nav .nav-link.active {
  background-color: var(--gruen-logo);
  color: #ffffff;
  font-weight: bold;
}
.logo-box {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  padding: 15px;
  margin: 30px 0;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: 2px solid #fff;
  outline-offset: 5px;
}
.logo-box img {
  max-width: 100%;
}
.back-btn {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  padding: 15px;
  margin: 50px 40px;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: left;
  justify-content: left;
}
.back-img{
  justify-content: left;
  margin: -0.3em -0.3em;
  width: 50px;
  height: 50px;
  opacity: 40%;
}
.main-content{
  padding: 40px 40px 0 230px;
}
.voucher-main {
  padding: 0 40px 40px 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.preview {
  max-width: 100%;
  text-align: center;
  position: relative;
}
.container-gutschein{
  background: linear-gradient(135deg,#76a39580,#49675db3);
  background-color: #fff;
  padding: 2rem 3em;
  border-radius: 45px;
}
.container-imputfield{
  padding: 2rem 3em;
  border-radius: 45px;
}
.gutschein-img {
  width: 100%;
  height: auto;
  max-width: 500px;
}
.gutschein-text,
.gutschein-betrag {
  position: absolute;
  width: 100%;
  text-align: center;
  font-size: 1.2rem;
  color: #2f4f4f;
  left: 30px;
}
.gutschein-text {
  top: 57%;
  font-family: "Playfair", serif;
  font-size: 1.5rem;
}
.gutschein-betrag {
    top: 72%;
   font-family: "Playfair", serif;
    font-size: 1.6rem;
}
.modal-bestellung{
  font-size: 1rem;
}
.container-lageplan{
  background: url('../img/lageplan-paulas-garden.svg');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  min-height:600px;
  
}
.motiv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 Spalten */
  gap: 2rem;
  max-width: 100%;
}
.betrag-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Zwei Spalten */
  gap: 1rem; /* Abstand zwischen den Optionen */
}
h1 {
  color: var(--gruen-logo);
  font-weight: bold;
  margin-bottom: 40px;
}
.tile-icon{
  width: 150px;
  height: 150px;
  margin-bottom: 10px;
  filter: invert(100);
}
a{
  text-decoration: none;
}
span{
  font-size: 1.2rem;
}
.subhead{
  font-size: 2rem;
  font-weight: bold;
  color: #fff;
  text-align: center;
}
.head-text{
  padding: 50px 50px 0 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.uberschrift{
  font-size: 2.8rem;
  color: var(--gruen-logo);
}
.sububer{
  font-size: 2.2rem;
  color: var(--gruen-logo);
}
.info-text{
  font-size: 1.2rem;
}
.form-text{
  font-size: 2rem;
}
.product-card {
      background: linear-gradient(135deg, #ffffff, #f1f5f3);
      border-radius: 20px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
      padding: 1.5rem;
      transition: transform 0.3s ease;
      height: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
}
.product-card:hover {
      transform: translateY(-5px);
}
.produkt-hinweis{
  font-size: 1rem;
}
.produkt-preis{
  font-size: 2rem;
  color: green;
}
.product-desc{
  font-size: 1rem;
}
.news-card {
      background: linear-gradient(135deg, #ffffff, #f1f5f3);
      border-radius: 20px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
      padding: 1.5rem;
      transition: transform 0.3s ease;
      height: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
}
.news-card:hover {
      transform: translateY(-5px);
}
.form-control-kaufer{
  background-color: rgba(128, 128, 128, 0.418);
  border: none;
  border-radius: 5px;
  padding: 10px;
}
.form-label.betrag,
.form-label{
  font-size: 1.2rem;
  text-align: start;
  padding-bottom: 10px;
}

.form-check-label{
  font-size: 1rem;
  border-radius: 5px;
}
.form-check-input{
  padding: 0;
}

.tile-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  padding: 1rem;
}

.btn-tile {
  width: 320px;
  height: 320px;
  background: linear-gradient(135deg, #76a39580, #49675db3);
  background-color: #fff;
  color: white;
  border: none;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 6px 6px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.btn-tile:hover {
  transform: translateY(-5px);
  box-shadow: 8px 8px 15px rgba(0, 0, 0, 0.25);
}
.btn-tile i {
  font-size: 2rem;
  margin-bottom: 10px;
}
.btn.btn-motiv {
  background-color: #ffffffad;
  color: var(--gruen-logo);
  font-size: 0.92rem;
  border: none;
  padding: 0.45rem 0.85rem;
  border-radius: 12px;
  transition: background-color 0.2s ease;
}
.btn.btn-motiv:hover,
.btn.btn-motiv.active {
  background-color: #c9c9c9;
}
.btn.btn-kauf{
  background: linear-gradient(135deg,#76a39580,#49675db3);
  background-color: #fff;
  color: #fff;
  font-size: 1.1rem;
  border: none;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  transition: background-color 0.5s ease;
}
.bi {
  display: inline-block;
  font-style: normal;
  line-height: 1;
}
.bi-list::before {
  content: "☰";
  font-weight: 700;
}
.bi-cart-check-fill::before {
  content: "✓";
  font-weight: 700;
}
.btn.btn-event{
  background: linear-gradient(135deg,#76a39580,#49675db3);
  background-color: #fff;
  color: #fff;
  font-size: 1.1rem;
  border: none;
  padding: 0.45rem 0.65rem;
  border-radius: 12px;
  transition: background-color 0.5s ease;
}
.img-cont{
  width: 550px;
  height: 550px;
  background-image: url('../img/Trockenblumen_1.jpg');
  background-size: cover;
  border-radius: 45px;
}
.img-cont2{
  width: 550px;
  height: 550px;
  background-image: url('../img/Herbstpflanzen_1.jpg');
  background-size: cover;
  border-radius: 45px;
}
.img-cont3{
  width: 550px;
  height: 550px;
  background-image: url('../img/Kranzbinden.jpg');
  background-size: cover;
  border-radius: 45px;
}
.img-cont4{
  width: 550px;
  height: 550px;
  background-image: url('../img/Herbstanemone_2.jpg');
  background-size: cover;
  border-radius: 45px;
}
.img-produkt-1{
  width: 350px;
  height: 350px;
  background-image: url('../img/Herbstastern.jpg');
  background-size: cover;
  border-radius: 45px;
}
.img-produkt-2{
  width: 350px;
  height: 350px;
  background-image: url('../img/Chrysantheme.jpg');
  background-size: cover;
  border-radius: 45px;
}
.img-produkt-3{
  width: 350px;
  height: 350px;
  background-image: url('../img/Herbstanemone_2.jpg');
  background-size: cover;
  border-radius: 45px;
}
.img-produkt-4{
  width: 350px;
  height: 350px;
  background-image: url('../img/Winterheide.jpg');
  background-size: cover;
  border-radius: 45px;
}
.img-produkt-5{
  width: 350px;
  height: 350px;
  background-image: url('../img/Ringelblume.jpg');
  background-size: cover;
  border-radius: 45px;
}
.img-produkt-6{
  width: 350px;
  height: 350px;
  background-image: url('../img/Alpenveilchen.jpg');
  background-size: cover;
  border-radius: 45px;
}
.img-news-1{
  width: 450px;
  height: 450px;
  background-image: url('../img/sommergarten.jpg');
  background-size: cover;
  border-radius: 45px;
}
.img-news-2{
  width: 450px;
  height: 450px;
  background-image: url('../img/Kranzbinden.jpg');
  background-size: cover;
  border-radius: 45px;
}
.is-invalid {
  border: 2px solid red !important;
  background-color: #ffe5e5;
}
.footer-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  padding: 40px 40px 40px 230px;
}
.footer-buttons .btn {
  background: linear-gradient(135deg,#76a39580,#49675db3);
  background-color: #fff;
  color: white;
  border-radius: 20px;
  padding: 5px 20px;
}

.footer-text {
  text-align: center;
  font-size: 0.8rem;
  color: #999;
  margin-top: 10px;
}


@media (min-width: 1200px) {
  .container-fluid {
    max-width: 1366px;
    margin: 0 auto;
    }
}
@media (max-width: 368px) {
  .tile-wrapper {
    flex-direction: column;
    align-items: center;
  }
}
@media (min-width: 992px) {
  .sidebar2 {
    transform: translateX(0);
    display: block !important;
  }
}
@media (max-width: 991.98px) {
  .sidebar2 {
    display: block;
    transform: translateX(-100%);
  }
  .sidebar2.show {
    transform: translateX(0);
  }
  
  .main-content {
  padding: 20px 20px 0 20px;
  display: flex;
  flex-direction: column;
  }
  .sidebar {
  width: 120px;
  }
  .btn-tile {
  width: 220px;
  height: 220px;
  }
  .tile-wrapper{
    padding: 20px 20px 0 120px;
  }
  h1{
    padding-left: 8rem;
  }
  .footer-buttons {
  padding: 40px 40px 40px 160px;
  }
  .footer-buttons .btn {
  padding: 5px 5px;
}

.footer-text {
  font-size: 0.55rem;
}
}

/* Responsive pass: keeps the existing webapp structure, but makes the views usable on phones. */
@media (max-width: 991.98px) {
  html,
  body {
    min-height: 100%;
    height: auto;
  }

  .main-content {
    width: 100%;
    padding: 5.25rem 1rem 0;
  }

  .voucher-main {
    width: 100%;
    padding: 0 1rem 2rem;
  }

  .head-text {
    align-items: flex-start;
    padding: 0;
    text-align: left;
  }

  h1,
  .uberschrift {
    padding-left: 0;
    font-size: clamp(2.15rem, 11vw, 3.2rem);
    line-height: 1.05;
    overflow-wrap: anywhere;
  }

  .sububer,
  .subhead {
    font-size: clamp(1.35rem, 6vw, 2rem);
    line-height: 1.15;
  }

  .info-text,
  .fliesstexte,
  .terms {
    font-size: 1rem;
    line-height: 1.55;
  }

  .sidebar {
    position: relative;
    width: 100%;
    height: 9rem;
    min-height: 9rem;
    border-radius: 0 0 32px 32px;
    background-position: center 38%;
  }

  .sidebar .logo-box {
    width: 6.2rem;
    height: 6.2rem;
    margin: 1.15rem 0 0;
    padding: 0.75rem;
  }

  .sidebar2 {
    width: min(18rem, 84vw);
    display: flex;
    align-items: center;
    overflow-y: auto;
    padding-bottom: 1rem;
  }

  .sidebar-nav {
    width: calc(100% - 1.5rem);
  }

  .sidebar-toggle-btn {
    top: 1rem;
    left: 1rem;
    min-width: 3rem;
    min-height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .sidebar-toggle-btn .bi-list::before {
    content: "☰";
    font-style: normal;
    font-weight: 700;
    line-height: 1;
  }

  .logo-box {
    width: 6.4rem;
    height: 6.4rem;
    margin: 1.4rem 0 1rem;
  }

  .back-btn {
    width: 3.8rem;
    height: 3.8rem;
    margin: 0 0 1rem;
    align-items: center;
    justify-content: center;
  }

  .back-img {
    width: 2.6rem;
    height: 2.6rem;
    margin: 0;
  }

  .tile-wrapper {
    width: 100%;
    padding: 1rem 0 0;
    gap: 0.85rem;
  }

  .tile-wrapper > .btn-tile {
    width: min(100%, 19rem);
    height: auto;
    background: transparent;
    box-shadow: none;
  }

  .tile-wrapper > .btn-tile > .btn-tile,
  .tile-wrapper > a.btn-tile {
    width: 100%;
    height: auto;
    min-height: 11.8rem;
    padding: 1.2rem;
  }

  .tile-icon {
    width: clamp(4.4rem, 24vw, 7rem);
    height: clamp(4.4rem, 24vw, 7rem);
  }

  .container,
  .container-fluid {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  .row {
    margin-left: 0;
    margin-right: 0;
  }

  .row > .col-6 {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
  }

  .container-gutschein,
  .container-imputfield {
    padding: 1.2rem;
    border-radius: 28px;
  }

  .motiv-grid,
  .betrag-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
  }

  .gutschein-text {
    top: 56%;
    left: 0;
    font-size: clamp(0.95rem, 4.5vw, 1.35rem);
  }

  .gutschein-betrag {
    top: 71%;
    left: 0;
    font-size: clamp(1rem, 5vw, 1.45rem);
  }

  .container-lageplan {
    min-height: min(78vh, 32rem);
    background-size: contain;
  }

  .img-cont,
  .img-cont2,
  .img-cont3,
  .img-cont4,
  .img-produkt-1,
  .img-produkt-2,
  .img-produkt-3,
  .img-produkt-4,
  .img-produkt-5,
  .img-produkt-6,
  .img-news-1,
  .img-news-2 {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    border-radius: 28px;
    background-position: center;
  }

  .img-cont,
  .img-cont2,
  .img-cont3,
  .img-cont4 {
    margin-top: 1.25rem;
  }

  .product-card,
  .news-card {
    padding: 1rem;
  }

  .produkt-preis {
    font-size: 1.55rem;
  }

  .footer-buttons {
    width: 100%;
    padding: 2rem 1rem 1.25rem;
    gap: 0.75rem;
    align-items: center;
  }
}

@media (max-width: 560px) {
  .main-content {
    padding: 4.8rem 0.9rem 0;
  }

  .sidebar + .main-content {
    padding-top: 1.35rem;
  }

  .voucher-main {
    padding-inline: 0.9rem;
  }

  .tile-wrapper > .btn-tile {
    width: 100%;
  }

  .tile-wrapper > .btn-tile > .btn-tile,
  .tile-wrapper > a.btn-tile {
    min-height: 10.5rem;
  }

  span {
    font-size: 1rem;
  }

  .motiv-grid,
  .betrag-grid {
    grid-template-columns: 1fr;
  }

  .form-label.betrag,
  .form-label {
    font-size: 1rem;
  }

  .footer-buttons {
    flex-direction: column;
    text-align: center;
  }

  .footer-buttons .btn {
    width: min(100%, 16rem);
    padding: 0.55rem 0.75rem;
  }

  .footer-text {
    order: 3;
    font-size: 0.72rem;
  }
}
