
/* Bergkraft â€“ Haupt-Stylesheet
   Farben:
   DunkelgrÃ¼n: #0f3b2e
   MittelgrÃ¼n: #215c40
   AkzentgrÃ¼n: #2f7d46
   Beige Hintergrund: #f3efe7
   WeiÃŸ: #ffffff
*/

:root {
  --bg: #f3efe7;
  --green-dark: #0f3b2e;
  --green-mid: #215c40;
  --green-accent: #2f7d46;
  --text-main: #1e2520;
  --text-muted: #55625a;
  --radius-large: 22px;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.18);
  --max-width: 1120px;
  --transition-fast: 0.25s ease;
  --header-height: 76px;
  --nav-breakpoint: 840px;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text-main);
}

body {
  line-height: 1.6;
}

/* Layout helpers */

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

main {
  padding-bottom: 4rem;
}

/* Header & Navigation */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(15, 59, 46, 0.94);
  backdrop-filter: blur(8px);
  color: #fff;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: inherit;
}

.brand-logo.OLD {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  background: linear-gradient(150deg, #36a163, #0f3b2e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
}

.brand-logo-img {
  height: 50px;      /* Größe des Logos */
  width: auto;       /* Proportionen beibehalten */
  display: block;
}

.brand-name {
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.94rem;
}

nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Desktop nav */

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: var(--transition-fast);
}

.nav-links a:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.6);
}

.nav-links a.is-active {
  color: #fff;
  border-bottom-color: #fff;
}

/* Language switch */

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 1.25rem;
}

.lang-btn {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 4px 10px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  cursor: pointer;
  background: rgba(15, 59, 46, 0.4);
  color: #fff;
  transition: var(--transition-fast);
}

.lang-btn span.flag {
  display: inline-block;
  width: 16px;
  height: 11px;
  border-radius: 2px;
  background-size: cover;
  background-position: center;
}

/* Simple CSS flags */
.flag-de {
  background-image: linear-gradient(to bottom, #000 33.33%, #dd0000 33.33% 66.66%, #ffce00 66.66%);
}

.flag-en {
  background-image:
    linear-gradient(#00247d, #00247d),
    linear-gradient(#cf142b, #cf142b),
    linear-gradient(#ffffff, #ffffff),
    linear-gradient(#ffffff, #ffffff);
}

/* Mobile nav */

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
}

/* Hero */

.hero {
  position: relative;
  height: 72vh;
  min-height: 460px;
  color: #fff;
  display: flex;
  align-items: stretch;
  justify-content: center;
  background-color: #000;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to top, rgba(6, 34, 24, 0.9) 0%, rgba(6, 34, 24, 0.15) 50%, rgba(6, 34, 24, 1) 100%),
    url("../img/forestback.png");
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 0.8rem;
}

.hero-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  max-width: 20ch;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero-text {
  max-width: 42ch;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.7rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition-fast);
}

.btn-primary {
  background: #2f7d46;
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  background: #2c6c3f;
  transform: translateY(-1px);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.35);
}

.btn-ghost {
  background: rgba(4, 35, 24, 0.6);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  background: rgba(4, 35, 24, 0.9);
}

/* Content sections */

.section {
  padding: 4rem 0 0;
}

.section-header {
  margin-bottom: 2rem;
}

.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.section-title {
  font-size: 1.8rem;
  margin: 0;
}

.section-lead {
  margin-top: 0.4rem;
  color: var(--text-muted);
}

/* Grid layouts */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2.5rem;
  align-items: center;
}

.split-image-card {
  border-radius: var(--radius-large);
  overflow: hidden;
  background: #e3dac7;
  box-shadow: var(--shadow-soft);
}

.split-image-card img {
  width: 100%;
  display: block;
}

/* Cards */

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

.card {
  background: #fffdf7;
  border-radius: var(--radius-large);
  padding: 1.6rem 1.5rem;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(47, 125, 70, 0.18), transparent 55%);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.card:hover::before {
  opacity: 1;
}

.card-title {
  margin-top: 0;
  margin-bottom: 0.35rem;
  font-size: 1.1rem;
}

.card-text {
  margin: 0.3rem 0 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.card-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(33, 92, 64, 0.45);
  margin-bottom: 0.6rem;
}

/* Icon shapes using simple SVG */

.card-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #215c40;
  stroke-width: 1.6;
}

