:root {
    --green: #39ff14;
    --dark: #0b1f1a;
    --dark-soft: #102b24;
    --light: #f4fdf6;
    --text: #e8f5ee;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    background: var(--dark);
    color: var(--text);
    line-height: 1.2;
}

ul {
  margin-left: 2rem;
}


.container {
    width: min(1200px, 92%);
    margin: auto;
}

/* ================= HEADER ================= */

.site-header {
    background: #9d9d9d;
    position: relative;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 160px;
}

/* ================= NAVIGATION ================= */

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.main-nav a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
}
/*==================VCard===================*/
.cardcard {
  /* Add shadows to create the "card" effect */
  color: black;
  background-color: white;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  transition: 0.3s;
  max-width: 25%;
  min-width: 450px;
  text-align: center;

}

/* On mouse-over, add a deeper shadow */
.cardcard:hover {
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}

/* Add some padding inside the card container */
.cardcontainer {
  padding: 2px 16px;
  margin; 20px;

}
/* ================= BUTTON ================= */

.btn {
    position: relative;
    padding: 0.7rem 1.4rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
}

.btn-primary {
    background: #047d00;
    color: #000;
}

.btn-primary:hover {
    background: var(--green);
}
.btn-secondary {
    background: none;
    color: white;
    border: 2px solid var(--green);
}

.btn-secondary:hover {
    background: var(--green);
    color: black;
}
.btn-head {
    background: none;
    color: white;
    border: 2px solid;

}
.btn-head:hover {
    color: white;
    border: 2px solid var(--green);
}

/* ================= HAMBURGER ================= */

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 26px;
    height: 3px;
    background: var(--green);
    transition: 0.3s ease;
}

/* ================= HERO ================= */

.hero {
    position: relative;
    background: url("../images/hero-bg.png") center / cover no-repeat;
    padding: 1rem 0;
    overflow: hidden;
}
.herotop {
    position: relative;
    background: url("../images/hero-bg.png") center / cover no-repeat;
    padding: 2rem 0;
    overflow: hidden;
}


.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(11, 31, 26, 0.45); /* dunkles Grün, 55% */
    z-index: 0;
}

.hero > * {
    position: relative;
    z-index: 1;
}
.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-images {
    position: relative;
    width: 100%;
    height: 220px;
}

.hero-images img {
    position: absolute;
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
    object-fit: cover;
}

/* Hauptbild */
.img-main {
    width: 60%;
    height: 100px;
    top: 60px;
    left: 0;
    z-index: 2;
}

/* Oberes kleines Bild */
.img-top {
    width: 55%;
    height: 100px;
    top: 0;
    right: 0;
    z-index: 1;
}

/* Unteres kleines Bild */
.img-bottom {
    width: 60%;
    height: 100px;
    bottom: 0;
    right: 10%;
    z-index: 3;
}


/* ================= SERVICES ================= */

.services {
   background: #e9e9e9;
    color: #111;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  padding-top:10px;
  padding-bottom: 20px;
}
.servicesleft {
    background: var(--light);
    color: #111;
    padding: 4rem 0;
}
.services h2,
.section-subtitle {
    text-align: left;
}

.servicesleft h2,
.section-subtitle {
    text-align: left;
}


.section-subtitle {
    margin-bottom: 3rem;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.service-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}
.service-image {
  width: 100%;
  aspect-ratio: 16 / 9;      /* Einheitliche Bildhöhe */
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;         /* Bild füllt Container, kein Verzerren */
  display: block;
}
/* ================= SECTIONS ================= */

.security {
    background: url("../images/security-bg.jpg") center / cover no-repeat;
    padding: 4rem 0;
    text-align: center;
}

.trust {
    background: #081814;
    padding: 3rem 0;
    text-align: center;
}

.site-footer {
    background: #040d0b;
    padding: 1.5rem 0;
    text-align: center;
}
/* ============= Impressum ============ */
.impressum {
  max-width: 800px;
  margin: 0 auto;
  margin-bottom: 20px;
  line-height: 1.6;
}

.impressum h1,
.impressum h2 {
  margin-top: 0.5rem;
}

.impressum address {
  font-style: normal;
}

.impressum .note {
  font-size: 1rem;
}
/* ================= Kontaktformular ================= */
/* =========================
   Base
   ========================= */
.contact-form {
  max-width: 640px;
  margin: 0 auto;
  padding: 2rem;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);

  display: flex;
  flex-direction: column;
  gap: 1.25rem;

  font-family: system-ui, -apple-system, BlinkMacSystemFont,
               "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* =========================
   Labels & Inputs
   ========================= */
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #1f2933;
}

.contact-form input,
.contact-form textarea {
  padding: 0.65rem 0.75rem;
  font-size: 0.95rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background-color: #ffffff;
  color: #111827;

  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Focus State */
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
}

/* =========================
   Textarea
   ========================= */
.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

/* =========================
   Fieldset (Checkbox Group)
   ========================= */
.contact-form fieldset {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 1rem 1.25rem;

  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-form legend {
  padding: 0 0.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #374151;
}

/* Checkbox rows */
.contact-form fieldset label {
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  font-weight: 400;
  font-size: 0.9rem;
}

/* Checkbox styling */
.contact-form input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #22c55e;
}

/* =========================
   Privacy Checkbox
   ========================= */
.contact-form label input[type="checkbox"] + span {
  font-size: 0.85rem;
  color: #4b5563;
}

/* =========================
   Submit Button
   ========================= */
.contact-form button {
  margin-top: 0.5rem;
  padding: 0.75rem 1.25rem;

  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;

  border: none;
  border-radius: 10px;
  cursor: pointer;

  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.contact-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(34, 197, 94, 0.3);
}

.contact-form button:active {
  transform: translateY(0);
  box-shadow: none;
}

/* =========================
   Required Fields
   ========================= */
.contact-form input:required,
.contact-form textarea:required {
  border-left: 3px solid #22c55e;
}

/* =========================
   Mobile
   ========================= */
@media (max-width: 480px) {
  .contact-form {
    padding: 1.5rem 1.25rem;
  }
}
.privacy-check {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #374151;
}

.privacy-check a {
  color: #16a34a;
  text-decoration: underline;
}

.privacy-check a:hover {
  color: #15803d;
}


/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {

    .hero-content {
        grid-template-columns: 1fr;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--dark-soft);

        flex-direction: column;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;

        z-index: 1000;
    }

    .main-nav a {
        padding: 13px;
        width: 98%;
        text-align: center;
  align-items: center;     /* vertikal */
        border-top: 1px solid rgba(255,255,255,0);
    }

    .main-nav.active {
        max-height: 500px;
    }

    .btn-head {
  align-items: center;     /* vertikal */
    background: none;
    color: white;
    border: none;
    }
    .btn-head:hover {
  align-items: center;     /* vertikal */
        color: white;
        border: none;
    
    }
}
/* ================= Services ================= */

.services-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  font-family: system-ui, -apple-system, BlinkMacSystemFont,
               "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.services-hero {
  text-align: center;
  margin-bottom: 3rem;
}

.services-hero h1 {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}

.services-hero p {
  color: #4b5563;
  font-size: 1.05rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 1.75rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.service-card h2 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: #111827;
}

.service-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #374151;
}
