/* styles.css */
:root {
  --accent: #597b32;           /* neue Akzentfarbe */
  --accent-soft: #f0f5ea;      /* sanfter Grünton für Hintergründe */
  --text-main: #212529;
  --text-muted: #868e96;
  --border-soft: #dee2e6;
  --bg-main: #ffffff;
  --bg-body: #f8f9fa;
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.04);
}

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

html, body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg-body);
  color: var(--text-main);
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */

.site-header {
  background: var(--bg-main);
  border-bottom: 1px solid var(--border-soft);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-weight: 700;
  letter-spacing: 0.03em;
  font-size: 1.05rem;
  text-transform: uppercase;
  color: var(--accent);
}

.brand-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
}

.brand-subtitle::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 0.35rem;

  /* Pfad zu deinem Symbol anpassen */
  background-image: url("orange.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  flex-shrink: 0;
}

.main-nav {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
}

.main-nav a {
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}

.main-nav a:hover {
  background: var(--accent-soft);
  text-decoration: none;
}

.main-nav a.active {
  background: var(--accent);
  color: #fff;
}

/* Main content */

.site-main {
  flex: 1;
}

.main-inner {
  max-width: 1040px;
  margin: 2.5rem auto 3rem;
  padding: 0 1.5rem;
}

/* Landing (Startseite) */

.hero-card {
  background: var(--bg-main);
  border-radius: 1.5rem;
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 2.5rem;
  align-items: center;
}

@media (max-width: 768px) {
  .hero-card {
    grid-template-columns: minmax(0, 1fr);
    padding: 2rem 1.5rem;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.hero-title {
  font-size: clamp(2rem, 3vw, 2.4rem);
  margin: 0 0 0.75rem;
}

.hero-lead {
  margin: 0 0 1.75rem;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-meta .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #40c057;
  flex-shrink: 0;
}

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

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.05s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: #3f5a23;
  border-color: #3f5a23;
  text-decoration: none;
  transform: translateY(-1px);
}


.btn-ghost {
  background: transparent;
  color: var(--text-main);
  border-color: var(--border-soft);
}

.btn-ghost:hover {
  background: #f1f3f5;
  text-decoration: none;
}

/* Info block on hero */

.hero-sidecard {
  background: var(--accent-soft);
  border-radius: 1.25rem;
  padding: 1.5rem 1.5rem 1.25rem;
  border: 1px solid #d8e5c3;  /* sanftes Grün */
}

.hero-sidecard-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.hero-sidecard-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

.hero-sidecard-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
}

.hero-sidecard-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.hero-sidecard-badge {
  font-size: 0.75rem;
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #d8e5c3;
  color: var(--accent);
  font-weight: 500;
}

/* Legal pages */

.page-title {
  font-size: 1.7rem;
  margin-bottom: 0.25rem;
}

.page-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.legal-card {
  background: var(--bg-main);
  border-radius: 1.25rem;
  padding: 1.75rem 1.6rem;
  box-shadow: var(--shadow-soft);
  font-size: 0.92rem;
  line-height: 1.5;
}

.legal-card h1,
.legal-card h2,
.legal-card h3 {
  margin-top: 1.2rem;
  margin-bottom: 0.5rem;
}

.legal-card p {
  margin: 0 0 0.6rem;
}

.legal-card ul {
  padding-left: 1.2rem;
  margin: 0 0 0.6rem;
}

/* Footer */

.site-footer {
  background: var(--bg-main);
  border-top: 1px solid var(--border-soft);
  margin-top: auto;
}

.footer-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 1.8rem 1.5rem 1.5rem;
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 2.2fr) minmax(0, 1.4fr);
  gap: 1.75rem;
  font-size: 0.86rem;
}

@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

.footer-section-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.footer-logo {
  height: 30px;
  width: auto;
  margin-bottom: 0.4rem;
}

.footer-contact p,
.footer-opening p,
.footer-links p {
  margin: 0 0 0.3rem;
}

.footer-links a {
  display: inline-block;
  margin-right: 0.75rem;
  margin-bottom: 0.35rem;
}

.footer-bottom {
  border-top: 1px solid var(--border-soft);
  padding: 0.9rem 1.5rem 1.1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}


/* Bilderkarussell für Unterseiten (Haustüren / Innentüren) */

.carousel {
  margin-top: 1.5rem;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  align-items: flex-start;
}

.carousel-item {
  flex: 0 0 25%;        /* Desktop: 4 Bilder */
  max-width: 25%;
  width: 25%;
  height: auto;         /* keine feste Höhe */
  border-radius: 0.75rem;
  display: block;
  object-fit: contain;
  margin-right: 12px;   /* Abstand zwischen den Bildern */
}

/* Tablet: 3 Bilder */
@media (max-width: 900px) {
  .carousel-item {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
    width: 33.3333%;
  }
}

/* Smartphone: 2 Bilder */
@media (max-width: 640px) {
  .carousel-item {
    flex: 0 0 50%;
    max-width: 50%;
    width: 50%;
  }
}



/* Facts unter der Willkommen-Sektion auf der Startseite */

.facts-grid {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.fact {
  flex: 1 1 140px;
}

.fact-number {
  font-size: 1.4rem;
  font-weight: 700;
}

.fact-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
