/* ═══════════════════════════════════════
   Eimer & Hand – Landingpage Styles
   ═══════════════════════════════════════ */

/* ─── LOCAL FONT: Outfit Variable ─── */
@font-face {
  font-family: 'Outfit';
  src: url('../fonts/Outfit-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --teal: #66B3A9;
  --teal-light: #8fcbc3;
  --teal-pale: #e8f4f2;
  --teal-glow: rgba(102, 179, 169, 0.15);
  --navy: #182A35;
  --navy-light: #243d4d;
  --white: #ffffff;
  --off-white: #f7fafa;
  --gray-100: #f0f4f3;
  --gray-200: #dce5e3;
  --gray-400: #8a9e9a;
  --gray-600: #5a6e6a;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Outfit', sans-serif;
  color: var(--navy);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ─── HEADER ─── */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 clamp(24px, 5vw, 80px);
  height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(102,179,169,0.12);
  transition: box-shadow 0.3s;
}
header.scrolled { box-shadow: 0 2px 24px rgba(24,42,53,0.08); }
.logo-wrap { display: flex; align-items: center; }
.logo-wrap img { height: 40px; width: auto; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; background: var(--teal); color: var(--white);
  font-weight: 600; font-size: 0.9rem; letter-spacing: 0.02em;
  border-radius: 100px; text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-cta:hover {
  background: var(--navy); transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(24,42,53,0.2);
}
.nav-cta svg { width: 16px; height: 16px; transition: transform 0.3s; }
.nav-cta:hover svg { transform: translateX(3px); }

/* ─── HERO ─── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 120px clamp(24px, 5vw, 80px) 80px;
  position: relative; overflow: hidden; background: var(--white);
}
.hero::before {
  content: ''; position: absolute; top: -200px; right: -200px;
  width: 800px; height: 800px;
  background: radial-gradient(circle, var(--teal-glow) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal-light), transparent);
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px); align-items: center;
  max-width: 1280px; margin: 0 auto; width: 100%;
}
.hero-content { position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px 6px 8px; background: var(--teal-pale);
  border-radius: 100px; font-size: 0.8rem; font-weight: 500;
  color: var(--navy); margin-bottom: 28px;
}
.hero-badge .dot {
  width: 8px; height: 8px; background: var(--teal); border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}
.hero h1 {
  font-family: 'Outfit', sans-serif; font-weight: 800;
  font-size: clamp(2.8rem, 5vw, 4.2rem); line-height: 1.1;
  color: var(--navy); margin-bottom: 24px; letter-spacing: -0.02em;
}
.hero h1 .accent { color: var(--teal); }
.hero p {
  font-size: clamp(1.05rem, 1.2vw, 1.2rem); line-height: 1.7;
  color: var(--gray-600); max-width: 480px; margin-bottom: 40px; font-weight: 300;
}
.hero-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }

/* Buttons */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 36px; background: var(--teal); color: var(--white);
  font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 1rem;
  border-radius: 100px; text-decoration: none;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border: none; cursor: pointer;
}
.btn-primary:hover {
  background: var(--navy); transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(24,42,53,0.2);
}
.btn-primary svg { width: 18px; height: 18px; transition: transform 0.3s; }
.btn-primary:hover svg { transform: translateX(4px); }
.btn-primary--hero {
  padding: 20px 44px; font-size: 1.1rem;
  box-shadow: 0 8px 32px rgba(102,179,169,0.35);
  animation: btn-glow 3s ease-in-out infinite;
}
.btn-primary--hero:hover { box-shadow: 0 16px 48px rgba(24,42,53,0.25); }
@keyframes btn-glow {
  0%, 100% { box-shadow: 0 8px 32px rgba(102,179,169,0.35); }
  50% { box-shadow: 0 8px 40px rgba(102,179,169,0.55); }
}
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 28px; background: transparent; color: var(--navy);
  font-family: 'Outfit', sans-serif; font-weight: 500; font-size: 1rem;
  border-radius: 100px; text-decoration: none;
  transition: all 0.3s; border: 1.5px solid var(--gray-200);
}
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }

