/* ==========================================================================
   KLARTEXT Bauen - GLOBAL DESIGN SYSTEM & STYLESHEET
   ========================================================================== */

/* DESIGN VARIABLES */
:root {
  --primary: #1e293b;       /* Schieferblau */
  --primary-dark: #0f172a;  /* Dunkles Schieferblau */
  --accent: #d97706;       /* Warmes Gold */
  --accent-hover: #b45309; /* Dunkleres Gold */
  --bg-light: #f8fafc;     /* Heller Hintergrund */
  --text-dark: #334155;    /* Lesetext */
  --text-muted: #64748b;   /* Nebentext */
  --white: #ffffff;
  --border: #e2e8f0;
  --radius: 12px;
  --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
}

/* BASE RESET */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Liberation Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
}

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

/* HEADER & NAVIGATION */
header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary);
  text-decoration: none;
}

.brand-logo span {
  color: var(--accent);
}

.nav-btn {
  background: var(--primary);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.2s;
}

.nav-btn:hover {
  background: var(--primary-dark);
}

/* HERO SECTION */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 60px 0 80px;
}

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

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.badge {
  display: inline-block;
  background: rgba(217, 119, 6, 0.2);
  color: #fef3c7;
  border: 1px solid var(--accent);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 2.2rem;
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 800;
}

@media (min-width: 768px) {
  .hero h1 { font-size: 2.8rem; }
}

.hero p {
  font-size: 1.1rem;
  color: #cbd5e1;
  margin-bottom: 30px;
}

.cta-btn {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  padding: 16px 32px;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(217, 119, 6, 0.4);
  transition: all 0.2s;
  text-align: center;
}

.cta-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

.hero-mockup img {
  width: 100%;
  max-width: 380px;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 15px 25px rgba(0,0,0,0.3));
}

/* SECTIONS & CARDS */
section {
  padding: 70px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.section-title p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}

@media (min-width: 768px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 15px;
}

.card h3 {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 10px;
}

/* VALUE STACK (BONI) */
.boni-section {
  background: #eff6ff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.boni-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 768px) {
  .boni-grid { grid-template-columns: 1fr 1fr; }
}

.boni-item {
  display: flex;
  gap: 20px;
  background: var(--white);
  padding: 25px;
  border-radius: var(--radius);
  border: 1px solid #bfdbfe;
}

.boni-number {
  background: var(--accent);
  color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

/* PRICING & VENDORS */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 30px;
}

@media (min-width: 768px) {
  .pricing-grid { grid-template-columns: 1fr 1fr; }
}

.price-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 2px solid var(--border);
  padding: 35px 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow);
}

.price-card.featured {
  border-color: var(--accent);
}

.ribbon {
  position: absolute;
  top: -15px;
  right: 20px;
  background: var(--accent);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 12px;
  text-transform: uppercase;
}

.price-header h3 {
  font-size: 1.5rem;
  color: var(--primary);
}

.price-tag {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  margin: 15px 0;
}

.price-tag span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
}

.feature-list {
  list-style: none;
  margin: 20px 0 30px;
}

.feature-list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

.vendor-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-vendor {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--border);
  color: var(--primary);
  background: var(--bg-light);
  transition: all 0.2s;
}

.btn-vendor:hover {
  border-color: var(--primary);
  background: #e2e8f0;
}

.btn-vendor.primary-vendor {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn-vendor.primary-vendor:hover {
  background: var(--primary-dark);
}

/* AUTHOR BOX */
.author-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: center;
}

@media (min-width: 768px) {
  .author-box { grid-template-columns: 150px 1fr; }
}

.author-img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto;
}

/* FAQ */
.faq-item {
  background: var(--white);
  padding: 20px 25px;
  border-radius: 8px;
  margin-bottom: 15px;
  border: 1px solid var(--border);
}

.faq-item h4 {
  color: var(--primary);
  margin-bottom: 8px;
}

/* RECHTS- / CONTENT-SEITEN (IMPRESSUM & DATENSCHUTZ) */
.legal-container {
  max-width: 800px;
  margin: 40px auto;
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.legal-container h1 {
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 20px;
}

.legal-container h2 {
  color: var(--primary);
  font-size: 1.25rem;
  margin-top: 25px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 5px;
}

.legal-container h3 {
  color: var(--primary);
  font-size: 1.05rem;
  margin-top: 15px;
  margin-bottom: 5px;
}

.legal-container p, 
.legal-container ul {
  margin-bottom: 15px;
}

.legal-container ul {
  padding-left: 20px;
}

.back-link {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.back-link:hover {
  text-decoration: underline;
}

/* FOOTER */
footer {
  background: var(--primary-dark);
  color: #94a3b8;
  padding: 40px 0 20px;
  font-size: 0.9rem;
  text-align: center;
}

footer a {
  color: #cbd5e1;
  text-decoration: none;
  margin: 0 10px;
}

footer a:hover {
  color: var(--accent);
}

.legal-text {
  margin-top: 20px;
  font-size: 0.8rem;
  color: #64748b;
}
