/* ============================================
   KLINPAL.DE — Design System
   Colors: #00275C (navy) | #FFD700 (gold)
   ============================================ */

:root {
  --navy: #00275C;
  --navy-dark: #001a3f;
  --navy-light: #003580;
  --gold: #FFD700;
  --gold-dark: #e6c200;
  --white: #ffffff;
  --gray-50: #f8f9fa;
  --gray-100: #f1f3f5;
  --gray-200: #e9ecef;
  --gray-400: #ced4da;
  --gray-600: #6c757d;
  --gray-800: #343a40;
  --text: #1a1a2e;
  --green: #28a745;
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(0,39,92,0.10);
  --shadow-lg: 0 8px 32px rgba(0,39,92,0.15);
  --transition: 0.2s ease;
  --max-width: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

/* ============ TYPOGRAPHY ============ */
h1, h2, h3, h4, h5, h6 { line-height: 1.25; font-weight: 700; color: var(--navy); }
h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.15rem; }
p { margin-bottom: 1rem; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--navy-light); }

.text-gold { color: var(--gold-dark); }
.text-navy { color: var(--navy); }
.text-center { text-align: center; }

/* ============ LAYOUT ============ */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 4rem 0; }
.section-sm { padding: 2.5rem 0; }

/* ============ HEADER ============ */
header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  max-width: var(--max-width);
  margin: 0 auto;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.logo-oval {
  background: var(--gold);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--navy);
  letter-spacing: -0.5px;
  flex-shrink: 0;
}

.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-size: 1.3rem; font-weight: 800; color: var(--white); letter-spacing: 1px; }
.logo-tagline { font-size: 0.6rem; color: var(--gold); letter-spacing: 2px; text-transform: uppercase; }

nav { display: flex; gap: 0.25rem; align-items: center; }
nav a {
  color: var(--white);
  font-size: 0.875rem;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius);
  transition: var(--transition);
  font-weight: 500;
}
nav a:hover { background: rgba(255,255,255,0.1); color: var(--gold); }

.header-cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
  font-weight: 700 !important;
  padding: 0.5rem 1.1rem !important;
}
.header-cta:hover { background: var(--gold-dark) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============ HERO ============ */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-light) 100%);
  color: var(--white);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.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='%23FFD700' 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");
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,215,0,0.15);
  border: 1px solid rgba(255,215,0,0.3);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

.hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero h1 span { color: var(--gold); }

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-primary:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: var(--navy); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(255,215,0,0.4); }

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-secondary:hover { border-color: var(--white); background: rgba(255,255,255,0.1); color: var(--white); }

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  border-color: #25D366;
}
.btn-whatsapp:hover { background: #1da851; border-color: #1da851; color: var(--white); transform: translateY(-1px); }

.btn-lg { padding: 1rem 2rem; font-size: 1.1rem; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.hero-stat { text-align: center; }
.hero-stat-num { font-size: 1.75rem; font-weight: 800; color: var(--gold); display: block; }
.hero-stat-label { font-size: 0.75rem; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 0.5px; }

.hero-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 16px;
  padding: 2rem;
  backdrop-filter: blur(10px);
}

/* ============ TRUST BAR ============ */
.trust-bar {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding: 1rem 0;
}

.trust-bar-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--gray-800);
  font-weight: 500;
}

.trust-icon { font-size: 1.1rem; }

/* ============ CARDS ============ */
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 1.75rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(0,39,92,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* ============ GRID SYSTEMS ============ */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }

/* ============ SERVICES SECTION ============ */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }

.service-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: 12px;
  padding: 1.75rem;
  transition: var(--transition);
  text-decoration: none;
  display: block;
}
.service-card:hover { border-color: var(--gold); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.service-card h3 { color: var(--navy); margin: 0.75rem 0 0.5rem; font-size: 1.1rem; }
.service-card p { color: var(--gray-600); font-size: 0.9rem; margin: 0; }
.service-card .price { color: var(--navy); font-weight: 700; font-size: 0.875rem; margin-top: 0.75rem; display: block; }

/* ============ BOOKING / PRICE CALCULATOR ============ */
.calculator {
  background: var(--white);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}

.calculator h2 { margin-bottom: 0.5rem; }
.calc-subtitle { color: var(--gray-600); margin-bottom: 2rem; }

.calc-steps { display: flex; gap: 0.5rem; margin-bottom: 2rem; }
.calc-step {
  flex: 1;
  text-align: center;
  padding: 0.5rem;
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--gray-100);
  color: var(--gray-600);
  transition: var(--transition);
}
.calc-step.active { background: var(--navy); color: var(--white); }
.calc-step.done { background: var(--green); color: var(--white); }

.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: var(--font);
  transition: var(--transition);
  color: var(--text);
  background: var(--white);
}
.form-control:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(0,39,92,0.1); }

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2300275C' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.window-slider { width: 100%; accent-color: var(--navy); cursor: pointer; }

.option-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 0.75rem; }
.option-btn {
  padding: 0.75rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-800);
  transition: var(--transition);
}
.option-btn:hover, .option-btn.selected {
  border-color: var(--navy);
  background: rgba(0,39,92,0.06);
  color: var(--navy);
}
.option-btn .opt-icon { font-size: 1.4rem; display: block; margin-bottom: 0.25rem; }

