:root{
  --bg:#f6f9fc;
  --card:#ffffff;
  --text:#0b2a3c;
  --muted:#5f7d8f;
  --line:#dbe7ef;

  --brand1:#0bbcd6;  /* aqua */
  --brand2:#3bb273;  /* fresh green */
  --brand3:#0f8fa3;

  --shadow:0 10px 30px rgba(15,143,163,.12);
  --radius:18px;
  --max:1120px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.6;
}
a{text-decoration:none;color:inherit}
.wrap{max-width:var(--max);margin:auto;padding:0 20px}

/* HEADER */
header{
  position:sticky;top:0;z-index:50;
  background:#ffffffee;
  border-bottom:1px solid var(--line);
  backdrop-filter:blur(8px);
}
.nav{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:14px 0;
}
.brand{
  display:flex;
  gap:12px;
  align-items:center;
  font-weight:900;
}
.brand img{
  width:44px;height:44px;
  border-radius:12px;
  object-fit:contain;
}
.brand small{display:block;color:var(--muted);font-weight:700}
nav a{margin-left:18px;font-weight:700;color:var(--muted)}
nav a:hover{color:var(--text)}

.btn{
  padding:10px 16px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  font-weight:800;
  cursor:pointer;
}
.btn.primary{
  background:linear-gradient(135deg,var(--brand1),var(--brand2));
  color:#fff;
  border:none;
  box-shadow:0 12px 28px rgba(11,188,214,.25);
}

/* HERO */
.hero{
  padding:60px 0 40px;
}
.heroGrid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:28px;
}
.pill{
  display:inline-flex;
  gap:8px;
  align-items:center;
  background:#e6f7fb;
  padding:8px 14px;
  border-radius:999px;
  font-weight:700;
  color:var(--brand3);
}
.dot{
  width:10px;height:10px;border-radius:50%;
  background:var(--brand2);
}
h1{
  font-size:clamp(34px,4vw,52px);
  line-height:1.1;
  margin:16px 0 12px;
}
.sub{
  color:var(--muted);
  max-width:60ch;
  margin-bottom:20px;
}
.heroActions{display:flex;gap:12px;flex-wrap:wrap}

.heroImage{
  position:relative;
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow);
}
.heroImage img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.heroImage::after{
  content:"";
  position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(255,255,255,.2),rgba(255,255,255,.9));
}

/* SECTIONS */
section{padding:50px 0}
.sectionHead h2{
  font-size:28px;
  margin-bottom:8px;
}
.sectionHead p{color:var(--muted);max-width:70ch}

/* CARDS */
.grid3{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}
.card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:20px;
  box-shadow:var(--shadow);
}
.card h3{margin:0 0 6px}

/* GALLERY */
.gallery{
  display:grid;
  grid-template-columns:2fr 1fr;
  gap:20px;
}
.gallery img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:var(--radius);
}

/* CONTACT */
.contactGrid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
}
label{
  font-weight:700;
  color:var(--muted);
  display:block;
  margin-bottom:6px;
}
input,select,textarea{
  width:100%;
  padding:12px;
  border-radius:14px;
  border:1px solid var(--line);
  margin-bottom:12px;
}
textarea{min-height:110px}

/* FOOTER */
footer{
  border-top:1px solid var(--line);
  padding:20px 0;
  color:var(--muted);
}

/* RESPONSIVE */
@media(max-width:900px){
  .heroGrid,.grid3,.contactGrid,.gallery{grid-template-columns:1fr}
  nav{display:none}
}

.leistungenSection {
  width: 100%;
  position: relative;
  background: url("hero2.jpeg") center center / cover no-repeat;
  color: #fff;
  overflow: hidden;
  padding: 80px 0; /* more breathing space */
  background-attachment: fixed; /* parallax effect */
}

/* overlay for readability */
.leistungenSection::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11, 42, 60, 0.75); /* dark overlay */
  z-index: 0;
}

/* make content appear above overlay */
.leistungenSection .sectionHead,
.leistungenSection .grid3 {
  position: relative;
  z-index: 1;
}

/* optional: improve card contrast */
.leistungenSection .card {
  background: rgba(255, 255, 255, 0.95);
  color: #0b2a3c;
}

/* contact form */

.contactCenter{
  display: flex;
  justify-content: center; /* center the card horizontally */
}

.contactCenter .card{
  /*max-width: 600px; */
  width: 100%;
  text-align: center; /* THIS centers all content inside */
}

.contactCenter .card p{
  margin-bottom: 14px;
  color: var(--muted);
}

.contactCenter .card a{
  color: var(--brand3);
  font-weight: 800;
}

.contactItem{
  display: inline-block;
  margin: 8px 0 16px;
  padding: 12px 18px;

  border: 2px solid var(--line);
  border-radius: 12px;

  background: #fff;
  color: var(--text);
  font-weight: 700;

  transition: all 0.2s ease;
}

/* hover effect (VERY important for UX) */
.contactItem:hover{
  border-color: var(--brand1);
  background: #f0fbff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

/* click effect */
.contactItem:active{
  transform: scale(0.98);
}