/* Hero Visual */
.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; }
.hero-image-frame {
  width: 100%; aspect-ratio: 4/5; border-radius: 24px; overflow: hidden;
  position: relative; background: linear-gradient(145deg, var(--teal-pale), var(--gray-100));
  box-shadow: 0 32px 64px rgba(24,42,53,0.08), 0 0 0 1px rgba(102,179,169,0.1);
}
.hero-image-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.floating-card {
  position: absolute; bottom: -20px; left: -30px; background: var(--white);
  border-radius: 16px; padding: 20px 24px;
  box-shadow: 0 16px 40px rgba(24,42,53,0.1), 0 0 0 1px rgba(0,0,0,0.04);
  display: flex; align-items: center; gap: 14px;
  animation: float 4s ease-in-out infinite;
}
.floating-card .icon-circle {
  width: 44px; height: 44px; border-radius: 12px; background: var(--teal-pale);
  display: flex; align-items: center; justify-content: center;
}
.floating-card .icon-circle svg { width: 22px; height: 22px; color: var(--teal); }
.floating-card .card-text strong { display: block; font-size: 0.85rem; font-weight: 600; color: var(--navy); }
.floating-card .card-text span { font-size: 0.75rem; color: var(--gray-400); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ─── SECTIONS GENERAL ─── */
.section-inner { max-width: 1280px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-label {
  font-size: 0.8rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--teal); margin-bottom: 16px;
}
.section-title {
  font-family: 'Outfit', sans-serif; font-weight: 700;
  font-size: clamp(2rem, 3.5vw, 2.8rem); color: var(--navy);
  letter-spacing: -0.02em; margin-bottom: 16px;
}
.section-subtitle {
  font-size: 1.05rem; color: var(--gray-600); font-weight: 300;
  max-width: 520px; margin: 0 auto; line-height: 1.6;
}

/* ─── LEISTUNGEN ─── */
.services { padding: 100px clamp(24px, 5vw, 80px); background: var(--off-white); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.service-card {
  background: var(--white); border-radius: 20px; padding: 32px 28px;
  text-align: center; transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent; position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 40px; height: 3px; background: var(--teal);
  border-radius: 0 0 4px 4px; opacity: 0; transition: opacity 0.3s, width 0.3s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(24,42,53,0.08);
  border-color: rgba(102,179,169,0.15);
}
.service-card:hover::before { opacity: 1; width: 60px; }
.service-icon {
  width: 56px; height: 56px; border-radius: 16px; background: var(--teal-pale);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; transition: background 0.3s;
}
.service-card:hover .service-icon { background: var(--teal); }
.service-icon svg { width: 26px; height: 26px; color: var(--teal); transition: color 0.3s; }
.service-card:hover .service-icon svg { color: var(--white); }
.service-card h3 { font-size: 1rem; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.service-card p { font-size: 0.85rem; color: var(--gray-600); line-height: 1.5; font-weight: 300; }

/* Trust Bar */
.trust-bar {
  display: flex; justify-content: center; gap: 48px; margin-top: 56px;
  padding-top: 40px; border-top: 1px solid var(--gray-200); flex-wrap: wrap;
}
.trust-item { display: flex; align-items: center; gap: 10px; color: var(--navy); font-weight: 500; font-size: 0.95rem; }
.trust-item svg { width: 20px; height: 20px; color: var(--teal); flex-shrink: 0; }

/* ─── INHABER ─── */
.about-owner { padding: 80px clamp(24px, 5vw, 80px); background: var(--white); }
.owner-grid {
  display: grid; grid-template-columns: auto 1fr;
  gap: clamp(32px, 5vw, 64px); align-items: center;
  max-width: 900px; margin: 0 auto;
}
.owner-photo {
  width: 200px; height: 200px; border-radius: 24px;
  background: linear-gradient(145deg, var(--teal-pale), var(--gray-100));
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; box-shadow: 0 16px 40px rgba(24,42,53,0.06); flex-shrink: 0;
}
.owner-photo img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 24px; }
.owner-photo .placeholder-avatar {
  display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--gray-400);
}
.owner-photo .placeholder-avatar svg { width: 48px; height: 48px; opacity: 0.4; }
.owner-photo .placeholder-avatar span { font-size: 0.75rem; }
.owner-text h2 {
  font-family: 'Outfit', sans-serif; font-weight: 700;
  font-size: clamp(1.6rem, 2.5vw, 2rem); color: var(--navy); margin-bottom: 4px;
}
.owner-text .owner-role { font-size: 0.9rem; font-weight: 500; color: var(--teal); margin-bottom: 16px; }
.owner-text p { font-size: 1.05rem; color: var(--gray-600); font-weight: 300; line-height: 1.7; }
.owner-quote {
  font-style: italic; margin-top: 16px; padding-left: 20px;
  border-left: 3px solid var(--teal); color: var(--navy) !important; font-weight: 400 !important;
}

/* ─── REFERENZEN / LOGO SLIDER ─── */
.references {
  padding: 64px clamp(24px, 5vw, 80px); background: var(--navy);
  position: relative; overflow: hidden;
}
.references::before {
  content: ''; position: absolute; top: -300px; left: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(102,179,169,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.references .section-label { color: var(--teal-light); }
.references .section-title { color: var(--white); }
.references .section-subtitle { color: rgba(255,255,255,0.5); }
.logo-slider-container { position: relative; overflow: hidden; max-width: 1000px; margin: 0 auto; }
.logo-slider-container::before,
.logo-slider-container::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none;
}
.logo-slider-container::before { left: 0; background: linear-gradient(90deg, var(--navy), transparent); }
.logo-slider-container::after { right: 0; background: linear-gradient(-90deg, var(--navy), transparent); }
.logo-slider-track {
  display: flex; gap: 48px; align-items: center;
  animation: slide-logos 25s linear infinite; width: max-content;
}
.logo-slide {
  display: flex; align-items: center; justify-content: center;
  height: 70px; padding: 14px 24px; flex-shrink: 0;
  filter: brightness(0) invert(1); opacity: 0.5;
  transition: opacity 0.3s;
}
.logo-slide:hover { opacity: 0.85; }
.logo-slide img { max-height: 42px; width: auto; max-width: 160px; object-fit: contain; }
@keyframes slide-logos { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ─── KONTAKT ─── */
.contact { padding: 100px clamp(24px, 5vw, 80px); background: var(--white); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px); max-width: 1100px;
  margin: 0 auto; align-items: start;
}
.contact-info h2 {
  font-family: 'Outfit', sans-serif; font-weight: 700;
  font-size: clamp(2rem, 3.5vw, 2.6rem); color: var(--navy);
  margin-bottom: 20px; letter-spacing: -0.02em;
}
.contact-info > p {
  font-size: 1.05rem; color: var(--gray-600); font-weight: 300;
  line-height: 1.7; margin-bottom: 40px;
}
.contact-methods { display: flex; flex-direction: column; gap: 16px; }
.contact-method {
  display: flex; align-items: center; gap: 16px;
  text-decoration: none; color: var(--navy); padding: 16px 20px;
  border-radius: 16px; background: var(--off-white);
  transition: all 0.3s; border: 1px solid transparent;
}
.contact-method:hover {
  background: var(--teal-pale); border-color: rgba(102,179,169,0.2);
  transform: translateX(4px);
}
.cm-icon {
  width: 44px; height: 44px; border-radius: 12px; background: var(--white);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(24,42,53,0.06);
}
.cm-icon svg { width: 20px; height: 20px; color: var(--teal); }
.contact-method strong { display: block; font-size: 0.8rem; font-weight: 500; color: var(--gray-400); margin-bottom: 2px; }
.contact-method span { font-size: 1rem; font-weight: 500; }
.contact-form-wrap {
  background: var(--off-white); border-radius: 24px; padding: 40px;
  border: 1px solid var(--gray-200);
}
.contact-form-wrap h3 {
  font-family: 'Outfit', sans-serif; font-weight: 700;
  font-size: 1.5rem; color: var(--navy); margin-bottom: 28px;
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 500; color: var(--navy); margin-bottom: 8px; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 14px 18px; border: 1.5px solid var(--gray-200);
  border-radius: 12px; font-family: 'Outfit', sans-serif; font-size: 0.95rem;
  color: var(--navy); background: var(--white);
  transition: border-color 0.3s, box-shadow 0.3s; outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-glow); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-400); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.btn-submit {
  width: 100%; padding: 16px; background: var(--navy); color: var(--white);
  font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 1rem;
  border-radius: 12px; border: none; cursor: pointer;
  transition: all 0.35s; margin-top: 4px;
}
.btn-submit:hover {
  background: var(--teal); transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(102,179,169,0.25);
}

/* Form Success/Error */
.form-status {
  padding: 16px; border-radius: 12px; margin-top: 16px;
  font-size: 0.9rem; font-weight: 500; display: none;
}
.form-status.success { display: block; background: var(--teal-pale); color: var(--navy); }
.form-status.error { display: block; background: #fde8e8; color: #c53030; }

/* ─── FOOTER ─── */
footer {
  padding: 40px clamp(24px, 5vw, 80px); background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 20px;
}
.footer-left { display: flex; flex-direction: column; gap: 4px; }
.footer-left .company { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.footer-left .address { color: rgba(255,255,255,0.35); font-size: 0.8rem; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: rgba(255,255,255,0.4); font-size: 0.8rem; text-decoration: none; transition: color 0.3s; }
.footer-links a:hover { color: var(--teal-light); }

/* ─── SUBPAGES (Impressum/Datenschutz) ─── */
.subpage-content {
  max-width: 780px; margin: 0 auto;
  padding: 120px clamp(24px, 5vw, 80px) 80px;
}
.subpage-content h1 {
  font-family: 'Outfit', sans-serif; font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem); color: var(--navy);
  margin-bottom: 40px; letter-spacing: -0.02em;
}
.subpage-content h2 {
  font-family: 'Outfit', sans-serif; font-weight: 700;
  font-size: 1.3rem; color: var(--navy); margin-top: 40px; margin-bottom: 12px;
}
.subpage-content p, .subpage-content li {
  font-size: 1rem; color: var(--gray-600); line-height: 1.8; margin-bottom: 12px;
}
.subpage-content ul { padding-left: 20px; margin-bottom: 16px; }
.subpage-content a { color: var(--teal); text-decoration: underline; }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .trust-bar { gap: 24px; }
  .services-grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
  .service-card { padding: 24px 20px; }
  .owner-grid { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .owner-photo { width: 160px; height: 160px; }
  .footer-inner { flex-direction: column; text-align: center; }
}

/* ─── ANIMATIONS ─── */
.fade-up {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.stagger-1 { transition-delay: 0.05s; }
.stagger-2 { transition-delay: 0.1s; }
.stagger-3 { transition-delay: 0.15s; }
.stagger-4 { transition-delay: 0.2s; }
.stagger-5 { transition-delay: 0.25s; }
