/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Inter', sans-serif; color: #1a1a2e; background: #fff; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ===== VARIABLES ===== */
:root {
  --blue: #1D6FE8;
  --blue-dark: #1558C0;
  --blue-light: #EFF6FF;
  --blue-border: #BFDBFE;
  --navy: #1a1a2e;
  --gray: #6b7280;
  --gray-light: #f4f5f7;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.12);
}

/* ===== UTILITY ===== */
.container { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; color: var(--navy); line-height: 1.15; }
.section-header p { margin-top: 12px; font-size: 1.05rem; color: var(--gray); }
.section-header.light h2 { color: var(--white); }
.section-header.light p { color: rgba(255,255,255,.8); }
.highlight { color: var(--blue); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 12px 26px; border-radius: 8px; font-weight: 700; font-size: .95rem;
  cursor: pointer; border: 2px solid transparent; transition: all .2s;
  white-space: nowrap;
}
.btn-primary { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue-light); }
.btn-outline-light { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline-light:hover { background: rgba(255,255,255,.15); }
.btn-lg { padding: 15px 32px; font-size: 1rem; }
.btn-sm { padding: 9px 18px; font-size: .88rem; }
.btn-full { width: 100%; padding: 16px; font-size: 1rem; }
.btn-whatsapp { background: #25d366; color: var(--white); border-color: #25d366; margin-top: 24px; }
.btn-whatsapp:hover { background: #1eb858; border-color: #1eb858; }

/* ===== TOP BANNER ===== */
.top-banner {
  background: var(--navy); color: var(--white);
  text-align: center; padding: 10px 20px; font-size: .88rem;
  display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap;
}
.banner-phone { font-weight: 700; color: #60A5FA; font-size: 1rem; }
.banner-phone:hover { text-decoration: underline; }
.banner-sep { opacity: .4; }

/* ===== NAVBAR ===== */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.95); backdrop-filter: blur(10px);
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.nav-inner {
  display: flex; align-items: center; gap: 32px;
  height: 68px; max-width: 1160px; margin: 0 auto; padding: 0 20px;
}
.logo { display: flex; align-items: center; gap: 8px; font-size: 1.15rem; font-weight: 700; }
.logo-icon { font-size: 1.4rem; }
.logo strong { color: var(--blue); }
.logo-img { height: 52px; width: auto; object-fit: contain; }
.logo-img--footer { height: 44px; filter: brightness(0) invert(1); }
.nav-links { display: flex; gap: 8px; flex: 1; justify-content: center; }
.nav-links a { padding: 6px 14px; border-radius: 6px; font-size: .95rem; font-weight: 600; color: var(--navy); transition: background .15s, color .15s; }
.nav-links a:hover { background: var(--blue-light); color: var(--blue); }
.nav-cta { margin-left: auto; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: all .2s; }
.nav-mobile { display: none; flex-direction: column; gap: 4px; padding: 16px 20px 20px; border-top: 1px solid #e5e7eb; }
.nav-mobile a { padding: 10px 14px; border-radius: 8px; font-weight: 600; color: var(--navy); }
.nav-mobile a:hover { background: var(--blue-light); color: var(--blue); }
.nav-mobile .btn { margin-top: 8px; text-align: center; }
.nav-mobile.open { display: flex; }

/* ===== HERO ===== */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #EFF6FF 0%, #ffffff 60%, #DBEAFE 100%);
  padding: 80px 0 90px;
}
.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; }
.shape { position: absolute; border-radius: 50%; opacity: .07; }
.shape-1 { width: 600px; height: 600px; background: var(--blue); top: -200px; right: -150px; }
.shape-2 { width: 400px; height: 400px; background: var(--blue); bottom: -200px; left: -100px; }
.hero-bg-logo {
  position: absolute; top: 50%; right: 2%;
  transform: translateY(-50%);
  width: 460px; height: auto;
  opacity: .07;
  pointer-events: none; user-select: none;
}.hero-content { display: flex; align-items: center; gap: 60px; position: relative; z-index: 1; }
.hero-text { flex: 1; }
.hero-badge {
  display: inline-block; background: var(--blue-light); color: var(--blue);
  border: 1px solid var(--blue-border); border-radius: 20px; padding: 6px 16px;
  font-size: .85rem; font-weight: 700; margin-bottom: 20px;
}
.hero-text h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; line-height: 1.15; color: var(--navy); margin-bottom: 20px; }
.hero-sub { font-size: 1.1rem; color: var(--gray); margin-bottom: 32px; max-width: 520px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats { display: flex; align-items: center; gap: 0; }
.stat { text-align: center; padding: 0 24px; }
.stat:first-child { padding-left: 0; }
.stat strong { display: block; font-size: 1.7rem; font-weight: 800; color: var(--blue); line-height: 1; }
.stat span { font-size: .82rem; color: var(--gray); font-weight: 600; margin-top: 4px; display: block; }
.stat-sep { width: 1px; height: 36px; background: #e5e7eb; }
.hero-visual { display: flex; flex-direction: column; gap: 16px; flex-shrink: 0; }
.hero-card {
  background: var(--white); border-radius: var(--radius); padding: 20px 28px;
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 16px;
  border-left: 4px solid var(--blue); min-width: 220px;
  animation: floatIn .6s ease both;
}
.hero-card-2 { animation-delay: .15s; }
.hero-card-3 { animation-delay: .3s; }
@keyframes floatIn { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }
.hero-card-icon { font-size: 2rem; }
.hero-card p { font-size: .95rem; color: var(--gray); line-height: 1.4; }
.hero-card p strong { color: var(--navy); }

/* ===== STEPS ===== */
.steps { padding: 90px 0; background: linear-gradient(135deg, #EFF6FF 0%, #ffffff 60%, #DBEAFE 100%); }
.steps-grid { display: flex; align-items: flex-start; gap: 16px; }
.step-card {
  flex: 1; text-align: center; background: var(--gray-light);
  border-radius: var(--radius); padding: 36px 28px; position: relative;
  transition: box-shadow .2s, transform .2s;
}
.step-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.step-num {
  position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
  background: var(--blue); color: var(--white);
  width: 36px; height: 36px; border-radius: 50%;
  font-weight: 800; font-size: 1rem; display: flex; align-items: center; justify-content: center;
}
.step-icon { font-size: 2.8rem; margin-bottom: 16px; }
.step-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; color: var(--navy); }
.step-card p { font-size: .93rem; color: var(--gray); }
.step-arrow { font-size: 1.8rem; color: var(--blue); opacity: .5; flex-shrink: 0; padding-top: 40px; }

/* ===== SERVICES ===== */
.services { padding: 90px 0; background: linear-gradient(135deg, #EFF6FF 0%, #f4f5f7 60%, #DBEAFE 100%); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: var(--white); border-radius: var(--radius); padding: 32px 28px;
  box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px;
  transition: box-shadow .2s, transform .2s; position: relative;
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.service-card-featured { border: 2px solid var(--blue); }
.featured-badge {
  position: absolute; top: -12px; right: 20px;
  background: var(--blue); color: var(--white);
  padding: 4px 14px; border-radius: 20px; font-size: .78rem; font-weight: 700;
}
.service-icon { font-size: 2.4rem; }
.service-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--navy); }
.service-card p { font-size: .9rem; color: var(--gray); flex: 1; }
.price-tag {
  display: inline-block; background: var(--blue-light);
  color: var(--blue); font-weight: 800; font-size: 1.1rem;
  padding: 6px 16px; border-radius: 8px;
}

/* ===== ANFAHRTSKOSTEN ===== */
.anfahrt-card {
  margin-top: 40px; background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 28px 32px;
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  border-left: 4px solid var(--blue);
}
.anfahrt-icon { font-size: 2.4rem; flex-shrink: 0; }
.anfahrt-content { flex: 1; min-width: 160px; }
.anfahrt-content h3 { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.anfahrt-content p { font-size: .88rem; color: var(--gray); }
.anfahrt-table { display: flex; gap: 12px; flex-wrap: wrap; }
.anfahrt-row {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  background: var(--gray-light); border-radius: 10px; padding: 12px 20px; min-width: 100px;
}
.anfahrt-dist { font-size: .8rem; color: var(--gray); font-weight: 600; }
.anfahrt-price { font-size: .95rem; font-weight: 800; color: var(--navy); }
.anfahrt-price--fixed { color: var(--blue); }

/* ===== WHY US ===== */
.why-us { padding: 90px 0; background: linear-gradient(135deg, #1e3a8a 0%, #1D6FE8 100%); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-card {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius); padding: 32px 28px; text-align: center;
  transition: background .2s;
}
.why-card:hover { background: rgba(255,255,255,.12); }
.why-icon { font-size: 2.4rem; margin-bottom: 14px; }
.why-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.why-card p { font-size: .9rem; color: rgba(255,255,255,.7); }

/* ===== CONTACT ===== */
.contact { padding: 90px 0; background: linear-gradient(135deg, #EFF6FF 0%, #ffffff 60%, #DBEAFE 100%); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; align-items: start; }
.contact-info h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; color: var(--navy); margin-bottom: 16px; }
.contact-info > p { color: var(--gray); margin-bottom: 28px; line-height: 1.7; }
.contact-details { display: flex; flex-direction: column; gap: 14px; }
.contact-details li { display: flex; align-items: center; gap: 12px; font-size: .97rem; }
.contact-details a { color: var(--navy); font-weight: 600; }
.contact-details a:hover { color: var(--blue); }
.contact-icon { font-size: 1.2rem; width: 28px; text-align: center; flex-shrink: 0; }

/* Form */
.contact-form {
  background: var(--gray-light); border-radius: 16px; padding: 36px 32px;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-group:last-of-type { margin-bottom: 0; }
.form-group label { font-size: .88rem; font-weight: 700; color: var(--navy); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 14px; border: 2px solid #e5e7eb; border-radius: 8px;
  font-size: .95rem; font-family: inherit; background: var(--white);
  transition: border-color .15s, box-shadow .15s; color: var(--navy);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29,111,232,.12);
}
.form-group textarea { resize: vertical; }
.form-note { font-size: .8rem; color: var(--gray); margin-top: 12px; text-align: center; }

/* Upload area */
.upload-area {
  border: 2px dashed #d1d5db; border-radius: 10px; background: var(--white);
  padding: 8px; cursor: pointer; transition: border-color .2s;
  position: relative;
}
.upload-area:hover { border-color: var(--blue); }
.file-input {
  position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; z-index: 2;
}
.upload-placeholder {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 24px 20px; text-align: center; color: var(--gray); font-size: .9rem;
}
.upload-icon { font-size: 2rem; }
.upload-hint { font-size: .78rem; color: #9ca3af; }
.preview-grid { display: flex; flex-wrap: wrap; gap: 10px; padding: 8px; }
.preview-item {
  position: relative; width: 80px; height: 80px; border-radius: 8px; overflow: hidden;
  border: 2px solid #e5e7eb;
}
.preview-item img { width: 100%; height: 100%; object-fit: cover; }
.preview-remove {
  position: absolute; top: 2px; right: 2px; background: rgba(0,0,0,.6); color: var(--white);
  border: none; border-radius: 50%; width: 20px; height: 20px; cursor: pointer;
  font-size: .75rem; display: flex; align-items: center; justify-content: center; z-index: 5;
}

/* ===== ZAHLUNGSARTEN ===== */
.payment { padding: 80px 0; background: linear-gradient(135deg, #EFF6FF 0%, #f4f5f7 60%, #DBEAFE 100%); }
.payment-grid { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; }
.payment-card {
  background: var(--white); border-radius: var(--radius); padding: 40px 48px;
  box-shadow: var(--shadow); text-align: center; min-width: 220px; flex: 1; max-width: 280px;
  border-top: 4px solid var(--blue); transition: box-shadow .2s, transform .2s;
}
.payment-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.payment-icon-wrap { height: 100px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.payment-icon { font-size: 3rem; }
.twint-logo { height: 90px; width: auto; object-fit: contain; }
.payment-card h3 { font-size: 1.2rem; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.payment-card p { font-size: .92rem; color: var(--gray); }

/* ===== FOOTER ===== */
.footer { background: var(--navy); color: rgba(255,255,255,.8); }
.footer-inner {
  display: flex; justify-content: center; gap: 80px; flex-wrap: wrap;
  padding: 56px 20px 40px;
}
.footer-brand .logo { margin-bottom: 14px; color: var(--white); }
.footer-brand p { font-size: .9rem; line-height: 1.7; max-width: 280px; }
.footer-links h4,
.footer-contact h4 { color: var(--white); font-size: .9rem; font-weight: 700; margin-bottom: 16px; text-transform: uppercase; letter-spacing: .06em; }
.footer-links ul,
.footer-contact ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a,
.footer-contact a,
.footer-contact li { font-size: .88rem; color: rgba(255,255,255,.6); transition: color .15s; }
.footer-links a:hover,
.footer-contact a:hover { color: #60A5FA; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 18px 20px; text-align: center; font-size: .82rem; color: rgba(255,255,255,.4);
}
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: #60A5FA; }

/* ===== STICKY CTA ===== */
.sticky-cta {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 900;
  background: var(--navy); padding: 12px 20px; gap: 12px;
  justify-content: center; box-shadow: 0 -4px 20px rgba(0,0,0,.2);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-content { gap: 40px; }
  .hero-visual { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { gap: 48px; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
  .hero { padding: 60px 0 70px; }
  .steps-grid { flex-direction: column; gap: 32px; }
  .step-arrow { transform: rotate(90deg); align-self: center; padding-top: 0; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { gap: 32px; }
  .sticky-cta { display: flex; }
  body { padding-bottom: 72px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .contact-form { padding: 24px 18px; }
  .hero-stats { gap: 0; flex-wrap: wrap; }
  .stat { padding: 8px 16px; }
}

/* ========== FORM EXTRAS (Web3Forms) ========== */
.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none;
}
.form-hint {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--gray);
}
.btn { position: relative; }
.btn .btn-spinner {
  display: none;
  width: 16px;
  height: 16px;
  margin-left: 10px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  vertical-align: middle;
  animation: btn-spin 0.7s linear infinite;
}
.btn.is-loading .btn-spinner { display: inline-block; }
.btn.is-loading { cursor: wait; opacity: 0.8; }
@keyframes btn-spin {
  to { transform: rotate(360deg); }
}
.form-message {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 10px;
  font-size: 15px;
  line-height: 1.55;
}
.form-message strong {
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
}
.form-message p {
  margin: 0;
  font-size: 14px;
}
.form-success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}
.form-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}
.form-error a {
  color: #991b1b;
  font-weight: 600;
  text-decoration: underline;
}

/* ========== LEGAL PAGES (Impressum / Datenschutz) ========== */
.legal-page {
  background: var(--white);
  padding: 64px 0 96px;
  min-height: 60vh;
}
.legal-container {
  max-width: 820px;
}
.legal-page h1 {
  font-size: 40px;
  margin: 0 0 12px;
  color: var(--navy);
}
.legal-lead {
  font-size: 17px;
  color: var(--gray);
  margin: 0 0 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e5e7eb;
}
.legal-page section {
  margin-bottom: 36px;
}
.legal-page h2 {
  font-size: 22px;
  margin: 0 0 12px;
  color: var(--navy);
}
.legal-page h3 {
  font-size: 17px;
  margin: 20px 0 8px;
  color: var(--navy);
}
.legal-page p,
.legal-page li {
  font-size: 16px;
  line-height: 1.7;
  color: #374151;
}
.legal-page p {
  margin: 0 0 12px;
}
.legal-page ul {
  padding-left: 22px;
  margin: 0 0 12px;
}
.legal-page li {
  margin-bottom: 6px;
}
.legal-page a {
  color: var(--blue);
  text-decoration: underline;
}
.legal-page a:hover {
  color: var(--blue-dark);
}
.legal-meta {
  margin-top: 48px;
  font-size: 14px;
  color: var(--gray);
  font-style: italic;
}
@media (max-width: 768px) {
  .legal-page { padding: 40px 0 64px; }
  .legal-page h1 { font-size: 30px; }
  .legal-page h2 { font-size: 19px; }
}
