/* =============================================
   deinelokalseite.de – Globales Stylesheet
   Design: Warm Cream + Terrakotta
   Typography:
     Hero headline:       Playfair Display 700
     Highlighted italic:  Playfair Display Italic 600
     Section headings:    Playfair Display 600
     Navigation:          Inter 500
     Body copy:           Inter 400
     Buttons:             Inter 500
     Small labels/badges: Inter 600 uppercase
   ============================================= */

/* ================================================
   FONTS: Playfair Display + Inter
   WICHTIG vor Go-Live:
   Dateien von fonts.google.com herunterladen und
   unter /fonts/ ablegen, dann @font-face nutzen.
   Alternativ: CSS-@import bleibt aktiv (erfordert
   Cookie-Banner bei strikter DSGVO-Auslegung).
   Aktuelle Lösung: @import via CSS (kein direkter
   HTML-Aufruf – geringes DSGVO-Risiko, da kein
   Tracking-Cookie gesetzt wird).
   ================================================ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;1,600&family=Inter:wght@400;500;600&display=swap');

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1a1a1a;
  background: #fff;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.15;
  letter-spacing: -0.2px;
  color: #1a1a1a;
}

/* Hero headline: Playfair Display 700 */
h1 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 700;
}

/* Section headings: Playfair Display 600 */
h2, h3, h4 {
  font-weight: 600;
}

h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.2rem; }

/* Highlighted italic text: Playfair Display Italic 600 */
em.accent {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 600;
  color: #c8622a;
}

