/* =========================================================
   HAMMERHERRENHONIG
   ========================================================= */

/* ---------------------------------------------------------
   FONTS
--------------------------------------------------------- */

/* pt-sans-regular - latin */
@font-face {
  font-family: "PT Sans";
  font-style: normal;
  font-weight: 400;
  src: url("fonts/pt-sans-v17-latin-regular.woff2") format("woff2");
  font-display: swap;
}

/* pt-sans-italic - latin */
@font-face {
  font-family: "PT Sans";
  font-style: italic;
  font-weight: 400;
  src: url("fonts/pt-sans-v17-latin-italic.woff2") format("woff2");
  font-display: swap;
}

/* pt-sans-700 - latin */
@font-face {
  font-family: "PT Sans";
  font-style: normal;
  font-weight: 700;
  src: url("fonts/pt-sans-v17-latin-700.woff2") format("woff2");
  font-display: swap;
}

/* pt-serif-regular - latin */
@font-face {
  font-family: "PT Serif";
  font-style: normal;
  font-weight: 400;
  src: url("fonts/pt-serif-v17-latin-regular.woff2") format("woff2");
  font-display: swap;
}

/* pt-serif-italic - latin */
@font-face {
  font-family: "PT Serif";
  font-style: italic;
  font-weight: 400;
  src: url("fonts/pt-serif-v17-latin-italic.woff2") format("woff2");
  font-display: swap;
}

/* pt-serif-700 - latin */
@font-face {
  font-family: "PT Serif";
  font-style: normal;
  font-weight: 700;
  src: url("fonts/pt-serif-v17-latin-700.woff2") format("woff2");
  font-display: swap;
}

/* ---------------------------------------------------------
   COLOR VARIABLES
--------------------------------------------------------- */

:root {
  --color-background: #ffffff;
  --color-text: #000000;

  --color-primary: #d8ab53;
  --color-primary-light: #e4c873;

  --color-white: #ffffff;
  --color-black: #000000;

  --color-link: var(--color-primary);
  --color-link-hover: var(--color-black);

  --color-button-bg: var(--color-primary);
  --color-button-text: var(--color-black);
  --color-button-hover-bg: var(--color-black);
  --color-button-hover-text: var(--color-white);
}

/* ---------------------------------------------------------
   BASE
--------------------------------------------------------- */

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

html,
body {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "PT Serif", serif;
  font-size: 16px;
  line-height: 26px;
  font-weight: 400;
  background: var(--color-background);
  color: var(--color-text);
}

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

.badge {
  width: 50%;
  max-width: 160px;
}

.product {
  width: 100%;
  max-width: 250px;
}

.map {
  width: 100%;
  max-width: 100%;
}

main {
  width: 100%;
}

/* ---------------------------------------------------------
   TYPOGRAPHY
--------------------------------------------------------- */

