         /* GLOBAL */

 * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: Arial, sans-serif;
    }

    .fuerteventura {
      background: url('../images/fuerteventura_pan.jpg') center center/cover no-repeat;
      text-align: center;
      color: white;
      padding: 2rem 1rem;
      margin: 0rem;
    }

    .gran_canaria {
      background: url('../images/gran_canaria_pan.jpg') center center/cover no-repeat;
      text-align: center;
      color: white;
      padding: 2rem 1rem;
      margin: 0rem;
    }

    .la_gomera {
      background: url('../images/la_gomera_pan.jpg') center center/cover no-repeat;
      text-align: center;
      color: white;
      padding: 2rem 1rem;
      margin: 0rem;
    }

    .la_palma {
      background: url('../images/la_palma_pan.jpg') center center/cover no-repeat;
      text-align: center;
      color: white;
      padding: 2rem 1rem;
      margin: 0rem;
    }

    .lanzarote {
      background: url('../images/lanzarote_pan.jpg') center center/cover no-repeat;
      text-align: center;
      color: white;
      padding: 2rem 1rem;
      margin: 0rem;
    }

    .teneriffa {
      background: url('../images/teneriffa_pan.jpg') center center/cover no-repeat;
      text-align: center;
      color: white;
      padding: 2rem 1rem;
      margin: 0rem;
    }

    header img {
      width: 100%;
      max-width: 200px;
      height: auto;
      background: rgba(255,255,255,0.7);
    }

    header h1 {
      margin-top: 1rem;
      font-size: 1.2rem;
    }

    a {
      color: black;
      text-decoration: none;
    }

    a:visited {
      color: black;
    }

    .footer_link {
      color: white;
      text-decoration: none;
    }

    .footer_link:visited {
      color: white;
    }

    .kleiner_text  {
      font-size: 0.8em;
      padding-bottom: 2rem;
    }

    .error_text  {
      font-size: 1em;
      color: red;
      font-weight: bold;
      text-align: center;
    }

    summary:hover {
      cursor: pointer;
    }

    .klein {
      font-size: 0.8em;
      padding-left: 0.8em;
    }

    .aufzaehlung {
      padding-left: 0.8em;
    }

    /* Erfolgsmeldung */
    .success-message {
    width: 50%;
    margin: 20px auto;
    padding: 20px;

    display: flex;
    flex-direction: column;      /* Text über Button */
    justify-content: center;
    align-items: center;          /* alles zentriert */

    background-color: #d4edda;
    color: #155724;

    border: 1px solid #c3e6cb;
    border-radius: 5px;
    font-weight: bold;
}