p { color: #444; line-height: 1.75; }

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

.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.bg-cream { background: #f5f0e8; }
.bg-white { background: #fff; }

/* ---- NAV ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #eee;
  padding: 0 24px;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

/* Navigation: Inter 500 */
.nav-logo {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 500;
  color: #1a1a1a;
  letter-spacing: -0.2px;
}

.nav-logo span { color: #c8622a; }

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  color: #555;
  transition: color 0.15s;
}

.nav-links a:hover,
.nav-links a.active { color: #1a1a1a; font-weight: 500; }

.nav-cta {
  background: #1a1a1a;
  color: #fff !important;
  padding: 9px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.15s;
}

.nav-cta:hover { background: #c8622a; }

/* Mobile Nav */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #1a1a1a;
  border-radius: 2px;
  transition: 0.2s;
}

/* ---- BUTTONS ---- */
/* Buttons: Inter 500 */
.btn {
  display: inline-block;
  padding: 11px 24px;
  border-radius: 6px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
  border: 1.5px solid transparent;
  text-align: center;
}

.btn-primary {
  background: #1a1a1a;
  color: #fff;
  border-color: #1a1a1a;
}

.btn-primary:hover { background: #c8622a; border-color: #c8622a; }

.btn-outline {
  background: transparent;
  color: #1a1a1a;
  border-color: #1a1a1a;
}

.btn-outline:hover { background: #1a1a1a; color: #fff; }

.btn-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Small labels / badges: Inter 600 uppercase */
.badge {
  display: inline-block;
  background: #e8d8c0;
  color: #7a4a1a;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 99px;
  margin-bottom: 20px;
}

/* ---- HERO ---- */
.hero {
  background: #f5f0e8;
  padding: 88px 24px 72px;
  text-align: center;
  border-bottom: 1px solid #e8e0d5;
}

.hero h1 { max-width: 640px; margin: 0 auto 20px; }
.hero p { max-width: 520px; margin: 0 auto 36px; font-size: 15px; color: #555; }

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid #ddd5c8;
}

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-style: italic;
  font-weight: 700;
  color: #c8622a;
  display: block;
}

.stat-label { font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 0.8px; text-transform: uppercase; color: #999; display: block; margin-top: 2px; }

/* ---- CARDS ---- */
.card {
  background: #fff;
  border: 1px solid #e5e0d8;
  border-radius: 10px;
  padding: 28px;
}

.card-grid {
  display: grid;
  gap: 16px;
}

.card-grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card-grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card-grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* ---- PACKAGES ---- */
.pkg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  /* Platz für die schwebenden Labels über den Karten */
  padding-top: 20px;
}

.pkg-card {
  background: #fff;
  border: 1px solid #e5e0d8;
  border-radius: 10px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  position: relative; /* Anker für absolut positionierte Labels */
}

.pkg-card.featured { border: 2px solid #c8622a; }

.pkg-card.dimmed {
  background: #f9f7f4;
  border-color: #e0dbd3;
  opacity: 0.72;
  pointer-events: none; /* nicht klickbar */
}

/* Label schwebt über dem Kartenrahmen */
.pkg-label {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 99px;
}

.pkg-label.featured-label {
  background: #e8d8c0;
  color: #7a4a1a;
  border: 1.5px solid #c8622a;
}

.pkg-label.coming-soon-label {
  background: #ededeb;
  color: #888;
  border: 1.5px solid #ccc;
}

.pkg-name { font-size: 15px; font-weight: 600; color: #1a1a1a; margin-bottom: 4px; font-family: 'Inter', sans-serif; }

.pkg-price {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-style: italic;
  font-weight: 700;
  color: #c8622a;
  line-height: 1.1;
  margin: 8px 0 4px;
}

.pkg-price-note { font-size: 12px; color: #999; margin-bottom: 12px; display: block; }
.pkg-desc { font-size: 13px; color: #666; line-height: 1.5; margin-bottom: 20px; }

.pkg-features {
  list-style: none;
  margin: 0 0 24px;
  flex: 1;
}

.pkg-features li {
  font-size: 13px;
  color: #555;
  padding: 5px 0;
  border-bottom: 1px solid #f0ece6;
  display: flex;
  gap: 8px;
  align-items: baseline;
}

.pkg-features li:last-child { border-bottom: none; }
.chk { color: #c8622a; flex-shrink: 0; font-size: 12px; }

/* ---- PROCESS ---- */
.process-list { display: flex; flex-direction: column; gap: 0; }

.process-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 24px 0;
  border-bottom: 1px solid #eee;
}

.process-step:last-child { border-bottom: none; }

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e8d8c0;
  color: #7a4a1a;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  font-family: 'Inter', sans-serif;
}

.step-title { font-size: 15px; font-weight: 600; color: #1a1a1a; margin-bottom: 4px; font-family: 'Inter', sans-serif; }
.step-desc { font-size: 13px; color: #666; line-height: 1.65; }

/* ---- TESTIMONIALS ---- */
.testimonial {
  background: #fff;
  border: 1px solid #e5e0d8;
  border-radius: 10px;
  padding: 24px;
}

.testimonial-quote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 600;
  font-size: 14px;
  color: #333;
  line-height: 1.7;
  margin-bottom: 16px;
}

.testimonial-author { font-size: 13px; font-weight: 600; color: #1a1a1a; }
.testimonial-role { font-size: 12px; color: #999; }

/* ---- FAQ ---- */
.faq-item {
  border-bottom: 1px solid #eee;
  padding: 20px 0;
}

.faq-item:last-child { border-bottom: none; }

.faq-q {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: 'Inter', sans-serif;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  padding: 0;
}

.faq-icon { color: #c8622a; font-size: 22px; font-weight: 300; flex-shrink: 0; transition: transform 0.2s; }
.faq-a { font-size: 14px; color: #666; line-height: 1.7; margin-top: 10px; display: none; }
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* ---- CONTACT FORM ---- */
.contact-form { max-width: 600px; }

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

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #333;
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  color: #1a1a1a;
  background: #fff;
  transition: border-color 0.15s;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #c8622a;
}

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

.form-privacy {
  font-size: 12px;
  color: #888;
  line-height: 1.6;
  margin-bottom: 20px;
}

.form-privacy a { color: #c8622a; text-decoration: underline; }

/* ---- CTA SECTION ---- */
.cta-section {
  background: #f5f0e8;
  padding: 80px 24px;
  text-align: center;
  border-top: 1px solid #e8e0d5;
}

.cta-section h2 { margin-bottom: 12px; }
.cta-section p { font-size: 15px; color: #666; max-width: 420px; margin: 0 auto 32px; }
.cta-fine { font-size: 12px; color: #aaa; margin-top: 16px; display: block; }

/* ---- PAGE HERO (Unterseiten) ---- */
.page-hero {
  background: #f5f0e8;
  padding: 64px 24px 56px;
  text-align: center;
  border-bottom: 1px solid #e8e0d5;
}

.page-hero h1 { max-width: 600px; margin: 0 auto 16px; }
.page-hero p { max-width: 500px; margin: 0 auto; font-size: 15px; color: #666; }

/* ---- SECTION HEADER ---- */
.section-header { margin-bottom: 40px; }
.section-header h2 { margin-bottom: 6px; }
.section-header p { font-size: 14px; color: #888; }

/* ---- BRANCH CARDS ---- */
.branch-icon { font-size: 24px; margin-bottom: 12px; display: block; }
.branch-name { font-size: 14px; font-weight: 600; color: #1a1a1a; margin-bottom: 6px; font-family: 'Inter', sans-serif; }
.branch-desc { font-size: 12px; color: #888; line-height: 1.5; }

.branch-card {
  background: #fff;
  border: 1px solid #e5e0d8;
  border-radius: 10px;
  padding: 24px;
  transition: border-color 0.15s;
}

.branch-card:hover { border-color: #c8622a; }

/* ---- INFO GRID ---- */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 768px) {
  .info-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ---- HIGHLIGHT LIST ---- */
.highlight-list {
  list-style: none;
  padding: 0;
}

.highlight-list li {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
  font-size: 14px;
  color: #444;
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.highlight-list li:last-child { border-bottom: none; }
.highlight-list .chk { color: #c8622a; font-size: 12px; flex-shrink: 0; }

/* ---- FOOTER ---- */
footer {
  background: #1a1a1a;
  color: #aaa;
  padding: 48px 24px 32px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #333;
}

.footer-logo {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}

.footer-logo span { color: #c8622a; }
.footer-desc { font-size: 13px; line-height: 1.65; }

.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 14px;
  font-family: 'Inter', sans-serif;
}

.footer-col ul { list-style: none; }

.footer-col ul li { margin-bottom: 8px; }

.footer-col ul li a {
  font-size: 13px;
  color: #aaa;
  transition: color 0.15s;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 12px;
  flex-wrap: wrap;
  gap: 8px;
}


/* ---- KONTAKT GRID ---- */
.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

@media (max-width: 768px) {
  .kontakt-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: #fff; border-bottom: 1px solid #eee; padding: 16px 24px; gap: 16px; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .hero { padding: 60px 24px 52px; }
  .hero-stats { gap: 28px; }
  .pkg-grid { grid-template-columns: 1fr; }
  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .section { padding: 52px 0; }
}

@media (max-width: 480px) {
  .btn-group { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .card-grid-4 { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 20px; }
}

@media (max-width: 768px) {
  /* Branchen-Grid: 2 Spalten statt 4 auf Mobile */
  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }

  /* Branche-Section Grid stacken */
  .branche-grid { grid-template-columns: 1fr; gap: 24px; }

  /* Preisvergleich-Grid stacken */
  .info-grid { grid-template-columns: 1fr; gap: 24px; }

  /* Hero Stats: 2x2 statt 1x4 auf kleinen Screens */
  .hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 32px; }

  /* Section-Header Abstand reduzieren */
  .section-header { margin-bottom: 28px; }

  /* Pkg-Grid: 1 Spalte auf Mobile */
  .pkg-grid { grid-template-columns: 1fr; }

  /* Footer-Bottom stacken */
  .footer-bottom { flex-direction: column; gap: 4px; text-align: center; }
}

@media (max-width: 480px) {
  /* Hero H1 etwas kleiner */
  h1 { font-size: 1.75rem; }

  /* Stats 1-spaltig auf sehr kleinen Screens */
  .hero-stats { grid-template-columns: 1fr 1fr; }

  /* Branchen 1-spaltig auf sehr kleinen Screens */
  .card-grid-4 { grid-template-columns: 1fr; }

  /* Kontakt-Form: volle Breite */
  .contact-form { width: 100%; }
}
