/* ---------------------- */
/* BASIC SETUP */
/* ---------------------- */
:root {
  --green: #0D4C44;
  --red: #C84332;
  --beige: #F7EFE9;
  --white: #ffffff;
  --grey: #969696;
}

@font-face {
  font-family: 'oswald';
  src: url('fonts/Oswald-Medium.woff2') format('woff2'),
    url('fonts/Oswald-Medium.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'oswald-semi';
  src: url('fonts/Oswald-SemiBold.woff2') format('woff2'),
    url('fonts/Oswald-SemiBold.woff') format('woff');
  font-weight: normal;
  font-style: normal;

}


body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  color: #333;
}

h1,
h2,
h3 {
  font-family: 'oswald', sans-serif;
}

h2 {
  font-size: 3em;
}

h3 {
  font-size: 1.6em;
}

.center {
  text-align: center;
}

.pare {
  padding-right: 1em;
}

.pali {
  padding-left: 1em;
}

.big {
  font-size: 4em;
}

img {
  max-width: 100%
}

.small {
  font-size: 70%;
}

.grey {
  color: var(--grey)
}

ul.boldul {
  font-weight: 600;
}

/* ---------------------- */
/* GRID SYSTEM */
/* ---------------------- */
.container {
  width: min(1200px, 90%);
  margin: 0 auto;
}

.row {
  display: flex;
  flex-wrap: wrap;
}

.col-12 {
  width: 100%;
}

.col-8 {
  width: 75%;
}

.col-6 {
  width: 50%;
}

.col-4 {
  width: 33.333%;
}

.col-3 {
  width: 25%;
}

/* responsive breakpoints */
@media(max-width: 768px) {

  .col-md-6,
  .col-md-4,
  .col-md-3 {
    width: 100%;
  }

  .d-none-md {
    display: none;
  }

  .d-md-only {
    display: block;
  }
}

@media(min-width: 769px) {
  .col-md-8 {
    width: 75%;
  }

  .col-md-6 {
    width: 50%;
  }

  .col-md-4 {
    width: 33.333%;
  }

  .col-md-3 {
    width: 25%;
  }

  .d-none-md {
    display: flex;
  }

  .d-md-only {
    display: none;
  }
}

/* ---------------------- */
/* HEADER */
/* ---------------------- */
.header {
  height: 80px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  background: white;
  z-index: 1000;
}

.nav a {
  color: #333;
  margin: 0 10px;
  text-decoration: none;
}

.btn-login {
  background: var(--red);
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 4px;
}

/* ---------------------- */
/* HERO */
/* ---------------------- */

.hero {
  height: 90vh;
  min-height: 600px;
  background: var(--white);
  background-image:
    url('../img/kiwi-hero.jpg'),
    url('../img/hero-teller.jpg');
  background-size:
    400px auto,
    550px auto;
  background-repeat: no-repeat, no-repeat;
  background-position:
    left 5% bottom 10%,
    right 10% center;
  display: flex;
}

.hero-text h1 {
  font-size: 2.4rem;
  line-height: 1.3;
}

.hl-green {
  color: var(--green);
  font-weight: bold;
}

.hl-red {
  color: var(--red);
  font-weight: bold;
}

/* Mobile Hero Anpassungen */
@media(max-width:768px) {
  .hero {
    height: auto;
    padding: 80px 0 80px;
    background-position:
      center bottom,
      center 10%;
    background-size:
      300px auto,
      300px 300px;
  }

  .hero-text {
    text-align: center;
  }
}

/* ---------------------- */
/* CONTENT SECTIONS */
/* ---------------------- */

.section-green {
  background: var(--green);
  color: white;
  padding: 0px 0;
  background-image: url('../img/gurke.png');
  background-size: 400px auto;
  background-repeat: no-repeat, no-repeat;
  background-position: left 5% bottom 10%;

}

#unternehmen {
  background: var(--green);
  color: white;
  padding: 80px 0;
  background-image: url('../img/tomate.png');
  background-size: 400px auto;
  background-repeat: no-repeat;
  background-position: left 5% top 1%;

}

#wirkochen {

  padding: 80px 0 0;
  background-image: url('../img/geistbottom.png');
  background-size: 400px auto;
  background-repeat: no-repeat;
  background-position: right bottom;

}

.section-white {
  background: white;
  padding: 80px 0;
}

.section-gallery .gallery-image {
  width: 100%;
  height: 400px;
  background: url('../img/theke.jpg') center/cover no-repeat;
}

@media(max-width:768px) {
  .section-gallery .gallery-image {
    height: 260px;
  }
}

/* ---------------------- */
/* FOOTER */
/* ---------------------- */
.footer {
  padding: 30px 0;
  background: #fafafa;
  border-top: 1px solid #eee;
}

.jc-between {
  justify-content: space-between;
}

.ai-center {
  align-items: center;
}

.jc-center {
  justify-content: center;
}

.h-100 {
  height: 100%;
}

/* ---------------------- */
/* LOGIN FORM (INLINE) */
/* ---------------------- */
.header-login {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.login-form-inline {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.inline-inputs {
  display: flex;
  gap: 8px;
  align-items: center;
}

.form-group-inline {
  margin-bottom: 0;
}

.form-control-sm {
  padding: 6px 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 0.85rem;
  width: 140px;
  outline: none;
}

.form-control-sm:focus {
  border-color: var(--green);
}

.btn-login-inline {
  background: var(--red);
  color: white;
  border: none;
  padding: 6px 15px;
  border-radius: 4px;
  font-family: 'oswald', sans-serif;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-login-inline:hover {
  background: #a53528;
}

.login-links {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.small-link {
  font-size: 0.75rem;
  color: var(--grey);
  text-decoration: none;
}

.small-link:hover {
  color: var(--green);
  text-decoration: underline;
}

@media(max-width: 1024px) {
  .form-control-sm {
    width: 110px;
  }
}

@media(max-width: 768px) {
  .header-login {
    display: none;
    /* Hide in mobile header, would need a different approach for burger menu */
  }
}