/* ═══════════════════════════════════════════════════════
   SITEKLAR — Stylesheet
   ═══════════════════════════════════════════════════════ */

/* ─── RESET & BASE ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:      #1B3A5C;
  --primary-dark: #142d47;
  --accent:       #E8F0F7;
  --cta:          #2E7D32;
  --cta-dark:     #1b5e20;
  --text:         #1A1A1A;
  --text-muted:   #666;
  --white:        #fff;
  --gray-bg:      #F8F9FA;
  --shadow:       0 2px 12px rgba(0,0,0,0.08);
  --shadow-md:    0 4px 20px rgba(0,0,0,0.12);
  --radius:       8px;
  --transition:   0.2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: 68px;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

h1 { font-size: clamp(32px, 5vw, 48px);   font-weight: 700; line-height: 1.2; }
h2 { font-size: clamp(24px, 3.5vw, 32px); font-weight: 600; line-height: 1.3; }
h3 { font-size: clamp(18px, 2.5vw, 20px); font-weight: 600; line-height: 1.4; }

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

section { padding: 80px 0; }

.section-title    { text-align: center; margin-bottom: 12px; }
.section-subtitle {
  text-align: center; color: var(--text-muted); font-size: 18px;
  max-width: 620px; margin: 0 auto 52px;
}

/* ─── NAVIGATION ─────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: var(--white);
  z-index: 1000;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}
#navbar.scrolled {
  border-bottom-color: #e5e7eb;
  box-shadow: var(--shadow);
}

.nav-container {
  max-width: 1100px; margin: 0 auto;
  padding: 0 24px; height: 68px;
  display: flex; align-items: center; justify-content: space-between;
  position: relative;
}

.nav-logo {
  font-size: 22px; font-weight: 700;
  color: var(--primary); letter-spacing: -0.5px;
}

.nav-links {
  display: flex; align-items: center; gap: 32px;
}
.nav-links a {
  font-size: 15px; font-weight: 500; color: var(--text);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--primary); }

.nav-links .nav-cta {
  background: var(--primary); color: var(--white) !important;
  padding: 10px 20px; border-radius: var(--radius);
  transition: background var(--transition);
}
.nav-links .nav-cta:hover { background: var(--primary-dark); }

.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--primary);
  transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── BUTTONS ─────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: var(--radius);
  font-family: inherit; font-size: 16px; font-weight: 600;
  cursor: pointer; border: none;
  transition: all var(--transition); text-decoration: none;
}
.btn-primary { background: var(--cta); color: var(--white); }
.btn-primary:hover  { background: var(--cta-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.65); }
.btn-outline:hover  { background: rgba(255,255,255,0.1); border-color: white; }

.btn-dark { background: var(--primary); color: var(--white); }
.btn-dark:hover     { background: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-dark-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-dark-outline:hover { background: var(--primary); color: white; }

.btn-green { background: #25D366; color: white; }
.btn-green:hover { background: #128C7E; transform: translateY(-2px); }

.btn-full { width: 100%; }

/* ─── HERO ─────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #4A90D9 0%, #1B3A5C 30%, #2D1B69 60%, #1a4a8a 100%);
  background-size: 300% 300%;
  animation: heroGradient 8s ease infinite;
  padding: 100px 0 90px;
  color: var(--white);
  text-align: center;
}
@keyframes heroGradient {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.hero h1      { color: var(--white); margin-bottom: 20px; animation: heroFadeSlide 0.6s ease-out 0.2s both; }
.hero p       { font-size: 19px; color: rgba(255,255,255,0.85); max-width: 600px; margin: 0 auto 36px; animation: heroFadeSlide 0.6s ease-out 0.5s both; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; animation: heroFadeSlide 0.6s ease-out 0.8s both; }

/* ─── HERO ANIMATION ─────────────────────────────────── */
@keyframes heroFadeSlide {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── TRUST BAR ─────────────────────────────────── */
.trust-bar {
  background: var(--white);
  padding: 36px 0;
  border-bottom: 1px solid #eee;
}
.trust-items {
  display: flex; justify-content: center;
  gap: 48px; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 12px;
  font-weight: 600; font-size: 15px;
}
.trust-icon { font-size: 28px; }

/* ─── ABOUT ─────────────────────────────────── */
.about { background: var(--accent); }
.about-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.about-photo {
  background: #c8d8e8;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  display: flex; align-items: center; justify-content: center;
  color: #5a7a99; font-size: 14px; text-align: center;
  padding: 32px; line-height: 1.8; font-style: italic;
  animation: aboutSlideLeft 0.7s ease-out 1.1s both;
}
.about-label {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--primary); opacity: 0.6;
  margin-bottom: 16px;
}
.about-text  { animation: aboutSlideRight 0.7s ease-out 1.1s both; }
.about-text p { color: #444; margin-bottom: 14px; }
.about-quote {
  border-left: 3px solid var(--primary);
  padding: 4px 0 4px 18px;
  margin: 8px 0 28px;
  font-style: italic; font-size: 17px;
  color: var(--primary); line-height: 1.6;
}

@keyframes aboutSlideLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes aboutSlideRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ─── PROCESS ─────────────────────────────────── */
.process { background: var(--white); }
.process-steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; position: relative;
}
.process-steps::before {
  content: '';
  position: absolute; top: 28px;
  left: calc(12.5% + 12px); right: calc(12.5% + 12px);
  height: 2px; background: #dde4ec; z-index: 0;
}
.step { text-align: center; position: relative; z-index: 1; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--primary); color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 700;
  margin: 0 auto 16px;
}
.step-icon { font-size: 22px; margin-bottom: 8px; }
.step h3   { margin-bottom: 8px; font-size: 17px; }
.step p    { font-size: 14px; color: #555; }
.step-content { flex: 1; }

/* ─── CARDS (shared) ─────────────────────────────────── */
.card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

/* ─── PRICES PREVIEW (index) ─────────────────────────────────── */
.prices { background: var(--gray-bg); }
.price-cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.price-card { text-align: center; }
.price-card.featured { border: 2px solid var(--primary); position: relative; }

.featured-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: white;
  padding: 4px 16px; border-radius: 20px;
  font-size: 12px; font-weight: 600; white-space: nowrap;
}
.price-name   { font-size: 17px; font-weight: 600; color: var(--text-muted); margin-bottom: 8px; }
.price-amount { font-size: 42px; font-weight: 700; color: var(--primary); margin-bottom: 4px; line-height: 1; }
.price-amount span { font-size: 20px; font-weight: 400; }
.price-original { font-size: 13px; color: var(--text-muted); text-decoration: line-through; margin-bottom: 24px; }
.price-features { text-align: left; margin-bottom: 28px; }
.price-features li { padding: 6px 0; font-size: 14px; display: flex; gap: 8px; }
.price-features li::before { content: '✓'; color: var(--cta); font-weight: 700; flex-shrink: 0; }
.prices-cta { text-align: center; margin-top: 40px; }