.screenreader-only {
  block-size: 1px;
  inline-size: 1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

h1,
h2,
h3 {
  font-family: "PT Sans", sans-serif;
  color: var(--color-primary);
  padding: 0px 0px 20px 0px;
  margin: 0;
  font-weight: 400;
}

h1 {
  font-size: 24px;
  line-height: 34px;
}

h2 {
  font-size: 24px;
  line-height: 34px;
}

h3 {
  font-size: 18px;
  line-height: 28px;
  color: var(--color-text) !important;
  font-weight: 700;
  letter-spacing: 0.5px;
}

p {
  font-size: 16px;
  line-height: 26px;
  font-weight: 400;
  color: var(--color-text);
  padding: 0 0 20px 0;
  margin: 0;
}

a {
  color: var(--color-link);
  text-decoration: none;
  transition: all 0.14s ease-in;
}

a:hover {
  color: var(--color-link-hover);
  border-bottom: 1px solid var(--color-link);
}

ul {
  padding: 0px 0px 0px 30px;
  margin: 20px 0px 40px 0px;
}

ul li {
  padding: 0px;
  margin: 0px;
}

/* ---------------------------------------------------------
   BUTTONS
--------------------------------------------------------- */

.button {
  display: inline-block;
  margin: 20px 0;
  padding: 10px 20px;
  font-size: 16px;
  line-height: 22px;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  color: var(--color-button-text);
  background-color: var(--color-button-bg);
  border: 1px solid var(--color-button-bg);
  border-radius: 10px;
  transition: background 0.15s linear;
}

.button:hover {
  background-color: var(--color-button-hover-bg);
  border-color: var(--color-button-hover-bg);
  color: var(--color-button-hover-text);
  text-decoration: none;
}

/* ---------------------------------------------------------
   STRUCTURE
--------------------------------------------------------- */

.wrapper {
  width: 100%;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

header,
article {
  width: 100%;
}

header {
  margin: 80px 0 0 0;
}

article {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  --row-gap: 50px;
  --column-gap: 50px;
  gap: var(--row-gap) var(--column-gap);
}

/* ---------------------------------------------------------
   DECORATION
--------------------------------------------------------- */

.wabentop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 47px;
  background-image: url("images/pattern_oben.png");
  background-repeat: repeat-x;
  background-position: top left;
}

.wabenbottom {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 45px;
  background-image: url("images/pattern_unten.png");
  background-repeat: repeat-x;
  background-position: top left;
}

.spacer {
  width: 100%;
  height: 30px;
  margin: 50px 0 50px 0;
  background-image: url("images/honig_trenner.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}

/* ---------------------------------------------------------
   HEADER IMAGE
--------------------------------------------------------- */

.headerimg {
  width: 100%;
  overflow: hidden;
}

.headerimg img {
  width: 100%;
  height: auto;
}

/* ---------------------------------------------------------
   FLEX COLUMNS
--------------------------------------------------------- */

section.column1,
section.column2,
section.column3,
section.column4 {
  margin: 0;
  padding: 0;
}

section.column1 {
  flex: 1 1 100%;
}

section.column2 {
  flex: 1 1 calc(100% / 2 - calc(var(--column-gap) / 2 * 1));
}

section.column3 {
  flex: 1 1 calc(100% / 3 - calc(var(--column-gap) / 3 * 2));
}

section.column4 {
  flex: 0 1 calc(100% / 4 - calc(var(--column-gap) / 4 * 3));
}

/* ---------------------------------------------------------
   ROW-SPECIFIC
--------------------------------------------------------- */

.row0 img {
  margin: auto;
}

.row3 {
  margin-bottom: 50px;
}

.row4 {
  margin-bottom: 50px;
}

/* ---------------------------------------------------------
   IMKER
--------------------------------------------------------- */

.imker {
  font-family: "PT Serif", serif;
  font-size: 16px;
  line-height: 20px;
  font-weight: 400;
  font-style: italic;
  min-height: 150px;
}

.nummer {
  float: left;
  width: 39px;
  height: 44px;
  line-height: 42px;
  margin-right: 10px;
  text-align: center;
  background-image: url("images/wabe_zahl.png");
  background-repeat: no-repeat;
  background-position: top left;
}

.bio .adresse {
  background-image: url("images/bio.png");
  background-repeat: no-repeat;
  background-position: left 4px top 0px;
}

.nummer span {
  display: inline-block;
  line-height: 44px;
  font-family: "PT Sans", sans-serif;
  color: var(--color-white);
  font-weight: 700;
  font-size: 16px;
  font-style: normal;
}

.ort {
  float: left;
  width: calc(100% - 49px);
  min-height: 44px;
  line-height: 44px;
}

.ort span {
  display: inline-block;
  line-height: normal;
  font-family: "PT Sans", sans-serif;
  color: var(--color-primary);
  font-weight: 400;
  font-size: 18px;
  font-style: normal;
}

.adresse {
  clear: both;
  width: 100%;
  margin-top: 10px;
  float: left;
  padding-left: 49px;
}

/* ---------------------------------------------------------
   LOGOS
--------------------------------------------------------- */

.logos {
  width: 100%;
  min-height: 80px;
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
  overflow: hidden;
}

.logos img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 80px;
  display: block;
  margin: 0;
}

.logos img:first-child {
  flex: 0 0 auto;
}

.logos img:last-child {
  flex: 0 0 auto;
}

/* ---------------------------------------------------------
   HÄNDLER
--------------------------------------------------------- */

.row3 .column1 {
  display: none;
}

.row3 .column1 h2 {
  color: var(--color-text);
  padding: 0px;
}

section.column1.haendler {
  background: var(--color-primary-light);
  padding: 20px;
  display: block;
}

.haendler p {
  width: auto;
}

.haendler a {
  color: var(--color-black);
  border-bottom: 1px solid var(--color-black);
}

.haendler a:hover {
  color: var(--color-white);
  border-bottom: 1px solid var(--color-white);
}

.haendler .download {
  position: relative;
  float: right;
  width: 59px;
  height: 68px;
  margin-top: 5px;
  background-image: url("images/download.png");
  background-repeat: no-repeat;
  background-position: top left;
  cursor: pointer;
  border: 0 !important;
  display: block;
}

.haendler .download span {
  position: absolute;
  inset: 0;
  background-image: url("images/download_rollover.png");
  background-repeat: no-repeat;
  background-position: top left;
  opacity: 0;
  transition: opacity 0.5s;
}

.haendler .download:hover span {
  opacity: 1;
  border: 0 !important;
}

/* ---------------------------------------------------------
   TABLET
--------------------------------------------------------- */

@media only screen and (min-width: 621px) and (max-width: 820px) {
  .container {
    max-width: 1024px;
  }

  section.column1 {
    flex: 1 1 100%;
  }

  section.column2 {
    flex: 1 1 calc(100% / 2 - calc(var(--column-gap) / 2 * 1));
  }

  section.column3 {
    flex: 1 1 calc(100% / 2 - calc(var(--column-gap) / 2 * 1));
  }

  section.column4 {
    flex: 1 1 calc(100% / 2 - calc(var(--column-gap) / 2 * 1));
  }

  .row1 section.column3.first,
  .row2 section.column3.first {
    flex: 1 1 100%;
  }

  .logos img {
    max-height: 70px;
  }
}

@media only screen and (min-width: 821px) and (max-width: 1024px) {
  .container {
    max-width: 1024px;
  }

  section.column1 {
    flex: 1 1 100%;
  }

  section.column2 {
    flex: 1 1 calc(100% / 2 - calc(var(--column-gap) / 2 * 1));
  }

  section.column3 {
    flex: 1 1 calc(100% / 2 - calc(var(--column-gap) / 2 * 1));
  }

  section.column4 {
    flex: 1 1 calc(100% / 3 - calc(var(--column-gap) / 3 * 2));
  }

  .row1 section.column3.first,
  .row2 section.column3.first {
    flex: 1 1 100%;
  }

  .logos img {
    max-height: 70px;
  }
}

/* ---------------------------------------------------------
   MOBILE
--------------------------------------------------------- */

@media only screen and (min-width: 0px) and (max-width: 620px) {
  .container {
    max-width: 100%;
    padding: 0 20px;
  }

  section.column1,
  section.column2,
  section.column3,
  section.column4 {
    flex: 1 1 100%;
  }

  img {
    margin: auto;
  }

  .logos {
    min-height: auto;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
  }

  .logos img {
    width: 100%;
    max-height: none;
  }

  .logos img:first-child {
    max-width: 150px;
    margin-bottom: 20px;
  }

  .spacer {
    background-image: url("images/honig_trenner_short.svg");
  }
}