.ok-button {
    margin-top: 15px;
    padding: 8px 20px;

    background-color: #28a745;
    color: #ffffff;

    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.ok-button:hover {
    background-color: #218838;
}
@media (max-width: 768px) {
    .success-message {
        width: 90%;
    }
}

    /* Tabelle */

  .tabelle-wrapper {
    display: flex;
    justify-content: center;
    padding: 1rem;
    overflow-x: auto;
  }

  .paket-tabelle {
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    font-size: 0.9rem;
    width: 100%;
    max-width: 800px;
    table-layout: auto;
    word-wrap: break-word;
  }

  .paket-tabelle th,
  .paket-tabelle td {
    padding: 10px;
    border: 1px solid #ccc;
    vertical-align: top;
    word-break: break-word;
    white-space: normal;
  }

  .paket-tabelle th {
    background-color: #436d2e;
    text-align: center;
    color: white;
  }

  .paket-tabelle td:first-child {
    text-align: left;
  }

  .paket-tabelle td:last-child {
    text-align: right;
  }

  .paket-tabelle td:nth-child(2),
  .paket-tabelle td:nth-child(3) {
    text-align: center;
  }

  /* MOBILE ANSICHT */
  @media (max-width: 700px) {
    .paket-tabelle {
      border: none;
      width: 100%;
    }

    .paket-tabelle thead {
      display: none;
    }

    .paket-tabelle,
    .paket-tabelle tbody,
    .paket-tabelle tr,
    .paket-tabelle td {
      display: block;
      width: 100%;
    }

    .paket-tabelle tr {
      background: #fff;
      border: 1px solid #ccc;
      border-radius: 8px;
      margin-bottom: 1.5rem;
      box-shadow: 0 2px 5px rgba(0,0,0,0.05);
      padding: 1rem;
    }

    .paket-tabelle td {
      border: none;
      text-align: left !important;
      padding: 0.5rem 0;
      position: relative;
    }

    /* Spaltenüberschrift über Inhalt */
    .paket-tabelle td::before {
      content: attr(data-label);
      display: block;
      font-weight: bold;
      margin-bottom: 0.3rem;
      color: #333;
    }

    /* Mehr Abstand zwischen Blöcken */
    .paket-tabelle td + td {
      margin-top: 0.5rem;
      border-top: 1px dashed #ddd;
      padding-top: 0.5rem;
    }
  }



         /* TICKER */

    .ticker {
      background-color: #90a955;
      overflow: hidden;
      white-space: nowrap;
      line-height: 2;
    }

    .ticker-text {
      display: inline-block;
      padding-left: 100%;
      animation: ticker 15s linear infinite;
      font-weght: bold;
    }

    @keyframes ticker {
      0% { transform: translateX(0); }
      100% { transform: translateX(-100%); }
    }

    /* GRUNDGERÜST */

    main {
  display: flex;
  flex-wrap: nowrap;
  padding: 1rem;
}



.left, .right {
  flex: 1; /* füllt gleichmäßig den verfügbaren Platz */
  display: flex;
  justify-content: center;
  align-items: top;
  position: sticky;
  top: 2em;
  min-height: 300px;
  position: sticky;

}

.middle {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 0rem;

}

         /* ANZEIGEBEREICHE */

/* Vollbreite Bereich */
.full {
  width: 100%;
  margin-bottom: 1.5rem;
  background-color: white;
  padding: 0.5rem;
  border-radius: 8px;
  border: 0.1em solid #edede9;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);

}

/* Standard Spalten-Layout: 1-spaltig für mobile */
.row {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.row.two-cols {
  grid-template-columns: 1fr; /* Mobile: 1 Spalte */
}

.row.three-cols {
  grid-template-columns: 1fr; /* Mobile: 1 Spalte */
}

/* Ab Tablet: 2 und 3 Spalten */
@media (min-width: 768px) {
  .row.two-cols {
    grid-template-columns: 1fr 1fr;
  }

  .row.three-cols {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/* Optional: gestalte einzelne Boxen */
.colum {
  background-color: ##FFFFFF;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);

}


   .left img, .right img {
  width: fit-content;
  object-fit: contain;
  border: 1px solid #ccc;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
  position: sticky;
  top: 2em;
  height: fit-content;
}

    @media (max-width: 1200px) {
      main {
    flex-direction: column;
  }
  .left, .right {
    position: relative;
    top: unset;
    min-height: unset;
  }
    }

    footer {
      display: flex;
      flex-wrap: wrap;
      background-color: #436d2e;
      color: white;
      padding: 1rem;
      font-size: 0.85rem;
    }

    footer .col {
      flex: 1 1 25%;
      padding: 0.5rem;
    }

    footer img {
      max-width: 100%;
      max-height: 60px;
      height: auto;
    }

    @media (max-width: 768px) {
      .menu-toggle {
        display: block;
      }
      .menu {
        display: none;
        flex-direction: column;
        text-align: center;
        width: 100%;
      }
      .menu.show {
        display: flex;
      }
      footer .col {
        flex: 1 1 100%;
        text-align: center;
      }
      .full {
        margin-top: 1.5rem;
      }
      .kleiner_text {
    font-size: 1rem;
    text-align: justify;
}

    }

         /* MENÜBAND */

/* ig = inside-gomera (namespaced) */
nav.ig-navband{
  width: 100%;
  background: #436d2e;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 9999; /* oben halten, damit nichts die Links überdeckt */
  font-family: Arial, Helvetica, sans-serif;
}

nav.ig-navband .ig-container{
  width: 100%;
  max-width: 1400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.25rem 1rem;
}

/* Burger-Button (mobile) */
nav.ig-navband .ig-menu-toggle{
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  margin: 6px auto; /* zentriert */
  padding: 6px;
  line-height: 1;
}

/* Menu (default: versteckt auf mobile) */
nav.ig-navband .ig-menu{
  list-style: none;
  padding: 0;
  margin: 0;
  display: none;           /* mobile: aus */
  flex-direction: column;
  width: 100%;
  text-align: center;
}

nav.ig-navband .ig-menu li{
  padding: 0.5rem 0;
}

nav.ig-navband .ig-menu li a{
  color: #fff;
  text-decoration: none;
  font-weight: 700; /* fett */
  display: block;
  width: 100%;
}

/* Geöffnetes Menü (mobile) */
nav.ig-navband.active .ig-menu{
  display: flex;
}

/* Desktop ab 768px: horizontal, Burger weg */
@media (min-width: 768px) {
  nav.ig-navband .ig-container{
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }

  nav.ig-navband .ig-menu-toggle{
    display: none; /* verstecken auf Desktop */
  }

  nav.ig-navband .ig-menu{
    display: flex !important;
    flex-direction: row;
    justify-content: center;
    width: auto;
  }

  nav.ig-navband .ig-menu li{
    padding: 1rem 1.5rem;
  }
}

/* Formular */


  .formularcontainer {
      max-width: 500px;
      margin: 20px auto;
      background: white;
      border-radius: 12px;
      box-shadow: 0 4px 16px rgba(0,0,0,0.1);
      overflow: hidden;
    }

    .tab-header {
      display: flex;
    }

    .tab-header label {
      flex: 1;
      text-align: center;
      padding: 15px;
      background: #436d2e;
      cursor: pointer;
      font-weight: bold;
      transition: background 0.3s;
      color: white;
    }

    input[type="radio"] {
      display: none;
    }

    .anz_sel {
      display: block;
    }

    #login-tab:checked ~ .tab-header label[for="login-tab"],
    #register-tab:checked ~ .tab-header label[for="register-tab"] {
      background: #90a955;
      color: white;
    }

    .form-content {
      padding: 30px;
    }

    form.register-form {
      display: none;
    }

    form.login-form {
      display: none;
    }

    #login-tab:checked ~ .form-container form.login-form,
    #register-tab:checked ~ .form-container form.register-form {
      display: block;
    }

    label.field-label {
      display: block;
      margin-bottom: 6px;
      margin-top: 14px;
      font-weight: 600;
      color: #333;
    }

    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="tel"],
    select {
      width: 100%;
      padding: 10px 12px;
      margin-top: 4px;
      border: 1px solid #ccc;
      border-radius: 8px;
      font-size: 15px;
    }

    button.formular_button {
      margin-top: 20px;
      width: 100%;
      padding: 12px;
      background-color: #436d2e;
      color: white;
      border: none;
      border-radius: 8px;
      font-size: 16px;
      font-weight: bold;
      cursor: pointer;
      transition: background 0.3s;
    }

    button.formular_button:hover {
      background-color: #90a955;
    }

    .button_container {
      display: flex;
      justify-content: center; /* horizontal zentrieren */
    }

    button.formular_button_me {
      margin-top: 1em;
      width: 33%;
      padding: 1em;
      background-color: #436d2e;
      color: white;
      border: none;
      border-radius: 8px;
      font-size: 16px;
      font-weight: bold;
      cursor: pointer;
      transition: background 0.3s;
    }

    button.formular_button_me:hover {
      background-color: #90a955;
    }

    .required::after {
      content: " *";
      color: red;
    }

    textarea {
  width: 100%;
  padding: 10px 12px;
  margin-top: 4px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
  resize: vertical;
  min-height: 100px;
  font-family: 'Segoe UI', sans-serif;
}

textarea:focus {
  border-color: #007BFF;
  outline: none;
}

.error-message {
      color: red;
      font-size: 0.9em;
      display: none;
    }
    .invalid {
      border: 2px solid red;
    }

    /* NACHRICHTEN */

/* ===== Grundfarben ===== */
:root {
  --mes-green-dark: #436d2e;
  --mes-green-light: #90a955;
}


/* ===== Tabs ===== */
.mes_tabs {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  background-color: var(--mes-green-light);
  flex-wrap: nowrap;
}

.mes_tab {
  flex: 1; /* je 50 % */
  text-align: center;
  padding: 14px 0;
  cursor: pointer;
  font-weight: bold;
  color: white;
  border: none;
  background: transparent;
  transition: background-color 0.3s;
  font-size: 1rem;
}

.mes_tab_active {
  background-color: var(--mes-green-dark);
}

/* ===== Tab Inhalte ===== */
.mes_tabcontent {
  display: none;
  padding: 0px;
}

.mes_tabcontent_active {
  display: block;
}


/* SLIDER */

  :root {
    --slider_gap: 10px;
    --slider_border: 1px solid #ddd;
    --slider_card-bg: #fff;
    --slider_card-shadow: 0 1px 3px rgba(0,0,0,0.06);
    --slider_arrow-size: 36px;
    --slider_arrow-touch-gap: 8px;
  }

  .slider_container {
    position: relative;
    overflow: visible;
    padding: 12px 6px;
  }

  .slider_title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 10px 6px;
  }

  .slider_viewport { overflow: hidden; width: 100%; }

  .slider_track {
    display: flex;
    gap: var(--slider_gap);
    transition: transform 350ms ease;
    will-change: transform;
    align-items: stretch;
    position: relative;
  }

  .slider_item {
    flex: 0 0 auto;
    box-sizing: border-box;
    background: var(--slider_card-bg);
    border: var(--slider_border);
    border-radius: 6px;
    box-shadow: var(--slider_card-shadow);
    padding: 10px;
    display: flex;
    flex-direction: column;
    min-height: 160px;
  }

  .slider_item .slider_img {
  height: 100px;
  background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
  border-radius: 4px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: #374151;
  overflow: hidden; /* ?? verhindert, dass das Bild herausragt */
}