/* Sustainability band */

.sustainability-band {
  margin-top: 3.5rem;
  margin-bottom: 3rem;
  border-radius: 26px;
  padding: 1.7rem 1.8rem;
  background: radial-gradient(circle at top left, #2f7d46, #0f3b2e);
  color: #f6f5ef;
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  align-items: center;
  justify-content: space-between;
}

.sustainability-band-main {
  max-width: 34rem;
}

.sustainability-band-title {
  margin: 0 0 0.3rem;
  font-size: 1.25rem;
}

.sustainability-band-text {
  margin: 0;
  font-size: 0.95rem;
  opacity: 0.92;
}

/* Inner pages */

.page-hero {
  padding: 3.2rem 0 2rem;
}

.page-title {
  font-size: 2.1rem;
  margin-bottom: 0.4rem;
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 2.5rem;
}

.page-aside {
  align-self: start;
}

.page-aside-card {
  background: #fffdf7;
  border-radius: var(--radius-large);
  padding: 1.4rem 1.5rem;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.08);
  font-size: 0.92rem;
}

/* Produktliste */

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

.product-card {
  background: #fffdf7;
  border-radius: var(--radius-large);
  padding: 1.4rem 1.5rem 1.5rem;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}

.product-label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.product-name {
  font-size: 1.08rem;
  margin: 0 0 0.3rem;
}

.product-text {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Timeline for sustainability */

.timeline {
  border-left: 2px solid rgba(33, 92, 64, 0.36);
  padding-left: 1.3rem;
  margin: 1.2rem 0 0;
}

.timeline-item {
  position: relative;
  margin-bottom: 1.3rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.55rem;
  top: 0.3rem;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #2f7d46;
}

.timeline-title {
  margin: 0 0 0.15rem;
  font-size: 1rem;
}

.timeline-text {
  margin: 0;
  font-size: 0.94rem;
  color: var(--text-muted);
}

/* Kontaktformular */

.form-card {
  background: #fffdf7;
  border-radius: var(--radius-large);
  padding: 1.8rem 1.7rem 1.9rem;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.1);
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.92rem;
}

.form-field label {
  font-weight: 600;
}

.form-field input,
.form-field textarea {
  font-family: inherit;
  font-size: 0.95rem;
  padding: 0.6rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(40, 73, 59, 0.35);
  background: #fbf8f0;
  outline: none;
  transition: var(--transition-fast);
}

.form-field textarea {
  min-height: 150px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: #2f7d46;
  box-shadow: 0 0 0 1px rgba(47, 125, 70, 0.25);
  background: #fff;
}

.form-footnote {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(15, 59, 46, 0.13);
  margin-top: 4rem;
  padding: 1.5rem 0 1.8rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
}

/* Language helper class */

[data-i18n] {
  transition: color 0.15s ease;
}

/* Responsive styles */

@media (max-width: 900px) {
  .hero {
    height: auto;
    min-height: 420px;
  }
}

@media (max-width: 840px) {
  nav {
    gap: 1rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: var(--header-height);
    right: 0;
    left: 0;
    background: rgba(15, 59, 46, 0.98);
    flex-direction: column;
    padding: 0.75rem 1.5rem 1rem;
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    pointer-events: none;
  }

  .nav-links.is-open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links li {
    padding: 0.15rem 0;
  }

  .lang-switch {
    margin-left: 0;
  }

  .split,
  .page-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .sustainability-band {
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 2rem;
  }

  .section {
    padding-top: 3rem;
  }

  .sustainability-band {
    margin-top: 2.2rem;
  }
}