/* ─── SOCIAL PROOF ─────────────────────────────────── */
.social-proof { background: white; }
.proof-placeholder {
  background: var(--accent);
  border: 2px dashed #b0c8dc;
  border-radius: var(--radius);
  padding: 60px 32px; text-align: center;
}
.proof-placeholder .stars { font-size: 28px; margin-bottom: 16px; }
.proof-placeholder blockquote {
  font-size: 19px; font-style: italic;
  color: var(--primary); margin-bottom: 24px; font-weight: 500;
}

/* ─── PAGE HERO ─────────────────────────────────── */
.page-hero {
  background: var(--primary);
  background-image: radial-gradient(circle, rgba(255,255,255,0.07) 1.5px, transparent 1.5px);
  background-size: 32px 32px;
  padding: 72px 0 60px;
  text-align: center; color: white;
}
.page-hero h1 { color: white; margin-bottom: 12px; }
.page-hero p  { color: rgba(255,255,255,0.8); font-size: 18px; max-width: 600px; margin: 0 auto; }

/* ─── DISCOUNT BANNER ─────────────────────────────────── */
.discount-banner {
  background: #FFF9C4;
  border: 2px solid #F9A825;
  border-radius: var(--radius);
  padding: 18px 32px;
  text-align: center;
  font-size: 18px; font-weight: 600;
  margin-bottom: 52px;
}