.slider_item .slider_img img {
  width: 100%;        /* ?? Bild füllt die Breite */
  height: 100%;       /* ?? Bild füllt die Höhe */
  object-fit: cover;  /* ?? schneidet zu, statt zu verzerren */
  border-radius: 4px; /* ?? optional, für abgerundete Ecken */
}

  .slider_item h3 { font-size: 0.95rem; margin: 6px 0 4px; }
  .slider_item p { font-size: 0.85rem; margin: 0 0 8px; color: #4b5563; flex: 1 1 auto; }
  .slider_item .slider_price { font-weight: 700; font-size: 0.98rem; margin-top: auto; }

  .slider_arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: var(--slider_arrow-size);
    height: var(--slider_arrow-size);
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.95);
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 4px 10px rgba(2,6,23,0.06);
    cursor: pointer;
    z-index: 5;
  }

  .slider_arrow--prev { left: calc(-1 * (var(--slider_arrow-size) + var(--slider_arrow-touch-gap))); }
  .slider_arrow--next { right: calc(-1 * (var(--slider_arrow-size) + var(--slider_arrow-touch-gap))); }
  .slider_arrow svg { width: 18px; height: 18px; display: block; }

  .slider_arrow[disabled] {
    opacity: 0.45;
    pointer-events: none;
  }

  @media (max-width: 640px) {
    .slider_arrow { display: none; }
  }

  .slider_item.slider_placeholder {
    opacity: 0.65;
    background: linear-gradient(180deg, #fbfdff, #f3f7fb);
    border-style: dashed;
  }

  .slider_arrow:focus { outline: 3px solid rgba(59,130,246,0.3); }

  /* COCKIES */

  /* Hauptfarbe */
:root {
    --main-color: #436d2e;
    --main-color-dark: #345624;
}

/* Hintergrund-Overlay */
#cookie-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

/* Modales Fenster */
#cookie-modal {
    background: #ffffff;
    padding: 25px 30px;
    border-radius: 10px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.25);
    font-family: Arial, sans-serif;
    border-top: 8px solid var(--main-color);
}

