/* ============================================
   Lassen GmbH – Bad & Heizung Freiburg
   Dark Theme Stylesheet
   ============================================ */

:root {
  --accent: #1B5CE8;
  --ar: 27; --ag: 92; --ab: 232;
  --dark: #0a0f18;
  --surface: rgba(255,255,255,0.02);
  --text: #ffffff;
  --text-muted: rgba(255,255,255,0.55);
  --border: rgba(255,255,255,0.07);
  --card-bg: rgba(27,92,232,0.06);
  --card-border: rgba(27,92,232,0.18);
}

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

body {
  background: #0a0f18;
  color: #ffffff;
  font-family: 'Inter', system-ui, sans-serif;
  margin: 0;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-pad { padding: 96px 0; }

/* ============================================
   BUTTONS
   ============================================ */

.btn-premium {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #1B5CE8, #1044b8);
  color: #fff;
  padding: 13px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  box-shadow: 0 4px 20px rgba(27,92,232,0.35);
  white-space: nowrap;
}

.btn-premium:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(27,92,232,0.55);
  background: linear-gradient(135deg, #2468f0, #1B5CE8);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #fff;
  padding: 13px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.25);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
  white-space: nowrap;
}

.btn-ghost:hover {
  border-color: rgba(27,92,232,0.7);
  background: rgba(27,92,232,0.1);
  transform: translateY(-2px);
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10,15,24,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  height: 70px;
  display: flex;
  align-items: center;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
  width: 100%;
}

.nav-logo img { height: 40px; width: auto; }

.nav-menu {
  display: flex;
  list-style: none;
  gap: 4px;
  margin-left: auto;
}

.nav-link {
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
  background: rgba(27,92,232,0.15);
}

.nav-cta { margin-left: 16px; font-size: 14px; padding: 10px 20px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   HERO
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 70px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(10,15,24,0.88) 0%, rgba(10,15,24,0.65) 55%, rgba(10,15,24,0.35) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  padding-top: 60px;
  padding-bottom: 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(27,92,232,0.2);
  border: 1px solid rgba(27,92,232,0.4);
  color: #7aabff;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  max-width: 700px;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.75);
  max-width: 580px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-trust {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

.trust-icon {
  color: #1B5CE8;
  font-weight: 700;
  font-size: 16px;
}

/* ============================================
   STATS BAR
   ============================================ */

.stats-bar {
  background: rgba(27,92,232,0.08);
  border-top: 1px solid rgba(27,92,232,0.2);
  border-bottom: 1px solid rgba(27,92,232,0.2);
  padding: 28px 0;
}

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  padding: 12px 40px;
}

.stat-label {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.01em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ============================================
   TICKER
   ============================================ */

.ticker-wrap {
  overflow: hidden;
  background: var(--accent);
  padding: 14px 0;
  white-space: nowrap;
}

.ticker-track {
  display: inline-flex;
  animation: ticker 28s linear infinite;
  white-space: nowrap;
}

.ticker-track span {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.05em;
  padding-right: 24px;
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-33.333%); }
}