.price-result {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--white);
  border-radius: 12px;
  padding: 1.75rem;
  text-align: center;
  margin: 1.5rem 0;
  display: none;
}
.price-result.visible { display: block; }
.price-amount { font-size: 2.5rem; font-weight: 800; color: var(--gold); }
.price-label { font-size: 0.875rem; opacity: 0.8; margin-top: 0.25rem; }
.price-note { font-size: 0.8rem; opacity: 0.7; margin-top: 0.5rem; }

/* ============ FAQ ============ */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: var(--white);
  border: none;
  padding: 1.1rem 1.25rem;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: var(--transition);
  font-family: var(--font);
}
.faq-question:hover { background: var(--gray-50); }

.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--navy);
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  background: var(--gray-50);
}
.faq-item.open .faq-answer { max-height: 400px; }

.faq-answer-inner {
  padding: 1rem 1.25rem 1.25rem;
  font-size: 0.9rem;
  color: var(--gray-800);
  line-height: 1.7;
}

/* ============ REVIEWS ============ */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }

.review-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.review-stars { color: var(--gold); font-size: 1.1rem; margin-bottom: 0.75rem; }
.review-text { font-size: 0.9rem; color: var(--gray-800); line-height: 1.6; margin-bottom: 1rem; font-style: italic; }
.review-author { font-weight: 700; font-size: 0.875rem; color: var(--navy); }
.review-city { font-size: 0.8rem; color: var(--gray-600); }

/* ============ SECTION HEADINGS ============ */
.section-tag {
  display: inline-block;
  background: rgba(0,39,92,0.08);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}

.section-heading { margin-bottom: 0.75rem; }
.section-sub { color: var(--gray-600); font-size: 1.05rem; margin-bottom: 2.5rem; }

/* ============ CITIES GRID ============ */
.cities-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.city-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.9rem;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--navy);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}
.city-pill:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* ============ PROCESS STEPS ============ */
.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; position: relative; }

.process-step { text-align: center; padding: 1rem; }
.step-num {
  width: 52px;
  height: 52px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 auto 1rem;
}
.process-step h4 { color: var(--navy); margin-bottom: 0.5rem; }
.process-step p { font-size: 0.875rem; color: var(--gray-600); margin: 0; }

/* ============ CTA BAND ============ */
.cta-band {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
}
.cta-band h2 { color: var(--white); margin-bottom: 0.75rem; }
.cta-band p { color: rgba(255,255,255,0.8); margin-bottom: 2rem; font-size: 1.05rem; }
.cta-band .btn-group { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ============ FOOTER ============ */
footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.8);
  padding: 3.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p { font-size: 0.9rem; line-height: 1.7; margin-top: 1rem; }
.footer-col h4 { color: var(--white); font-size: 0.9rem; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 1rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a { color: rgba(255,255,255,0.7); font-size: 0.875rem; text-decoration: none; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.5); margin: 0; }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { font-size: 0.8rem; color: rgba(255,255,255,0.5); }
.footer-bottom-links a:hover { color: var(--gold); }

/* ============ FLOATING WHATSAPP ============ */
.wa-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.wa-btn {
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  text-decoration: none;
  transition: var(--transition);
  animation: wa-pulse 2.5s infinite;
}
.wa-btn:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.6); }
.wa-btn svg { width: 32px; height: 32px; fill: white; }

.wa-tooltip {
  background: var(--navy-dark);
  color: var(--white);
  font-size: 0.8rem;
  padding: 0.4rem 0.85rem;
  border-radius: 50px;
  white-space: nowrap;
  box-shadow: var(--shadow);
}

@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.5); }
  50% { box-shadow: 0 4px 28px rgba(37,211,102,0.8); }
}

/* ============ BREADCRUMB ============ */
.breadcrumb {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  padding: 0.6rem 0;
  font-size: 0.82rem;
}
.breadcrumb-inner { display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; max-width: var(--max-width); margin: 0 auto; padding: 0 1.25rem; }
.breadcrumb a { color: var(--gray-600); }
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb span { color: var(--gray-400); }
.breadcrumb strong { color: var(--navy); }

/* ============ PAGE HERO (inner pages) ============ */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: var(--white);
  padding: 3.5rem 0 3rem;
  text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 0.75rem; }
.page-hero p { color: rgba(255,255,255,0.82); font-size: 1.05rem; max-width: 600px; margin: 0 auto 1.5rem; }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  nav { display: none; }
  nav.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy-dark); padding: 1rem; gap: 0; }
  nav.open a { padding: 0.75rem 1rem; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .hamburger { display: flex; }
  header { position: relative; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.25rem; }
  .calc-steps { flex-direction: column; }
  .hero-actions { flex-direction: column; }
  .cta-band .btn-group { flex-direction: column; align-items: center; }
}

/* ============ UTILITIES ============ */
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.bg-gray { background: var(--gray-50); }
.bg-navy { background: var(--navy); }
.highlight { background: rgba(255,215,0,0.15); padding: 0.1rem 0.3rem; border-radius: 3px; }