#cookie-modal h2 {
    margin-top: 0;
    color: var(--main-color);
}

#cookie-modal p {
    margin: 10px 0;
    line-height: 1.5;
}

/* Button */
#cookie-accept {
    margin-top: 15px;
    padding: 10px 22px;
    font-size: 16px;
    border: none;
    background: var(--main-color);
    color: white;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
}

#cookie-accept:hover {
    background: var(--main-color-dark);
    transform: scale(1.04);
}

/**/

  .insub_table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed; /* wichtig für Spaltenbreiten */
  }

  .insub_table th,
  .insub_table td {
    border-bottom: 1px solid #ddd;
    padding: 6px 8px; /* kleinere Abstände */
    text-align: left;
    vertical-align: middle;
  }

  /* Spaltenbreiten */
  .insub_table th:nth-child(2),
  .insub_table td:nth-child(2),
  .insub_table th:nth-child(3),
  .insub_table td:nth-child(3),
  .insub_table th:nth-child(4),
  .insub_table td:nth-child(4),
  .insub_table th:nth-child(5),
  .insub_table td:nth-child(5) {
    width: 10%;
    white-space: nowrap;
    text-align: center;
  }

  .insub_table th:nth-child(1),
  .insub_table td:nth-child(1) {
    width: auto; /* Rest geht hierhin */
  }

  /* Aktionen */
  .insub_actions button {
    background: none;
    border: none;
    cursor: pointer;
    margin: 0 2px;
    font-size: 14px;
  }

  /* Mobile Ansicht */
  @media (max-width: 768px) {
    .insub_table,
    .insub_table thead,
    .insub_table tbody,
    .insub_table tr,
    .insub_table th,
    .insub_table td {
      display: block;
      width: 100%;
    }

    .insub_table thead {
      display: none;
    }

    .insub_table tr {
      margin-bottom: 1rem;
      border: 1px solid #ddd;
      border-radius: 6px;
      padding: 0.5rem;
    }

    .insub_table td {
      border: none;
      padding: 4px 0;
    }

    .insub_actions {
      margin-top: 4px;
      text-align: left;
    }

    .insub_actions button {
      margin-right: 8px;
    }
  }