/* ─── PACKAGES (leistungen) ─────────────────────────────────── */
.packages { background: white; }
.packages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.package-card { padding: 40px 32px; }
.package-card.featured { border: 2px solid var(--primary); position: relative; }
.package-name   { font-size: 18px; font-weight: 600; color: var(--text-muted); margin-bottom: 8px; }
.package-amount { font-size: 44px; font-weight: 700; color: var(--primary); line-height: 1; margin-bottom: 4px; }
.package-amount span { font-size: 20px; font-weight: 400; }
.package-early  { font-size: 13px; color: var(--cta); font-weight: 600; margin-bottom: 4px; }
.package-orig   { font-size: 13px; color: var(--text-muted); text-decoration: line-through; margin-bottom: 24px; }
.package-features { text-align: left; margin: 0 0 28px; }
.package-features li {
  padding: 9px 0; font-size: 14px;
  display: flex; gap: 10px;
  border-bottom: 1px solid #f0f0f0;
}
.package-features li::before { content: '✓'; color: var(--cta); font-weight: 700; flex-shrink: 0; }
.package-divider { border: none; border-top: 1px solid #eee; margin: 24px 0; }

/* ─── ABO ─────────────────────────────────── */
.abo { background: var(--accent); }
.abo-inner {
  display: grid; grid-template-columns: 240px 1fr;
  gap: 48px; align-items: center;
  background: white; border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 40px;
}
.abo-price { text-align: center; }
.abo-amount { font-size: 52px; font-weight: 700; color: var(--primary); line-height: 1; }
.abo-amount span { font-size: 20px; font-weight: 400; }
.abo-monat { color: var(--text-muted); font-size: 14px; margin-top: 4px; }
.abo-features h3 { margin-bottom: 16px; }
.abo-features li {
  display: flex; gap: 10px; padding: 9px 0;
  border-bottom: 1px solid #e8eff7; font-size: 15px;
}
.abo-features li::before { content: '✓'; color: var(--cta); font-weight: 700; flex-shrink: 0; }

/* ─── FAQ ─────────────────────────────────── */
.faq { background: var(--gray-bg); }
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
  background: white; border-radius: var(--radius);
  box-shadow: var(--shadow); margin-bottom: 12px; overflow: hidden;
}
.faq-question {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; background: none; border: none; cursor: pointer;
  font-family: inherit; font-size: 16px; font-weight: 600; text-align: left;
  color: var(--text); transition: background var(--transition);
}
.faq-question:hover { background: var(--accent); }
.faq-icon { font-size: 20px; color: var(--primary); transition: transform 0.3s ease; flex-shrink: 0; margin-left: 16px; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px; color: #444; font-size: 15px;
}
.faq-item.open .faq-answer { padding: 0 24px 20px; }