/* ============================================
   SECTION HEADERS
   ============================================ */

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-overline {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1B5CE8;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-desc {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================
   SERVICES
   ============================================ */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.services-grid-2 {
  grid-template-columns: repeat(3, 1fr);
}

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 36px 32px;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(27,92,232,0.4);
  box-shadow: 0 20px 60px rgba(27,92,232,0.15);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: rgba(27,92,232,0.15);
  border: 1px solid rgba(27,92,232,0.25);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1B5CE8;
  margin-bottom: 24px;
}

.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

.service-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-link {
  font-size: 14px;
  font-weight: 600;
  color: #1B5CE8;
  transition: gap 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.service-link:hover { color: #5588ff; gap: 8px; }

/* ============================================
   PROCESS
   ============================================ */

.process {
  background: rgba(255,255,255,0.01);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.process-grid {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.process-step {
  flex: 1;
  text-align: center;
  padding: 40px 24px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.process-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(27,92,232,0.12);
}

.process-number {
  font-size: 48px;
  font-weight: 900;
  color: rgba(27,92,232,0.2);
  line-height: 1;
  margin-bottom: 16px;
  font-variant-numeric: tabular-nums;
}

.process-step h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}

.process-step p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.process-arrow {
  font-size: 28px;
  color: rgba(27,92,232,0.4);
  margin-top: 50px;
  flex-shrink: 0;
  font-weight: 300;
}

/* ============================================
   TESTIMONIALS
   ============================================ */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 36px 32px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(27,92,232,0.12);
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 18px;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 15px;
  color: rgba(255,255,255,0.8);
  line-height: 1.75;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1B5CE8, #0c3494);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.author-info strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
}

.author-info span {
  font-size: 13px;
  color: var(--text-muted);
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
  background: linear-gradient(135deg, rgba(27,92,232,0.12) 0%, rgba(27,92,232,0.04) 100%);
}

.cta-box {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding: 80px 48px;
  background: rgba(27,92,232,0.08);
  border: 1px solid rgba(27,92,232,0.2);
  border-radius: 24px;
}

.cta-box h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.2;
}

.cta-box p {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: rgba(255,255,255,0.02);
  border-top: 1px solid var(--border);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--border);
}

.footer-brand img { margin-bottom: 16px; }

.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.footer-phone {
  font-size: 20px;
  font-weight: 700;
  color: #1B5CE8;
  transition: color 0.2s;
}

.footer-phone:hover { color: #5588ff; }

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col li,
.footer-col a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
}

.footer-legal {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-legal a {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  transition: color 0.2s;
}

.footer-legal a:hover { color: rgba(255,255,255,0.7); }

/* ============================================
   PAGE INNER HERO
   ============================================ */

.page-hero {
  padding: 140px 0 80px;
  background: linear-gradient(180deg, rgba(27,92,232,0.08) 0%, transparent 100%);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.15;
}

.page-hero p {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================
   CONTACT PAGE
   ============================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.contact-info h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.3;
}

.contact-info p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: rgba(27,92,232,0.12);
  border: 1px solid rgba(27,92,232,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1B5CE8;
  flex-shrink: 0;
}

.contact-detail-text strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-detail-text a,
.contact-detail-text span {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
}

.contact-detail-text a:hover { color: #1B5CE8; }

.contact-form {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 48px 40px;
}

.contact-form h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 16px;
  color: #fff;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: rgba(27,92,232,0.5);
  background: rgba(27,92,232,0.05);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-submit { margin-top: 8px; }
.form-submit .btn-premium { width: 100%; justify-content: center; padding: 16px; font-size: 16px; }

/* ============================================
   CONTENT SECTIONS (Bad/Heizung pages)
   ============================================ */

.content-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}

.content-section:last-of-type { border-bottom: none; }

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.content-grid.reverse { direction: rtl; }
.content-grid.reverse > * { direction: ltr; }

.content-text .section-overline { text-align: left; }

.content-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  line-height: 1.2;
}

.content-text p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}

.content-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
  margin-bottom: 32px;
}

.content-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
}

.content-feature::before {
  content: "✓";
  color: #1B5CE8;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 1px;
}

.content-image {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: rgba(27,92,232,0.08);
  border: 1px solid var(--card-border);
}

.content-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.content-image:hover img { transform: scale(1.03); }

/* Badstile grid */
.badstile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.badstil-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.badstil-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(27,92,232,0.15);
}

.badstil-img {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.badstil-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.badstil-card:hover .badstil-img img { transform: scale(1.07); }

.badstil-info {
  padding: 24px;
}

.badstil-info h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.badstil-info p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================
   IMPRESSUM / DATENSCHUTZ
   ============================================ */

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 100px 24px 80px;
}

.legal-content h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 48px;
  letter-spacing: -0.02em;
}

.legal-content h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 12px;
  color: rgba(255,255,255,0.9);
}

.legal-content p,
.legal-content address {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  font-style: normal;
  margin-bottom: 12px;
}

.legal-content a { color: #1B5CE8; }
.legal-content a:hover { color: #5588ff; }

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
  .services-grid,
  .services-grid-2 { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .process-grid { flex-wrap: wrap; }
  .process-step { min-width: calc(50% - 32px); }
  .process-arrow { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .content-grid { grid-template-columns: 1fr; gap: 40px; }
  .content-grid.reverse { direction: ltr; }
  .badstile-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #0a0f18;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 16px;
    gap: 4px;
  }
  .nav-menu.open { display: flex; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  .navbar { position: fixed; }

  .services-grid,
  .services-grid-2 { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { flex-direction: column; gap: 0; }
  .stat-divider { width: 40px; height: 1px; }
  .cta-box { padding: 48px 28px; }
  .contact-form { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .badstile-grid { grid-template-columns: 1fr; }
  .hero-trust { gap: 16px; }
  .section-pad { padding: 64px 0; }
  .process-step { min-width: 100%; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn-premium,
  .hero-actions .btn-ghost { justify-content: center; }
  .cta-actions { flex-direction: column; align-items: center; }
}
