/* =========================================================
   0) BASE / RESET (global)
========================================================= */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body{
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background:#fff;          /* Standard-Hintergrund */
  color:#111;
}

img { max-width: 100%; display:block; }
a { color: inherit; }

/* =========================================================
   1) TOKENS / VARIABLEN (global)
========================================================= */
:root{
  --green:#2F5C34;
  --dark:#1a2e1b;
  --accent:#F4D03F;

  --muted:#666;
  --line: rgba(17,24,39,0.12);
  --border: rgba(0,0,0,0.08);

  --shadow: 0 20px 55px rgba(0,0,0,0.10);
  --radius: 20px;
  --container: 1120px;
}

/* =========================================================
   2) LAYOUT / WRAPPER
   HTML: .container, .section, .bg-light
========================================================= */
.container{
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.section{ padding: 90px 0; }
.bg-light{ background: #f6f7f8; }

.section-title{
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  margin: 0 0 10px 0;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-align: center;
}
.section-subtitle{
  margin: 0 auto 45px auto;
  max-width: 800px;
  text-align: center;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.6;
}
.section-subtitle-narrow{ max-width: 600px; }

.muted{ color: var(--muted); line-height: 1.6; }

/* =========================================================
   3) HEADER / NAVIGATION
   HTML: header.header -> .header-content, .logo-area, .nav-links
========================================================= */
.header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-content{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
}

.logo-area{
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-wrap{
  width: 100px;
  height: 100px;
}

.logo-img{
  width: 100px;
  height: 100px;
  object-fit: contain;
}
.brand-name{
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: 1.4rem;
}

.nav-links{
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-link{
  text-decoration: none;
  font-weight: 700;
  color: #222;
  padding: 10px 10px;
  border-radius: 12px;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-link:hover{
  background: rgba(47,92,52,0.08);
  color: var(--green);
}
.nav-link.is-active{
  background: rgba(244,208,63,0.25);
  color: #111;
}

/* Mobile Nav */
.nav-toggle{
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
}
.nav-toggle span{
  display: block;
  height: 2px;
  width: 18px;
  background: #111;
  margin: 4px auto;
  border-radius: 2px;
}
.mobile-nav{
  display: none;
  border-top: 1px solid var(--border);
  padding: 10px 0 14px 0;
}
.mobile-nav a{
  display:block;
  margin: 6px 0;
}
.mobile-nav.is-open{ display:block; }

/* =========================================================
   4) HERO
   HTML: section.hero -> .hero-grid, .btn, .hero-image-wrapper
========================================================= */
.hero{
  padding: 70px 0 40px 0;
  background: linear-gradient(180deg, rgba(47,92,52,0.06), transparent);
}
.hero-grid{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero h1{
  font-size: clamp(2.3rem, 4vw, 4rem);
  margin: 14px 0;
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 950;
}
.highlight{ color: var(--green); }

.hero-desc{
  margin: 0 0 22px 0;
  color: #333;
  line-height: 1.6;
  font-size: 1.1rem;
}

/* Buttons (Hero & Wizard) */
.btn-row{
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 900;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:active{ transform: translateY(1px); }
.btn:hover{ transform: translateY(-1px); }

.btn-accent{
  background: var(--accent);
  color: #111;
  box-shadow: 0 12px 24px rgba(244,208,63,0.25);
}
.btn-outline{
  background: var(--accent);  
}

.hero-features{
  display: flex;
  gap: 20px;
  margin-top: 26px;
  font-size: 0.95rem;
  color: #444;
  font-weight: 800;
  flex-wrap: wrap;
}
.feature{
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.check{
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(47,92,52,0.12);
  color: var(--green);
  font-weight: 950;
}

.hero-image-wrapper{
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: var(--shadow);
}
.hero-image{
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom;
}

/* =========================================================
   5) LEISTUNGEN / SERVICE-CARDS
   HTML: #leistungen -> .service-grid -> .card -> .service-list
========================================================= */
.service-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.card{
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 24px;
  padding: 22px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, padding 0.25s ease;
  position: relative;
}

/* Liste, die ausklappt */
.service-list{
  opacity: 1;
  max-height: none;
  overflow: visible;
  margin-top: 12px;
}
/* Hover / Active (via JS click toggle) */
.card:hover,
.card.active{
  border-color: var(--accent);
  box-shadow: 0 18px 40px rgba(0,0,0,0.08);
  transform: translateY(-10px);
  padding-bottom: 36px;
}
.card:hover .service-list,
.card.active .service-list{
  opacity: 1;
  max-height: 500px;
  margin-top: 12px;
}

.icon-box{
  width:48px;
  height:48px;
  border-radius:14px;
  display:grid;
  place-items:center;
  background:#E5E7EB;   /* grauer Hintergrund */
  color:#000000;        /* schwarzes Icon */
  transition: all .25s ease;
}

.card:hover .icon-box{
  background:#D1D5DB;   /* etwas dunkleres Grau beim Hover */
}

.info-icon{
  position:absolute;
  bottom:16px;
  right:18px;
  opacity:0.5;
  transition: all .2s ease;
}

.card:hover .info-icon{
  opacity:1;
  transform:scale(1.1);
}

.card h3{
  margin: 0 0 8px 0;
  font-size: 1.2rem;
  font-weight: 950;
}

/* (Du nutzt div.card-link – falls später wieder <a> genutzt wird) */
.card-link{
  display: block;
  text-decoration: none;
  color: inherit;
}

.card-header{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:10px;
}

.card-header h3{
  margin:0;
}

/* =========================================================
   6) VALUES / "UNSER VERSPRECHEN"
   HTML: section.values-section -> .values-grid -> .value-item + .image-card
========================================================= */
.values-section{
  background: radial-gradient(1200px 600px at 20% 10%, rgba(50,80,140,0.18), transparent 60%),
              linear-gradient(180deg, #0b1220 0%, #0a1020 100%);
  padding: 90px 0;
  color: #e5e7eb;
}

.values-grid{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 70px;
  align-items: center;
}

.eyebrow{
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: .9rem;
}

.values-title{
  color:#fff;
  font-size: 3rem;
  line-height: 1.05;
  margin: 14px 0 18px 0;
  font-weight: 900;
}

.values-text{
  color: rgba(229,231,235,0.82);
  line-height: 1.7;
  max-width: 560px;
}

.value-list{
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.value-item{
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  box-shadow: 0 18px 45px rgba(0,0,0,0.35);
}

/* Icon Tile (einmal sauber) */
.icon-tile{
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(6,10,20,0.65);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow:
    0 14px 30px rgba(0,0,0,0.45),
    0 0 0 1px rgba(0,0,0,0.15) inset;
  color: var(--accent);
}
.icon-tile svg{ width: 30px; height: 30px; }

.icon-tile--yellow{
  color: var(--accent);
  box-shadow:
    0 14px 30px rgba(0,0,0,0.45),
    0 0 22px rgba(244,208,63,0.12);
}

.value-copy h4{
  margin: 0 0 6px 0;
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
}
.value-copy p{
  margin: 0;
  color: rgba(229,231,235,0.75);
}

/* Bild rechts */
.image-card{
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 20px 55px rgba(0,0,0,0.55);
  height: 460px;
}
.image-card img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.image-quote{
  position:absolute;
  left:0; right:0; bottom:0;
  padding: 18px 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
}
.image-quote p{
  margin: 0;
  color: #fff;
  font-style: italic;
}

/* =========================================================
   7) GALLERY / REFERENZEN
   HTML: #ergebnisse -> .gallery-grid -> .gallery-item -> .gallery-label
========================================================= */
.gallery-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.gallery-item{
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  height: 220px;
  margin: 0;
  box-shadow: 0 14px 28px rgba(0,0,0,0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  will-change: transform;
}
.gallery-item img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  will-change: transform;
}
.gallery-label{
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 7px 10px;
  border-radius: 12px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-weight: 900;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}
.gallery-item:hover{
  transform: translateY(-8px);
  box-shadow: 0 30px 70px rgba(0,0,0,0.35);
}
.gallery-item:hover img{ transform: scale(1.08); }

/* =========================================================
   8) WIZARD / ANFRAGE-FLOW
   HTML: #wizard -> .wizard-shell -> left/right -> .step
========================================================= */
.wizard-wrap{ padding: 36px 24px; }

.wizard-shell{
  max-width: 1120px;
  margin: 0 auto;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 380px 1fr;
  min-height: 640px;
}

/* LEFT */
.wizard-left{
  background: var(--green);
  padding: 32px 26px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.wizard-left-inner{
  width:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 22px;
}
.wizard-illustration{
  width: 240px;
  height: 280px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  border-radius: 18px;
  overflow:hidden;
}
.wizard-illustration img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.wizard-bubble{
  width: 100%;
  max-width: 300px;
  padding: 18px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color:#fff;
  text-align:center;
}
.wizard-bubble p{ margin:0; line-height: 1.35; }
.wizard-bubble strong{ font-size: 1.05rem; }

/* RIGHT */
.wizard-right{ padding: 26px 34px 34px 34px; }

.wizard-right, .wizard-right *{
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.progress{
  height: 6px;
  background: #e5e7eb;
  border-radius: 999px;
  overflow:hidden;
}
.progress-fill{
  height: 100%;
  background: var(--green);
  border-radius: 999px;
  transition: width .35s ease;
}

.backlink{
  margin-top: 12px;
  background: transparent;
  border: none;
  color: #6b7280;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 0;
}
.backlink:hover{ color: #111827; }

.step{ display:none; }
.step.is-active{ display:block; }

.wizard-right h2{
  margin: 14px 0 6px 0;
  font-size: 2rem;
  letter-spacing:-0.02em;
}

.wizard-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.wiz-card{
  border: 1px solid rgba(17,24,39,0.08);
  background:#fff;
  border-radius: 16px;
  padding: 16px 14px;
  height: 200px;
  cursor:pointer;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap: 10px;

  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  box-shadow: 0 12px 26px rgba(0,0,0,0.06);
}
.wiz-card img{ width:100px; height:100px; object-fit:contain; }
.wiz-card span{
  font-weight: 900;
  letter-spacing: .03em;
  font-size: .82rem;
  color:#111827;
}
.wiz-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(0,0,0,0.10);
  border-color: rgba(244,208,63,0.9);
}
.wiz-card.is-selected{
  border-color: var(--accent);
  box-shadow: 0 22px 50px rgba(0,0,0,0.12);
}



/* Form */
.field{ display:block; margin: 16px 0; }

.label{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight: 900;
  font-size: .85rem;
  letter-spacing:.03em;
  color:#111827;
  margin-bottom: 8px;
}
.icon{ opacity: .8; }

input, textarea{
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 14px;
  font-size: 1rem;
  outline: none;
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, textarea:focus{
  border-color: rgba(47,92,52,0.6);
  box-shadow: 0 0 0 4px rgba(47,92,52,0.10);
}

.two-col{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Alert Box */
.alert-box{
  margin: 18px 0 22px 0;
  border-radius: 14px;
  padding: 14px 14px;
  border: 2px dashed rgba(239,68,68,0.35);
  background: rgba(239,68,68,0.05);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
}
.alert-left{ display:flex; gap:12px; align-items:center; }
.alert-icon{
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display:grid;
  place-items:center;
  background:#fff;
  border: 2px solid rgba(239,68,68,0.35);
  color: rgb(225,29,72);
  font-weight: 900;
}
.alert-title{ font-weight:900; }
.alert-text{ color:#6b7280; font-size:.95rem; }

/* Switch */
.switch{ display:flex; align-items:center; gap:10px; }
.switch input{ display:none; }
.switch-ui{
  width: 44px;
  height: 26px;
  border-radius: 999px;
  background: #e5e7eb;
  position:relative;
  transition: background .2s ease;
}
.switch-ui::after{
  content:"";
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background:#fff;
  position:absolute;
  left:3px; top:3px;
  transition: transform .2s ease;
  box-shadow: 0 6px 12px rgba(0,0,0,0.18);
}
.switch input:checked + .switch-ui{ background: rgba(239,68,68,0.65); }
.switch input:checked + .switch-ui::after{ transform: translateX(18px); }

/* Buttons */
.btn-primary{
  width: 100%;
  border: none;
  border-radius: 14px;
  padding: 18px 18px;
  font-size: 1.05rem;
  font-weight: 900;
  cursor:pointer;
  background: var(--accent);
  color:#111827;
  transition: transform .15s ease, box-shadow .15s ease;
  box-shadow: 0 18px 35px rgba(244,208,63,0.35);
}
.btn-primary:hover{
  transform: translateY(-2px);
  box-shadow: 0 24px 55px rgba(244,208,63,0.45);
}

/* Safe box */
.safe-box{
  margin: 18px 0 22px 0;
  border-radius: 14px;
  padding: 14px 14px;
  border: 1px solid rgba(34,197,94,0.25);
  background: rgba(34,197,94,0.08);
  display:flex;
  gap: 12px;
  align-items:center;
}
.safe-icon{
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display:grid;
  place-items:center;
  background: rgba(34,197,94,0.14);
  color: #166534;
  font-weight: 900;
}
.safe-title{ font-weight:900; }
.safe-text{ color:#6b7280; font-size:.95rem; }

/* =========================================================
   9) FOOTER
   HTML: footer.footer -> .footer-inner, .footer-links
========================================================= */
.footer{
  background: var(--dark);
  color: #e5e7eb;
  padding: 100px 0 40px 0;
  border-top: 4px solid var(--accent);
  position: relative;
  overflow: hidden;
}
.footer-bg-logo{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  opacity: 0.10;
  background-image: url(/images/Logo_01.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
}
.footer-inner{
  position: relative;
  z-index: 1;
  text-align: center;
}
.footer-brand{
  font-size: 3rem;
  color: #fff;
  font-weight: 950;
  letter-spacing: -2px;
  margin: 0 0 10px 0;
  text-shadow: 0 4px 10px rgba(0,0,0,0.30);
}
.footer-tagline{
  margin: 0 0 40px 0;
  font-size: 1.25rem;
  color: #d1d5db;
  font-weight: 650;
}
.accent{ color: var(--accent); font-weight: 950; }

.footer-meta{
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid rgba(255,255,255,0.10);
  padding-top: 26px;
  font-size: 0.95rem;
  color: #9ca3af;
}
.footer-pills{
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.footer-links{
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}
.footer-link{
  color: #fff;
  text-decoration: none;
  padding: 6px 8px;
  border-radius: 12px;
  transition: background 0.2s ease;
}
.footer-link:hover{
  background: rgba(255,255,255,0.08);
}

/* =========================================================
   10) RESPONSIVE / MEDIA QUERIES
========================================================= */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .service-grid{ grid-template-columns: 1fr; }
  .values-grid{ grid-template-columns: 1fr; gap: 40px; }
  .image-card{ height: 360px; }
  .values-title{ font-size: 2.3rem; }

  .wizard-shell{ grid-template-columns: 1fr; min-height: auto; }
  .wizard-grid{ grid-template-columns: repeat(2, 1fr); }
  .two-col{ grid-template-columns: 1fr; }

  .nav-links{ display: none; }
  .nav-toggle{ display: inline-block; }
}

@media (max-width: 520px){
  .wizard-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 768px){
  /* Mobile Gallery Scroll */
  .gallery-grid{
    display: flex;
    overflow-x: auto;
    gap: 14px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
  }
  .gallery-item{
    flex: 0 0 80%;
    scroll-snap-align: start;
  }
  .gallery-grid::-webkit-scrollbar{ display:none; }
  .gallery-grid{ scrollbar-width:none; }
}

@media (max-width: 980px){
  .wizard-wrap{ padding: 18px 12px; }
  .wizard-left{ padding: 18px 14px; }
  .wizard-shell{ border-radius: 18px; }
}