/* ─── REFERENZEN ─────────────────────────────────── */
.refs-intro { background: var(--accent); text-align: center; }
.refs-intro p { color: #444; font-size: 18px; max-width: 640px; margin: 20px auto 0; }
.refs { background: white; }
.refs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.ref-card { border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: transform var(--transition), box-shadow var(--transition); }
.ref-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.ref-thumb {
  background: #c8d8e8;
  height: 200px;
  display: flex; align-items: center; justify-content: center;
  color: #5a7a99; font-size: 13px; font-style: italic;
  text-align: center; padding: 20px; line-height: 1.6;
}
.ref-body { padding: 24px; background: white; }
.ref-body h3 { margin-bottom: 4px; }
.ref-type    { color: var(--text-muted); font-size: 13px; margin-bottom: 12px; font-weight: 500; }
.ref-body p  { font-size: 14px; color: #555; margin-bottom: 16px; line-height: 1.6; }
.ref-tags    { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  background: var(--accent); color: var(--primary);
  padding: 4px 11px; border-radius: 20px; font-size: 12px; font-weight: 500;
}
.refs-cta { background: var(--gray-bg); text-align: center; }
.refs-cta h2 { margin-bottom: 12px; }
.refs-cta p  { color: var(--text-muted); margin-bottom: 28px; font-size: 18px; }

/* ─── KONTAKT ─────────────────────────────────── */
.contact-section { background: white; }
.contact-grid    { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 500; margin-bottom: 6px; font-size: 14px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid #ddd; border-radius: var(--radius);
  font-family: inherit; font-size: 16px; color: var(--text);
  transition: border-color var(--transition); background: white;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--primary); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-success { display: none; background: #e8f5e9; border: 1px solid #a5d6a7; border-radius: var(--radius); padding: 20px 24px; color: #1b5e20; font-weight: 500; margin-top: 16px; }
.form-success.visible { display: block; }

.contact-info h2 { margin-bottom: 28px; }
.contact-method  { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 28px; }
.contact-method-icon { font-size: 28px; flex-shrink: 0; line-height: 1; }
.contact-method h3  { font-size: 16px; margin-bottom: 4px; }
.contact-method p,
.contact-method a   { color: var(--text-muted); font-size: 15px; }
.contact-method a:hover { color: var(--primary); text-decoration: underline; }

.whatsapp-btn {
  display: flex; align-items: center; gap: 12px;
  background: #25D366; color: white;
  padding: 16px 24px; border-radius: var(--radius);
  font-size: 16px; font-weight: 600;
  margin-bottom: 24px; width: 100%;
  transition: background var(--transition), transform var(--transition);
}
.whatsapp-btn:hover { background: #128C7E; transform: translateY(-2px); }
.whatsapp-btn .wa-icon { font-size: 24px; }

.maps-placeholder {
  background: #e8eff5;
  border-radius: var(--radius);
  height: 200px;
  display: flex; align-items: center; justify-content: center;
  color: #5a7a99; font-size: 14px; text-align: center; padding: 24px;
  margin-top: 24px; flex-direction: column; gap: 8px;
}

/* ─── LEGAL (impressum / datenschutz) ─────────────────────────────────── */
.legal-content { background: white; }
.legal-content .container { max-width: 820px; }
.legal-content h2   { margin: 40px 0 12px; font-size: 20px; color: var(--primary); }
.legal-content h3   { margin: 24px 0 8px;  font-size: 17px; }
.legal-content p    { margin-bottom: 12px; color: #333; }
.legal-content ul   { margin: 0 0 12px 20px; list-style: disc; }
.legal-content ul li { margin-bottom: 6px; color: #333; }
.legal-content a    { color: var(--primary); text-decoration: underline; }

/* ─── FOOTER ─────────────────────────────────── */
footer {
  background: var(--primary);
  color: rgba(255,255,255,0.8);
  padding: 64px 0 32px;
}
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-logo {
  display: inline-block; font-size: 22px; font-weight: 700;
  color: white; margin-bottom: 12px;
}
.footer-brand p  { font-size: 14px; line-height: 1.8; }
.footer-col h4   { color: white; font-size: 13px; font-weight: 600; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.6px; }
.footer-col a,
.footer-col p    { display: block; color: rgba(255,255,255,0.7); font-size: 14px; margin-bottom: 9px; transition: color var(--transition); }
.footer-col a:hover { color: white; }
.footer-bottom   { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 24px; text-align: center; font-size: 14px; color: rgba(255,255,255,0.45); }

/* ─── SCROLL TO TOP ─────────────────────────────────── */
.scroll-top {
  position: fixed; bottom: 32px; right: 32px;
  width: 48px; height: 48px;
  background: var(--primary); color: white;
  border: none; border-radius: 50%; cursor: pointer;
  font-size: 22px; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.3s, transform 0.3s;
  z-index: 999; line-height: 1;
}
.scroll-top.visible { opacity: 1; transform: translateY(0); }
.scroll-top:hover   { background: var(--primary-dark); }

/* ─── SCROLL REVEAL ─────────────────────────────────── */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 900px) {
  .packages-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
  .refs-grid     { grid-template-columns: 1fr 1fr; }
  .abo-inner     { grid-template-columns: 1fr; }
  .abo-price     { border-bottom: 1px solid #e8eff7; padding-bottom: 24px; }
}

@media (max-width: 768px) {
  section { padding: 60px 0; }
  body    { padding-top: 68px; }

  /* Hamburger */
  .hamburger { display: flex; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0;
    background: white;
    flex-direction: column; align-items: stretch;
    gap: 0; max-height: 0; overflow: hidden;
    transition: max-height 0.35s ease;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  }
  .nav-links.open { max-height: 320px; }
  .nav-links li   { border-bottom: 1px solid #f0f0f0; }
  .nav-links a    { display: block; padding: 16px 24px; }
  .nav-links .nav-cta {
    margin: 12px 24px 16px;
    border-radius: var(--radius);
    text-align: center;
    padding: 12px 20px;
  }
  .nav-links li:has(.nav-cta) { border-bottom: none; }

  /* Hero */
  .hero { padding: 72px 0 64px; }
  .hero-buttons { flex-direction: column; align-items: center; }

  /* Trust */
  .trust-items { gap: 20px; flex-direction: column; align-items: flex-start; padding: 0 24px; }

  /* About */
  .about-inner { grid-template-columns: 1fr; gap: 32px; }

  /* Process */
  .process-steps { grid-template-columns: 1fr; }
  .process-steps::before { display: none; }
  .step { display: flex; gap: 20px; align-items: flex-start; text-align: left; }
  .step-num { flex-shrink: 0; margin: 0; }
  .step-content { flex: 1; }

  /* Price cards */
  .price-cards { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }

  /* Refs */
  .refs-grid { grid-template-columns: 1fr; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; gap: 32px; }

  /* Misc */
  .discount-banner { font-size: 15px; padding: 14px 20px; }
  .scroll-top { bottom: 20px; right: 20px; }
}

@media (max-width: 480px) {
  h1 { font-size: 28px; }
  h2 { font-size: 22px; }
  .container { padding: 0 16px; }
  .card { padding: 24px; }
  .package-card { padding: 28px 24px; }
}
