/* Biobetrieb Buser – Farbwerte 1:1 aus dem Flyer (Pixel-Sampling) übernommen */
:root {
  --sand: #d5b599;
  --sand-light: #ede1d2;
  --sand-lighter: #f6efe6;
  --black: #1a1b1a;
  --black-soft: #2a2b29;
  --green: #4c9a2a;
  --radius-lg: 22px;
  --radius-md: 14px;
  --max-width: 1140px;
  --font-head: Georgia, "Cambria", "Times New Roman", serif;
  --font-body: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--black);
  background: var(--sand-lighter);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--black);
  margin: 0 0 0.5em;
  letter-spacing: 0.3px;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  text-align: center;
  margin-bottom: 1.2em;
}

p { margin: 0 0 1em; }

a { color: var(--black); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--black);
  color: var(--sand);
  padding: 0.75rem 1rem;
  z-index: 1000;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

/* Baustelle banner */
.baustelle-banner {
  background: var(--black);
  color: var(--sand-light);
  text-align: center;
  font-size: 0.85rem;
  padding: 0.55rem 1rem;
}

/* Header */
.site-header {
  background: var(--sand-lighter);
  border-bottom: 3px solid var(--black);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.6rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.brand-logo { height: 42px; width: auto; }
.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--black);
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
}
.main-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover,
.main-nav a:focus {
  border-bottom-color: var(--black);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 3px;
  background: var(--black);
  border-radius: 2px;
}

/* Hero */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,27,26,0.15) 0%, rgba(26,27,26,0.75) 85%);
}
.hero-content {
  position: relative;
  z-index: 2;
  color: var(--sand-lighter);
  padding: 3rem 1.5rem 3.5rem;
  width: 100%;
  text-align: center;
}
.hero-logo {
  height: 90px;
  width: auto;
  filter: invert(1) brightness(1.4);
  margin-bottom: 0.75rem;
}
.hero-content h1 {
  color: var(--sand-lighter);
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  margin-bottom: 0.3em;
}
.hero-claim {
  font-size: 1.05rem;
  margin-bottom: 1.5em;
  opacity: 0.95;
}

.btn {
  display: inline-block;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--black);
  cursor: pointer;
  font-size: 1rem;
}
.btn-primary {
  background: var(--black);
  color: var(--sand-light);
}
.btn-primary:hover { background: var(--black-soft); }

/* Intro */
.intro {
  padding: 3.5rem 0;
  text-align: center;
}
.intro p {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.08rem;
}

/* Geschäftszweige */
.geschaeftszweige {
  background: var(--sand);
  padding: 3.5rem 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--sand-lighter);
  border: 3px solid var(--black);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.4rem;
  text-align: center;
}

.card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 0.9rem;
  border-radius: 50%;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-icon svg {
  width: 34px;
  height: 34px;
  fill: var(--sand);
  stroke: var(--sand);
}
.card-icon-logo {
  width: 36px;
  height: auto;
  filter: invert(1) brightness(1.4);
}

.card h3 { font-size: 1.2rem; margin-bottom: 0.4em; }
.card p { font-size: 0.95rem; }
.card-note {
  font-size: 0.82rem;
  font-style: italic;
  opacity: 0.75;
  margin-bottom: 0;
}

/* Brunch */
.brunch {
  padding: 3.5rem 0;
  text-align: center;
}
.brunch > .container > p {
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.kontakt {
  background: var(--sand);
  padding: 3.5rem 0 4.5rem;
  text-align: center;
}
.kontakt > .container > p {
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.brunch-form {
  max-width: 480px;
  margin: 2rem auto 0;
  text-align: left;
  background: var(--sand-light);
  border: 3px solid var(--black);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
}
.form-row { margin-bottom: 1rem; }
.form-row label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.3rem;
  font-size: 0.92rem;
}
.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.6rem 0.7rem;
  border: 2px solid var(--black);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--sand-lighter);
}
.brunch-form .btn { width: 100%; }
.form-status {
  margin: 0.8rem 0 0;
  font-size: 0.9rem;
  font-weight: 600;
  min-height: 1.2em;
}
.form-status.success { color: #2f6b1a; }
.form-status.error { color: #8a2323; }

/* Footer */
.site-footer {
  background: var(--black);
  color: var(--sand-light);
  padding: 3rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  padding-bottom: 2rem;
}
.footer-logo {
  height: 46px;
  filter: invert(1) brightness(1.4);
  margin-bottom: 0.6rem;
}
.footer-title {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
  color: var(--sand);
  margin-bottom: 0.5em;
}
.site-footer a {
  color: var(--sand-light);
}
.footer-bottom {
  border-top: 1px solid rgba(213,181,153,0.25);
  text-align: center;
  padding: 1rem;
  font-size: 0.8rem;
  opacity: 0.85;
}

/* Geschäftszweige as full sections */
.geschaeftszweige { padding: 0; }

.zweig {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}
.zweig:nth-child(odd) { background: var(--sand-lighter); }
.zweig:nth-child(even) { background: var(--sand); }

.zweig-media { position: relative; overflow: hidden; }
.zweig-media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
}

.zweig-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem clamp(1.5rem, 5vw, 4rem);
}
.zweig-text h2 { text-align: left; margin-bottom: 0.6em; }
.zweig-text p { font-size: 1.05rem; margin-bottom: 1.4em; }

.zweig-reverse .zweig-media { order: 2; }
.zweig-reverse .zweig-text { order: 1; }

.contact-block {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.contact-label {
  font-weight: 700;
  font-size: 0.95rem;
}
.contact-icons {
  display: flex;
  gap: 0.5rem;
}
.icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--black);
  text-decoration: none;
  font-size: 1.2rem;
  border: 2px solid var(--black);
}
.icon-btn:hover { background: var(--black-soft); }

/* Small hero (subpages) */
.hero-small { min-height: 42vh; }

.main-nav-static { display: flex; }
.main-nav-static a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.form-row-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Footer variants */
.footer-grid-narrow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer-bio-logo { height: 70px; width: auto; }

/* Mobile */
@media (max-width: 780px) {
  .zweig, .zweig-reverse .zweig-media, .zweig-reverse .zweig-text {
    grid-template-columns: 1fr;
    order: initial;
  }
  .zweig { grid-template-columns: 1fr; min-height: auto; }
  .zweig-media img { min-height: 240px; }
  .form-row-split { grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
  .nav-toggle { display: flex; }
  .main-nav {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--sand-lighter);
    border-bottom: 3px solid var(--black);
  }
  .main-nav.open { display: flex; }
  .main-nav a {
    padding: 0.9rem 1.25rem;
    border-bottom: 1px solid rgba(26,27,26,0.15);
  }
  .main-nav.main-nav-static {
    display: flex;
    position: static;
    flex-direction: row;
    border-bottom: none;
    background: transparent;
  }
  .main-nav.main-nav-static a { padding: 0; border-bottom: none; }
}
