@charset "utf-8";
/* CSS Document – smartYes referenzen.css */

/* ===================== */
/* RESET & BASE          */
/* ===================== */
body, html {
  margin: 0;
  padding: 0;
  font-family: Avenir, Helvetica, Arial, sans-serif;
  color: #560604;
  -webkit-font-smoothing: antialiased;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* ===================== */
/* LINKS                 */
/* ===================== */
a:link    { color: #004e22; text-decoration: none; transition: color 0.2s ease; }
a:visited { color: #000000; text-decoration: none; }
a:hover   { color: #560604; text-decoration: underline; }
a:active  { color: #004e22; text-decoration: none; }

/* ===================== */
/* TOPBAR                */
/* ===================== */
.topbar {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.left {
  flex: 1;
  min-height: 377px;
  background-color: #ea560d;
  text-align: center;
  padding-top: 45px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.main {
  flex: 1;
  min-height: 377px;
  background-color: #560604;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 20px;
  text-align: center;
}

.main a {
  display: inline-block;
  padding-top: 20px;
}

.right {
  flex: 1;
  min-height: 377px;
  background-color: #004e22;
  text-align: center;
  padding-top: 25px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.lang-switch {
  display: inline-block;
}

@media screen and (max-width: 1000px) {
  .topbar {
    flex-direction: column;
  }

  .left,
  .main,
  .right {
    width: 100%;
    min-height: 77px;
    padding-top: 0;
    align-items: center;
    justify-content: center;
  }

  .main a {
    padding-top: 10px;
  }
}

/* ===================== */
/* MENU BUTTON           */
/* ===================== */
.menu-btn {
  background: none;
  border: none;
  font-size: 27px;
  font-family: Avenir, Helvetica, Arial, sans-serif;
  cursor: pointer;
  color: #f0f0f0;
  padding: 10px 15px;
  margin-top: 15px;
  transition: color 0.2s ease;
}

.menu-btn:hover {
  color: #ea560d;
}

/* ===================== */
/* OVERLAY MENU          */
/* ===================== */
.overlay {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  background-color: rgba(240, 240, 240, 0.97);
  overflow-x: hidden;
  transition: 0.5s;
}

.overlay-content {
  position: relative;
  top: 10%;
  width: 100%;
  text-align: center;
  margin-top: 40px;
  font-size: 23px;
  line-height: 25px;
  color: #560604;
}

.overlay-content a {
  padding: 10px;
  text-decoration: none;
  font-size: 23px;
  color: #560604;
  display: block;
  transition: 0.3s;
}

.overlay-content a:hover {
  color: #ea560d;
  text-decoration: underline;
}

.overlay .closebtn {
  position: absolute;
  top: 20px;
  right: 45px;
  font-size: 40px;
  color: #560604;
  text-decoration: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: Avenir, Helvetica, Arial, sans-serif;
  transition: color 0.2s ease;
}

.overlay .closebtn:hover {
  color: #ea560d;
}

/* ===================== */
/* LAYOUT                */
/* ===================== */
.img-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  padding: 0 15px;
}

.img-wrapper img {
  width: 100%;
  max-width: 100%;
  display: block;
  height: auto;
  border-radius: 8px;
}

.container3 {
  width: 100%;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ===================== */
/* SPACERS               */
/* ===================== */
.spacer-small  { height: 10px; }
.spacer-medium { height: 50px; }
.spacer-large  { height: 100px; }

.footer-spacer {
  height: 177px;
}

@media screen and (max-width: 800px) {
  .footer-spacer {
    height: 160px;
  }
}

/* ===================== */
/* SECTION DIVIDER       */
/* ===================== */
.section-divider {
  width: 100%;
  border: none;
  margin: 0;
  padding: 0;
  display: block;
}

.section-divider .bar-orange { height: 27px; background-color: #ea560d; }
.section-divider .bar-dark   { height: 27px; background-color: #560604; }
.section-divider .bar-green  { height: 27px; background-color: #004e22; }

/* ===================== */
/* TEXT & TYPOGRAPHY     */
/* ===================== */
.text {
  background-color: #fff;
  color: #560604;
  text-align: center;
  font-weight: normal;
  font-size: 15px;
  line-height: 18px;
}

h1, h2, h3 {
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
}

h1 {
  font-size: 44px;
  font-weight: 900;
  line-height: 50px;
  color: #ea560d;
  text-align: center;
  margin-top: 17px;
  padding: 0 17px;
}

h2 {
  font-size: 21px;
  font-weight: normal;
  line-height: 30px;
  color: #560604;
  text-align: center;
  max-width: 700px;
  margin-top: 17px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 15px;
}

h3 {
  font-size: 14px;
  font-weight: normal;
  color: #560604;
  text-align: center;
  max-width: 800px;
  margin-top: 10px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 15px;
  line-height: 20px;
}

@media screen and (max-width: 800px) {
  h1 {
    font-size: 33px;
    line-height: 40px;
    padding: 0 7%;
  }

  h2 {
    font-size: 17px;
  }
}

/* ===================== */
/* LOGO GRID             */
/* ===================== */
/* 4 Spalten Desktop, 2 Spalten Tablet, 1 Spalte Mobile */

.logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px 15px;
  box-sizing: border-box;
}

.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  background-color: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 8px;
  transition: box-shadow 0.2s ease;
  min-height: 120px;
  box-sizing: border-box;
}

.logo-item:hover {
  box-shadow: 0 4px 12px rgba(86, 6, 4, 0.08);
}

.logo-item img {
  width: 100%;
  max-width: 160px;
  height: auto;
  max-height: 120px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

/* Tablet: 2 Spalten */
@media screen and (max-width: 900px) {
  .logo-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 600px;
  }
}

/* Mobile: 1 Spalte */
@media screen and (max-width: 480px) {
  .logo-grid {
    grid-template-columns: repeat(1, 1fr);
    max-width: 320px;
    gap: 15px;
  }
}

/* ===================== */
/* DISCLAIMER TEXT       */
/* ===================== */
.disclaimer {
  font-size: 13px;
  color: #999;
  text-align: center;
  max-width: 800px;
  margin: 20px auto 0 auto;
  padding: 0 15px 10px 15px;
  font-style: italic;
}

/* ===================== */
/* BUTTON                */
/* ===================== */
.button {
  background-color: #ea560d;
  border: none;
  color: #f0f0f0 !important;
  padding: 5px 12px;
  text-align: center;
  text-decoration: none !important;
  display: inline-block;
  font-size: 21px;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.2s ease;
  font-family: Avenir, Helvetica, Arial, sans-serif;
}

.button:hover {
  background-color: #560604;
}

/* ===================== */
/* FOOTER                */
/* ===================== */
.footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  min-height: 107px;
  background-color: #f0f0f0;
  color: #560604;
  text-align: center;
  font-weight: normal;
  font-size: 14px;
  line-height: 17px;
}

.footer a:link    { color: #560604; text-decoration: none; }
.footer a:visited { color: #000000; text-decoration: none; }
.footer a:hover   { color: #ea560d; text-decoration: underline; }
.footer a:active  { color: #560604; text-decoration: none; }

@media screen and (max-width: 800px) {
  .footer {
    font-size: 12px;
    line-height: 18px;
    padding-bottom: 10px;
  }
}

/* ===================== */
/* COOKIE BANNER         */
/* ===================== */
#cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 30%;
  max-width: 420px;
  min-width: 280px;
  background: #004e22;
  color: #f0f0f0;
  padding: 16px;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
  z-index: 9999;
  display: none;
  font-family: Avenir, Helvetica, Arial, sans-serif;
  text-align: center;
}

.cookie-text {
  margin: 0 0 12px 0;
  font-size: 14px;
  line-height: 1.4;
  color: #f0f0f0;
}

#cookie-banner a {
  color: #f0f0f0;
  text-decoration: underline;
}

#cookie-banner a:hover {
  color: #ea560d;
}

.cookie-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
}

#cookie-banner .btn {
  flex: 1;
  border: none;
  padding: 10px 12px;
  cursor: pointer;
  border-radius: 6px;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.2s ease;
  max-width: 160px;
}

#cookie-banner .accept {
  background-color: #560604;
  color: #f0f0f0;
}

#cookie-banner .accept:hover {
  background-color: #ea560d;
}

#cookie-banner .decline {
  background-color: #f0f0f0;
  color: #560604;
}

#cookie-banner .decline:hover {
  background-color: #ea560d;
  color: #f0f0f0;
}

@media (max-width: 800px) {
  #cookie-banner {
    left: 10px;
    right: 10px;
    bottom: auto;
    top: 107px;
    width: calc(100% - 20px);
    max-width: 100%;
  }

  .cookie-actions {
    flex-direction: column;
    align-items: center;
  }

  #cookie-banner .btn {
    max-width: 100%;
  }
}