/* Unterstreichung bei Links in Referenzkarten komplett entfernen */
.reference-card,
.reference-card a,
.reference-card a:visited,
.reference-card a:hover,
.reference-card a:active {
  text-decoration: none !important;
}
/* Unterstreichung bei Links in Referenzkarten entfernen */
.reference-card a {
  text-decoration: none !important;
}
.reference-card h3 {
  text-decoration: none !important;
}
/* Strich unter Referenz-Kategorie-Header entfernen */
.reference-category-header {
  border-bottom: none !important;
}
/* Referenz-Modal */
.reference-modal {
  position: fixed;
  z-index: 9999;
  left: 0; top: 0; width: 100vw; height: 100vh;
  display: none;
  align-items: center; justify-content: center;
  background: rgba(36,138,145,0.13);
  backdrop-filter: blur(2px);
}
.reference-modal[style*="display: flex"] {
  display: flex !important;
}
.modal-content {
  background: var(--bg,#f4fdff);
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(36,138,145,0.13);
  max-width: 410px;
  width: 96vw;
  padding: 2.2rem 1.5rem 1.2rem 1.5rem;
  position: relative;
  animation: modalIn .32s cubic-bezier(.7,1.6,.5,1) 1;
}
@keyframes modalIn {
  0% { opacity: 0; transform: translateY(40px) scale(.98); }
  100% { opacity: 1; transform: none; }
}
.modal-close {
  position: absolute;
  top: 12px; right: 14px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #248A91;
  cursor: pointer;
  transition: color .2s;
  z-index: 2;
}
.modal-close:hover { color: #007b86; }
.modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
}
.modal-details > div {
  margin-bottom: 0.4rem;
  font-size: 1.08rem;
}
.modal-details strong { color: #248A91; font-weight: 600; }
.modal-image-placeholder {
  background: #e6f5f7;
  color: #248A91;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin-bottom: 18px;
  min-height: 120px;
}
.reference-card.clickable {
  cursor: pointer;
  transition: box-shadow .18s, transform .18s;
}
.reference-card.clickable:hover {
  box-shadow: 0 4px 18px rgba(36,138,145,0.10);
  transform: translateY(-2px) scale(1.025);
  /* border-color entfernt */
}
:root{
  --turquoise:#00a3c4; /* deeper turquoise */
  --turquoise-dark:#007b86; /* stronger contrast */
  --muted:#435e61; /* darker muted text */
  --text-color:#072b2c; /* main text color stronger */
  --bg:#f4fdff;
  --max-width:1100px;
}
*{box-sizing:border-box}
body{font-family:Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial; margin:0; color:var(--text-color); background:var(--bg);}
.container{max-width:var(--max-width);margin:0 auto;padding:20px;}
.site-header{border-bottom:1px solid #eef6f7;background:linear-gradient(90deg, rgba(0,188,212,0.03), rgba(0,188,212,0.01));}
.header-inner{display:flex;align-items:center;gap:20px;justify-content:space-between}
.logo img{height:48px}
.main-nav a{margin:0 10px;color:var(--muted);text-decoration:none;font-weight:600}
.call{background:var(--turquoise);color:white;padding:10px 14px;border-radius:6px;text-decoration:none;font-weight:700}
.hero{padding:80px 0;background:linear-gradient(180deg, rgba(0,188,212,0.06), transparent);}
.hero-inner{text-align:left}
.hero h1{font-size:48px;margin:0 0 10px;color:#02373a}
.lead{font-size:18px;color:var(--muted);margin-bottom:20px}
.hero-inner{display:flex;align-items:center;gap:28px}
.hero-image{width:320px;max-width:40%;border-radius:12px;box-shadow:0 10px 30px rgba(3,50,53,0.06);border:1px solid #e6f5f7;background:#f7fbfc}
.btn{display:inline-block;padding:10px 16px;border-radius:8px;border:none;background:#f0f6f6;color:#02373a;text-decoration:none}
.btn.primary{background:var(--turquoise);color:#fff}
.section{padding:60px 0}
.services .grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px;margin-top:20px}
.card{background:#fff;border:1px solid #eef6f7;padding:18px;border-radius:10px;box-shadow:0 6px 18px rgba(3,50,53,0.03)}
.card h3{margin-top:0;color:#02373a}
.about p{max-width:800px;color:var(--muted)}
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:start}
.contact-form label{display:block;margin-bottom:10px;color:var(--muted)}
.contact-form input,.contact-form textarea{width:100%;padding:10px;border:1px solid #dfeff0;border-radius:6px}
.contact-form button{margin-top:8px;background:var(--turquoise-dark);color:#fff;padding:10px 14px;border-radius:8px;border:none}
.site-footer{border-top:1px solid #eef6f7;padding:18px 0;background:#fff}
.footer-inner{display:flex;justify-content:space-between;align-items:center}
.footer-nav a{margin-left:12px;color:var(--muted);text-decoration:none}
@media(max-width:800px){.header-inner{flex-direction:row;}.main-nav{display:none}.contact-grid{grid-template-columns:1fr}.hero h1{font-size:34px}.footer-inner{flex-direction:column;gap:8px}}
@media(max-width:900px){.hero-inner{flex-direction:column}.hero-image{max-width:92%;width:auto}}
