/* =====================================================
   RESET & BASIS
===================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #7bb062;
  --primary-dark: #6fa958;

  --text: #222;
  --gray: #666;

  --bg: #f8f8f8;
  --light-bg: #f0f4ed;
  --white: #ffffff;

  --radius: 12px;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-soft: 0 2px 8px rgba(0, 0, 0, 0.04);
}

html,
body {
  height: 100%;
}

body {
  min-height: 100%;
  display: flex;
  flex-direction: column;

  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

main {
  flex: 1; /* sorgt dafür, dass der Footer unten bleibt */
}

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

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

a:hover {
  text-decoration: underline;
}

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* =====================================================
   HEADER
===================================================== */

.site-header {
  background: var(--white);
  padding: 12px 0;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}

.logo-icon img {
  height: 42px;
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-title {
  font-weight: 800;
  font-size: 1.15rem;
}

.logo-subtitle {
  font-size: 0.85rem;
  color: var(--gray);
}

/* Navigation Desktop */

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 22px;
  align-items: center;
}

.main-nav a {
  color: var(--text);
  font-weight: 600;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--primary);
  text-decoration: none;
}

.main-nav a.active {
  color: var(--primary);
  font-weight: 800;
}

/* Mobile Toggle */

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 28px;
  height: 3px;
  background: var(--text);
  border-radius: 3px;
}

/* =====================================================
   BUTTONS
===================================================== */

.btn,
.btn-secondary {
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  font-weight: 700;
  transition: 0.2s ease;
  cursor: pointer;
}

.btn {
  background: var(--primary);
  color: var(--white);
}

.btn:hover {
  background: var(--primary-dark);
  text-decoration: none;
}

.btn-secondary {
  background: #eee;
  color: var(--text);
}

.btn-secondary:hover {
  background: #ddd;
  text-decoration: none;
}

.btn-small {
  padding: 8px 14px;
  font-size: 0.9rem;
}

.btn-large {
  padding: 14px 24px;
  font-size: 1.1rem;
}

/* =====================================================
   HERO
===================================================== */

.hero-simple {
  padding: 60px 0 40px;
  background: linear-gradient(135deg, #f5faf1, var(--bg));
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-simple h1 {
  font-size: 2.1rem;
  margin-bottom: 14px;
  line-height: 1.2;
}

.hero-simple p {
  max-width: 560px;
  margin-bottom: 14px;
}

.hero-actions {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-media {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

.hero-photo {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* =====================================================
   HERO SLIDER (Fotobox)
===================================================== */

.hero-slider {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 20px;
}

.hero-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.hero-slider img.active {
  opacity: 1;
}

/* =====================================================
   SECTIONS
===================================================== */

.section {
  padding: 60px 0;
  background: var(--white);
}

.section-alt {
  background: var(--light-bg);
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

/* =====================================================
   FEATURE GRID
===================================================== */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.feature-card {
  background: #fafafa;
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.feature-card h3 {
  margin-bottom: 10px;
}

.feature-card p {
  flex-grow: 1;
  margin-bottom: 14px;
}

.card-link {
  font-weight: 800;
  color: var(--primary);
}

.card-link:hover {
  text-decoration: underline;
}

/* =====================================================
   CHECKLIST (AGB / Datenschutz)
===================================================== */

.checklist {
  margin: 10px 0 14px 18px;
}

.checklist li {
  margin: 6px 0;
}

/* =====================================================
   FOOTER
===================================================== */

.site-footer {
  background: #1c1c1c;
  color: var(--white);
  padding: 40px 0;
}

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

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: var(--primary);
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 900px) {

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-media {
    align-items: flex-start;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {

  .nav-toggle {
    display: flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 70px;
    right: 10px;
    background: var(--white);
    padding: 18px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    z-index: 2000;
    min-width: 220px;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
}

/* ============================= */
/* Anfrage: Formular Layout */
/* ============================= */

.form-wrap{
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: start;
}

.form-card{
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(0,0,0,0.05);
  padding: 22px;
}

.form-head h2{
  margin-bottom: 8px;
}

.form-head p{
  color: rgba(34,34,34,0.85);
  margin-bottom: 14px;
}

.form-foot{
  margin-top: 14px;
  color: rgba(34,34,34,0.7);
}

.form-side .feature-card{
  background: #fff;
}

.muted{
  color: rgba(34,34,34,0.8);
}

/* Zammad Inline Container optisch hübsch */
.zammad-inline{
  padding: 14px;
  border-radius: 14px;
  background: #fafafa;
  border: 1px solid rgba(0,0,0,0.06);
}

/* Responsive */
@media (max-width: 900px){
  .form-wrap{
    grid-template-columns: 1fr;
  }
}


/* ============================= */
/* Header Anfrage Button Fix */
/* ============================= */

.main-nav .btn {
  background: var(--primary);
  color: var(--white) !important;
}

.main-nav .btn:hover {
  background: var(--primary-dark);
  color: var(--white) !important;
}

.main-nav .btn.active {
  background: var(--primary);
  color: var(--white) !important;
}

.main-nav .btn:focus,
.main-nav .btn:visited {
  color: var(--white) !important;
}
.nav-cta {
  background: var(--primary);
  color: #fff !important;
}