/* ── MSIT One – Öffentliche Website ────────────── */
:root {
  --bg: #0B1220; --surface: #111A2E; --elev: #18233C;
  --border: #243355; --primary: #2F7BFF; --glow: #5EA0FF;
  --cyan: #22D3EE; --accent: #7C3AED;
  --text: #F2F6FF; --text2: #9FB0CE; --text3: #5c6f96;
  --success: #34D399; --warning: #FBBF24;
  --green: #10B981; --orange: #F97316;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--text);
  font: 16px/1.65 'Segoe UI', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--glow); text-decoration: none; }
a:hover { color: #8ec0ff; }
img { max-width: 100%; }

/* ── Wrapper ────────────────────────────────────── */
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ── Navigation ─────────────────────────────────── */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11,18,32,.9); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-nav .wrap { display: flex; align-items: center; height: 78px; gap: 0; }
.nav-brand {
  display: flex; align-items: center; gap: 13px;
  font-weight: 700; font-size: 22px; color: var(--text);
  text-decoration: none; margin-right: auto;
}
.nav-brand .logo-box {
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; font-weight: 800; color: #fff; flex-shrink: 0;
}
.nav-brand img { width: 48px; height: 48px; border-radius: 12px; object-fit: contain; background: #fff; padding: 4px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 14px; border-radius: 9px; font-size: 14.5px; font-weight: 500;
  color: var(--text2); transition: .15s; white-space: nowrap;
}
.nav-links a:hover { background: var(--elev); color: var(--text); }
.nav-links a.active { color: #fff; background: rgba(47,123,255,.15); }
.nav-links .btn-cta {
  background: linear-gradient(135deg, var(--primary), #1D5FD6);
  color: #fff !important; padding: 9px 18px; border-radius: 10px;
  font-weight: 600; margin-left: 8px;
  box-shadow: 0 4px 18px -6px rgba(47,123,255,.55);
}
.nav-links .btn-cta:hover { filter: brightness(1.12); background: linear-gradient(135deg, var(--primary), #1D5FD6) !important; }
.nav-toggle { display: none; background: none; border: none; color: var(--text2); cursor: pointer; padding: 8px; }

/* ── Hero ───────────────────────────────────────── */
.hero {
  padding: 96px 0 80px; position: relative; overflow: hidden;
  background: radial-gradient(ellipse 900px 500px at 10% -10%, #13254e 0%, transparent 65%),
              radial-gradient(ellipse 600px 400px at 90% 110%, rgba(124,58,237,.15) 0%, transparent 60%);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232F7BFF' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-inner { position: relative; display: flex; align-items: center; gap: 60px; flex-wrap: wrap; }
.hero-text { flex: 1; min-width: 300px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(47,123,255,.15); border: 1px solid rgba(47,123,255,.3);
  border-radius: 99px; padding: 6px 16px; font-size: 13px; color: var(--glow);
  font-weight: 500; margin-bottom: 22px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }
.hero h1 {
  font-size: clamp(30px, 5vw, 50px); line-height: 1.15; font-weight: 750; margin-bottom: 20px;
  background: linear-gradient(135deg, #fff 40%, var(--glow));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p { font-size: 18px; color: var(--text2); max-width: 500px; margin-bottom: 30px; line-height: 1.7; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), #1D5FD6); color: #fff;
  padding: 14px 28px; border-radius: 12px; font-weight: 600; font-size: 15px;
  box-shadow: 0 6px 24px -8px rgba(47,123,255,.6); transition: .2s; display: inline-block;
}
.btn-primary:hover { filter: brightness(1.12); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 30px -8px rgba(47,123,255,.7); }
.btn-outline {
  background: transparent; color: var(--text); border: 1px solid var(--border);
  padding: 13px 24px; border-radius: 12px; font-weight: 500; font-size: 15px;
  transition: .2s; display: inline-block;
}
.btn-outline:hover { border-color: var(--primary); color: var(--glow); background: rgba(47,123,255,.06); }
.hero-visual {
  flex: 0 0 340px; display: flex; justify-content: center;
}
.hero-card-stack { position: relative; width: 300px; min-height: 280px; padding: 10px 0; }
.hcard {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 16px 20px; box-shadow: 0 20px 60px -20px rgba(0,0,0,.5);
  font-size: 14px; margin-bottom: 16px;
  animation: hcard-float 4s ease-in-out infinite;
  transition: transform .3s ease, box-shadow .3s ease;
}
.hcard:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 28px 70px -20px rgba(0,0,0,.6); }
/* Versetzte Anordnung + unterschiedliche Animations-Phasen für lebendigen Effekt */
.hcard:nth-child(odd)  { margin-left: 0;    margin-right: 28px; }
.hcard:nth-child(even) { margin-left: 28px; margin-right: 0; background: var(--elev); }
.hcard:nth-child(3n)   { background: rgba(47,123,255,.1); border-color: rgba(47,123,255,.3); }
.hcard:nth-child(1) { animation-delay: 0s; }
.hcard:nth-child(2) { animation-delay: .6s; }
.hcard:nth-child(3) { animation-delay: 1.2s; }
.hcard:nth-child(4) { animation-delay: 1.8s; }
.hcard:nth-child(5) { animation-delay: 2.4s; }
.hcard:nth-child(6) { animation-delay: 3s; }
/* Ab der 7. Karte wiederholt sich das versetzte Muster (funktioniert für beliebig viele) */
.hcard:nth-child(6n+1) { animation-delay: 0s; }
.hcard:nth-child(6n+2) { animation-delay: .6s; }
.hcard:nth-child(6n+3) { animation-delay: 1.2s; }
.hcard:nth-child(6n+4) { animation-delay: 1.8s; }
.hcard:nth-child(6n+5) { animation-delay: 2.4s; }
.hcard:nth-child(6n)   { animation-delay: 3s; }
@keyframes hcard-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
.hcard .hcard-icon { font-size: 24px; margin-bottom: 8px; }
.hcard .hcard-title { font-weight: 600; font-size: 13.5px; }
.hcard .hcard-sub { color: var(--text2); font-size: 12px; margin-top: 3px; }
.hcard .hcard-status { display: inline-flex; align-items: center; gap: 5px; margin-top: 8px; font-size: 12px; color: var(--success); }
@media (prefers-reduced-motion: reduce) { .hcard { animation: none; } }


/* ── Section Common ─────────────────────────────── */
section { padding: 80px 0; }
.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.2px;
  margin-bottom: 14px;
}
.section-headline { font-size: clamp(24px, 3.5vw, 38px); font-weight: 700; line-height: 1.2; margin-bottom: 14px; }
.section-sub { font-size: 17px; color: var(--text2); max-width: 580px; line-height: 1.7; margin-bottom: 50px; }

/* ── Service Cards ──────────────────────────────── */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.service-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 18px; padding: 26px; transition: .25s; cursor: default;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: -60px; right: -60px;
  width: 160px; height: 160px; border-radius: 50%;
  background: radial-gradient(circle, var(--card-glow, rgba(47,123,255,.12)), transparent 70%);
  transition: .3s;
}
.service-card:hover { border-color: var(--card-border, #33508f); transform: translateY(-3px); box-shadow: 0 12px 40px -16px rgba(0,0,0,.5); }
.service-card:hover::before { transform: scale(1.3); }
.svc-icon {
  width: 52px; height: 52px; border-radius: 14px; display: flex;
  align-items: center; justify-content: center; font-size: 24px;
  margin-bottom: 16px; background: var(--icon-bg, rgba(47,123,255,.12));
}
.service-card h3 { font-size: 17px; font-weight: 650; margin-bottom: 10px; }
.service-card p { color: var(--text2); font-size: 14.5px; line-height: 1.65; }
.svc-tag {
  display: inline-block; margin-top: 14px; font-size: 12px; font-weight: 600;
  padding: 4px 11px; border-radius: 99px; background: var(--tag-bg, rgba(47,123,255,.12));
  color: var(--tag-color, var(--glow));
}

/* ── Vehicle Software Section ────────────────────── */
.vehicle-section {
  background: linear-gradient(135deg, rgba(16,185,129,.06) 0%, transparent 60%),
              var(--surface);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.vehicle-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.vehicle-features { display: flex; flex-direction: column; gap: 16px; }
.vfeature {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--bg); border: 1px solid var(--border); border-radius: 14px; padding: 16px 18px;
  transition: .2s;
}
.vfeature:hover { border-color: rgba(16,185,129,.4); }
.vf-icon {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  background: rgba(16,185,129,.12); display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.vfeature h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.vfeature p { color: var(--text2); font-size: 13.5px; line-height: 1.55; }
.brand-logos { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.brand-pill {
  background: var(--elev); border: 1px solid var(--border);
  border-radius: 99px; padding: 6px 16px; font-size: 13px; font-weight: 600; color: var(--text2);
  transition: .2s;
}
.brand-pill:hover { border-color: rgba(16,185,129,.4); color: var(--success); }

/* ── Senioren-Service ────────────────────────────── */
.senior-section { background: radial-gradient(ellipse 800px 400px at 50% 50%, rgba(251,191,36,.05), transparent 70%); }
.senior-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.senior-card {
  background: var(--surface); border: 1px solid rgba(251,191,36,.2);
  border-radius: 18px; padding: 28px; margin-bottom: 14px;
}
.senior-card .sc-icon { font-size: 32px; margin-bottom: 12px; }
.senior-card h4 { font-size: 16px; font-weight: 650; margin-bottom: 8px; }
.senior-card p { color: var(--text2); font-size: 14px; line-height: 1.65; }
.senior-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(251,191,36,.1); border: 1px solid rgba(251,191,36,.25);
  border-radius: 99px; padding: 6px 16px; font-size: 13px; color: var(--warning); font-weight: 500;
}

/* ── Trust Signals ────────────────────────────────── */
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.trust-item {
  text-align: center; padding: 28px 20px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
}
.trust-item .ti-num { font-size: 36px; font-weight: 800; margin-bottom: 6px; background: linear-gradient(135deg, var(--primary), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.trust-item p { color: var(--text2); font-size: 14px; }

/* ── CTA Banner ───────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, #13254e 0%, #0B1220 50%, rgba(124,58,237,.15) 100%);
  border-top: 1px solid var(--border);
}
.cta-inner { text-align: center; padding: 80px 0; }
.cta-inner h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 700; margin-bottom: 14px; }
.cta-inner p { color: var(--text2); font-size: 17px; max-width: 500px; margin: 0 auto 36px; }
.cta-btns { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ── CMS Content ─────────────────────────────────── */
.page-header { padding: 60px 0 30px; background: radial-gradient(800px 300px at 15% -10%, #13254e, transparent 65%); }
.page-header h1 { font-size: clamp(26px, 4vw, 42px); font-weight: 700; }
.page-content { padding: 40px 0 80px; }
.prose {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 18px; padding: 36px 42px; max-width: 820px;
}
.prose h2 { color: var(--glow); font-size: 22px; margin: 28px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 17px; margin: 20px 0 8px; }
.prose p { color: var(--text2); margin-bottom: 16px; line-height: 1.75; }
.prose ul, .prose ol { color: var(--text2); margin: 0 0 16px 22px; }
.prose li { margin-bottom: 8px; line-height: 1.65; }
.prose strong { color: var(--text); }
.prose a { color: var(--glow); }

/* ── Kontaktformular ─────────────────────────────── */
.contact-form { background: var(--elev); border: 1px solid var(--border); border-radius: 18px; padding: 32px; }
.contact-form .cfield { margin-bottom: 16px; }
.contact-form label { display: block; font-size: 13px; color: var(--text2); font-weight: 500; margin-bottom: 6px; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%; background: #0D1526; border: 1px solid var(--border); border-radius: 10px;
  color: var(--text); padding: 11px 14px; font-size: 14.5px; font-family: inherit; transition: .15s;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(47,123,255,.18); }
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ── Footer ─────────────────────────────────────── */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.footer-brand p { color: var(--text2); font-size: 14px; margin-top: 12px; line-height: 1.7; max-width: 260px; }
.footer-col h4 { font-size: 12.5px; text-transform: uppercase; letter-spacing: 1px; color: var(--text3); margin-bottom: 14px; }
.footer-col a { display: block; color: var(--text2); font-size: 14px; margin-bottom: 9px; transition: .15s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 13px; color: var(--text3); }

/* ── Flash messages ──────────────────────────────── */
.site-flash { padding: 14px 20px; border-radius: 10px; margin: 12px 0; font-size: 14.5px; border: 1px solid; }
.site-flash.success { background: rgba(52,211,153,.1); border-color: rgba(52,211,153,.3); color: var(--success); }
.site-flash.error   { background: rgba(248,113,113,.1); border-color: rgba(248,113,113,.3); color: #f87171; }

/* ── Mobile ──────────────────────────────────────── */
@media (max-width: 900px) {
  .vehicle-grid, .senior-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-visual { display: none; }
  .services-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open { display: flex; flex-direction: column; position: fixed; top: 68px; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--border); padding: 16px; gap: 4px; }
  .nav-links.open .btn-cta { width: 100%; text-align: center; }
  .contact-grid-2 { grid-template-columns: 1fr; }
  .prose { padding: 24px 20px; }
}

/* ── Projekte ─────────────────────────────────────── */
.proj-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 22px; }
.proj-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
  overflow: hidden; transition: .25s; display: flex; flex-direction: column;
}
.proj-card:hover { border-color: rgba(47,123,255,.35); transform: translateY(-3px); box-shadow: 0 14px 40px -16px rgba(0,0,0,.5); }
.proj-card-img {
  aspect-ratio: 16/9; background: var(--elev); overflow: hidden; position: relative;
  display: flex; align-items: center; justify-content: center; font-size: 48px;
}
.proj-card-img img { width: 100%; height: 100%; object-fit: cover; transition: .35s; }
.proj-card:hover .proj-card-img img { transform: scale(1.04); }
.proj-card-body { padding: 18px 20px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.proj-card-cat {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .8px;
  padding: 4px 10px; border-radius: 99px; margin-bottom: 2px;
}
.proj-card h3 { font-size: 17px; font-weight: 650; line-height: 1.3; }
.proj-card p { color: var(--text2); font-size: 14px; line-height: 1.65; flex: 1; }
.proj-card-meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 4px; }
.proj-card-meta span { font-size: 12px; color: var(--text2); }
.proj-tags { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 4px; }
.proj-tag { background: rgba(255,255,255,.06); border: 1px solid var(--border); border-radius: 6px; padding: 3px 9px; font-size: 12px; color: var(--text2); }
.proj-card-footer { padding: 0 20px 16px; }
.proj-read-more {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13.5px; font-weight: 600; color: var(--glow);
  transition: .15s;
}
.proj-read-more:hover { gap: 10px; color: #8ec0ff; }

/* Filter-Leiste */
.proj-filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 30px; }
.proj-filter a {
  padding: 8px 18px; border-radius: 99px; font-size: 14px; font-weight: 500;
  border: 1px solid var(--border); color: var(--text2); transition: .15s;
}
.proj-filter a:hover, .proj-filter a.active {
  background: rgba(47,123,255,.12); border-color: rgba(47,123,255,.35); color: var(--text);
}
.proj-filter a.active { color: var(--glow); }

/* Detailseite */
.proj-detail-hero {
  position: relative; aspect-ratio: 21/9; background: var(--elev);
  overflow: hidden; border-radius: 18px; margin-bottom: 36px;
  display: flex; align-items: center; justify-content: center; font-size: 80px;
}
.proj-detail-layout { display: grid; grid-template-columns: 1fr 300px; gap: 36px; align-items: start; }
.proj-detail-hero img { width: 100%; height: 100%; object-fit: cover; }
.proj-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-top: 24px; }
.proj-gallery a { display: block; aspect-ratio: 4/3; overflow: hidden; border-radius: 12px; }
.proj-gallery img { width: 100%; height: 100%; object-fit: cover; transition: .3s; }
.proj-gallery a:hover img { transform: scale(1.05); }
.proj-meta-box {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 20px 24px; margin-bottom: 20px;
}
.proj-meta-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.proj-meta-row:last-child { border: none; }
.proj-meta-row span:first-child { color: var(--text2); }
.proj-meta-row span:last-child { font-weight: 500; text-align: right; }

/* Farben je Kategorie */
.cat-it      { background: rgba(47,123,255,.12);  color: #6ea8fe; }
.cat-web     { background: rgba(34,211,238,.12);  color: #67e8f9; }
.cat-vehicle { background: rgba(16,185,129,.12);  color: #6ee7b7; }
.cat-network { background: rgba(124,58,237,.12);  color: #c4b5fd; }
.cat-senior  { background: rgba(251,191,36,.12);  color: #fde68a; }
.cat-other   { background: rgba(156,163,175,.12); color: #d1d5db; }

/* Featured-Sektion Startseite */
.featured-projs { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }

@media (max-width: 600px) {
  .proj-grid { grid-template-columns: 1fr; }
  .proj-detail-hero { aspect-ratio: 4/3; }
}

/* ── WhatsApp Button ─────────────────────────────── */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  display: flex; align-items: center; gap: 0;
  filter: drop-shadow(0 6px 20px rgba(37,211,102,.4));
  transition: .25s; text-decoration: none;
}
.wa-float:hover { filter: drop-shadow(0 8px 28px rgba(37,211,102,.6)); transform: translateY(-2px) scale(1.03); }
.wa-float-btn {
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; position: relative;
}
.wa-float-btn svg { width: 30px; height: 30px; }
.wa-float-btn::before {
  content: ''; position: absolute; inset: -4px; border-radius: 50%;
  background: rgba(37,211,102,.25); animation: wa-pulse 2.5s ease infinite;
}
@keyframes wa-pulse {
  0%,100% { transform: scale(1); opacity: .6; }
  50% { transform: scale(1.3); opacity: 0; }
}
.wa-float-label {
  background: #25D366; color: #fff; font-size: 13.5px; font-weight: 600;
  padding: 8px 14px 8px 10px; border-radius: 0 99px 99px 0;
  white-space: nowrap; max-width: 0; overflow: hidden; opacity: 0; transition: .3s;
}
.wa-float:hover .wa-float-label { max-width: 180px; opacity: 1; }

/* ── WhatsApp Kontakt-Karte ──────────────────────── */
.wa-contact-card {
  background: linear-gradient(135deg, rgba(37,211,102,.12), rgba(37,211,102,.04));
  border: 1px solid rgba(37,211,102,.3); border-radius: 18px; padding: 24px 26px;
  display: flex; flex-direction: column; gap: 14px; height: 100%;
}
.wa-contact-card h3 { font-size: 18px; font-weight: 650; display: flex; align-items: center; gap: 10px; }
.wa-contact-card p { color: var(--text2); font-size: 14.5px; line-height: 1.65; flex: 1; }
.wa-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: #25D366; color: #fff; font-size: 15px; font-weight: 600;
  padding: 14px 24px; border-radius: 12px; text-decoration: none;
  transition: .2s; box-shadow: 0 4px 18px -6px rgba(37,211,102,.55);
}
.wa-btn:hover { background: #1ebe5d; color: #fff; transform: translateY(-1px); box-shadow: 0 6px 24px -6px rgba(37,211,102,.7); }
.wa-btn svg { flex-shrink: 0; }

/* Mobile */
@media (max-width: 600px) {
  .wa-float { bottom: 18px; right: 18px; }
  .wa-float-btn { width: 52px; height: 52px; }
}

/* ── Bewertungs-Formular ──────────────────── */
.review-form { background:var(--surface,#0d1526); border-radius:18px; padding:36px 40px; }
.star-row { display:flex; flex-direction:row-reverse; justify-content:flex-end; gap:4px; margin:12px 0; }
.star-row input { display:none; }
.star-row label { font-size:36px; color:#374151; cursor:pointer; transition:.1s; line-height:1; user-select:none; }
.star-row label:hover,
.star-row label:hover ~ label,
.star-row input:checked ~ label { color:#fbbf24; text-shadow:0 0 8px rgba(251,191,36,.4); }
.star-row input:checked ~ label { color:#f59e0b; }

/* ── Bewertungs-Laufband ──────────────────── */
.review-ticker-wrap {
  overflow:hidden; position:relative; padding:0;
}
.review-ticker-wrap::before, .review-ticker-wrap::after {
  content:''; position:absolute; top:0; bottom:0; width:80px; z-index:2; pointer-events:none;
}
.review-ticker-wrap::before { left:0; background:linear-gradient(to right,var(--bg,#080f1e),transparent); }
.review-ticker-wrap::after  { right:0; background:linear-gradient(to left,var(--bg,#080f1e),transparent); }
.review-ticker {
  display:flex; gap:0; white-space:nowrap;
  animation:rticker 35s linear infinite;
  will-change:transform;
}
.review-ticker:hover { animation-play-state:paused; }
@keyframes rticker { from { transform:translateX(0); } to { transform:translateX(-50%); } }
.review-ticker-item {
  display:inline-flex; align-items:center; gap:12px;
  padding:16px 32px; border-right:1px solid rgba(251,191,36,.15); flex-shrink:0;
}
.review-ticker-item .stars  { color:#fbbf24; font-size:15px; letter-spacing:1px; }
.review-ticker-item .text   { color:rgba(255,255,255,.75); font-size:14px; max-width:260px; overflow:hidden; text-overflow:ellipsis; }
.review-ticker-item .author { color:rgba(255,255,255,.4); font-size:13px; flex-shrink:0; }
.review-section { padding:64px 0; background:linear-gradient(180deg,transparent,rgba(251,191,36,.03),transparent); }
.review-stars-avg { display:flex; align-items:center; gap:8px; }
.review-stars-avg .stars-big { color:#fbbf24; font-size:28px; letter-spacing:2px; }

/* ══════════════════════════════════════
   MOBILE RESPONSIVE (max 768px)
   ══════════════════════════════════════ */
@media (max-width: 768px) {

  /* ── Nav ── */
  .site-nav .nav-links { display:none; }
  .wrap { padding:0 16px; }
  .site-nav .wrap { height: 64px; }
  .nav-brand { font-size: 19px; gap: 10px; }
  .nav-brand .logo-box,
  .nav-brand img { width: 40px; height: 40px; font-size: 16px; }

  /* ── Bewertungs-Laufband + Button ── */
  .review-ticker-wrap { min-height:44px; }
  .review-ticker { animation-duration:20s; }
  .review-ticker-item { padding:10px 18px; }
  .review-ticker-item .text { max-width:160px; font-size:12.5px; }
  .review-ticker-item .author { font-size:12px; }

  /* Ticker-Wrapper: Stack Button unter Ticker */
  div[style*="review-ticker-wrap"][style*="flex:1"],
  div:has(> .review-ticker-wrap) {
    flex-direction:column !important;
    align-items:stretch !important;
  }
  a[href="#bewertungen"][style*="flex-shrink:0"] {
    margin:0 !important;
    border-radius:0 !important;
    justify-content:center;
    padding:12px !important;
  }

  /* ── Bewertungs-Sektion ── */
  #bewertungen { padding:40px 0 !important; }
  #bewertungen > .wrap > div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap:24px !important;
  }
  .review-form { padding:20px 18px !important; }
  .star-row label { font-size:30px; }

  /* ── Projekt-Grid ── */
  .proj-grid { grid-template-columns:1fr !important; }
  .proj-filter { flex-wrap:wrap; gap:6px; }
  .proj-filter a { font-size:13px; padding:6px 12px; }

  /* ── Projekt-Detailseite ── */
  .proj-detail-layout { grid-template-columns:1fr !important; gap:24px !important; }
  .proj-detail-hero { aspect-ratio:4/3; margin-bottom:22px; font-size:56px; }
  .proj-gallery { grid-template-columns:repeat(2,1fr) !important; gap:10px; }
  .proj-meta-box { padding:16px 18px; }
  .proj-hero-inner { flex-direction:column !important; gap:20px !important; }
  .proj-meta { width:100% !important; }

  /* ── Footer ── */
  .footer-grid { grid-template-columns:1fr 1fr !important; gap:28px; }
  .footer-bottom { flex-direction:column !important; gap:12px !important; text-align:center; }
  .footer-bottom > div { flex-wrap:wrap; justify-content:center; gap:12px !important; }

  /* ── Hero ── */
  .hero-inner { flex-direction:column !important; text-align:center; }
  .hero-actions { justify-content:center; }
  .hero-visual { display:none; }
  h1 { font-size:clamp(26px,7vw,44px) !important; }

  /* ── Service-Grid, Trust-Grid ── */
  .service-grid { grid-template-columns:1fr !important; }
  .trust-grid, .grid.two { grid-template-columns:1fr !important; }

  /* ── Kontakt ── */
  .contact-grid { grid-template-columns:1fr !important; }
  .wa-contact-card { grid-column:1 !important; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns:1fr !important; }
  .review-ticker-item .stars { font-size:13px; }
}

/* ══════════════════════════════════════
   FEATURED PROJEKT-KARTEN HOVER-EFFEKTE
   ══════════════════════════════════════ */

/* ── Effekt "pan": Bild scrollt langsam von oben nach unten durch ── */
.proj-card.fx-pan .proj-card-img {
  aspect-ratio: 16/10;
}
.proj-card.fx-pan .proj-card-img img {
  width: 100%;
  height: 160%;                    /* Bild größer als Container → Platz zum Scrollen */
  object-fit: cover;
  object-position: top center;
  transition: object-position 3s ease, transform .4s ease;
}
.proj-card.fx-pan:hover .proj-card-img img {
  object-position: bottom center;  /* beim Hover scrollt das Bild nach unten durch */
}

/* ── Effekt "reveal": Info-Overlay fährt von unten herein ── */
.proj-card.fx-reveal .proj-card-img { position: relative; overflow: hidden; }
.proj-card.fx-reveal .proj-card-img img { transition: transform .5s ease, filter .4s ease; }
.proj-card.fx-reveal:hover .proj-card-img img { transform: scale(1.08); filter: brightness(.55); }
.proj-reveal {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; color: #fff;
  background: linear-gradient(180deg, rgba(47,123,255,.0), rgba(47,123,255,.25));
  opacity: 0; transform: translateY(20px);
  transition: opacity .4s ease, transform .4s ease;
  pointer-events: none;
}
.proj-reveal-txt { font-size: 15px; font-weight: 600; letter-spacing: .3px; }
.proj-card.fx-reveal:hover .proj-reveal {
  opacity: 1; transform: translateY(0);
}

/* ── Effekt "none": nur leichter Zoom (Standard-Verhalten) ── */
.proj-card.fx-none .proj-card-img img { transition: transform .35s ease; }
.proj-card.fx-none:hover .proj-card-img img { transform: scale(1.05); }

/* Icon-Fallback (kein Cover-Bild) bleibt zentriert */
.proj-card-icon { font-size: 48px; }
.proj-card.fx-pan .proj-card-img:has(.proj-card-icon),
.proj-card.fx-reveal .proj-card-img:has(.proj-card-icon) {
  aspect-ratio: 16/9;
}

/* Karten-Hover allgemein: sanftes Anheben */
.proj-card { transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.proj-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,.3);
  border-color: var(--glow);
}
