/* TischlerDesk.de – Hauptstylesheet */
:root {
  --holzbraun: #92400E;
  --holzbraun-light: #B45309;
  --holzbraun-dark: #6B2D05;
  --dunkelgruen: #14532D;
  --dunkelgruen-light: #166534;
  --cremeweis: #FEFCE8;
  --hellgrau: #F3F4F6;
  --dunkelgrau: #374151;
  --text: #1F2937;
  --border: #E5E7EB;
  --white: #FFFFFF;
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: var(--text); background: var(--white); line-height: 1.6; }

/* NAVBAR */
.navbar { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 1px solid var(--border); padding: 0 2rem; display: flex; align-items: center; justify-content: space-between; height: 64px; box-shadow: var(--shadow); }
.navbar-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.navbar-logo { width: 38px; height: 38px; background: linear-gradient(135deg, var(--holzbraun), var(--holzbraun-light)); border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.navbar-logo svg { width: 22px; height: 22px; fill: white; }
.navbar-brand-name { font-size: 1.3rem; font-weight: 700; color: var(--holzbraun); }
.navbar-brand-name span { color: var(--dunkelgruen); }
.navbar-nav { display: flex; align-items: center; gap: 2rem; list-style: none; }
.navbar-nav a { text-decoration: none; color: var(--dunkelgrau); font-weight: 500; transition: color 0.2s; }
.navbar-nav a:hover { color: var(--holzbraun); }
.navbar-cta { background: var(--holzbraun); color: white !important; padding: 8px 20px; border-radius: 6px; font-weight: 600 !important; transition: background 0.2s !important; }
.navbar-cta:hover { background: var(--holzbraun-dark) !important; color: white !important; }
.navbar-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.navbar-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; }

/* HERO */
.hero { background: linear-gradient(135deg, var(--cremeweis) 0%, #FEF9C3 50%, #ECFDF5 100%); padding: 5rem 2rem 4rem; text-align: center; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 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='%2392400E' 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-content { max-width: 800px; margin: 0 auto; position: relative; }
.hero-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(146,64,14,0.1); color: var(--holzbraun); padding: 6px 14px; border-radius: 50px; font-size: 0.85rem; font-weight: 600; margin-bottom: 1.5rem; border: 1px solid rgba(146,64,14,0.2); }
.hero h1 { font-size: 3.5rem; font-weight: 800; color: var(--text); line-height: 1.15; margin-bottom: 1.2rem; }
.hero h1 em { font-style: normal; color: var(--holzbraun); }
.hero p { font-size: 1.2rem; color: var(--dunkelgrau); max-width: 600px; margin: 0 auto 2rem; }
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-primary { background: var(--holzbraun); color: white; padding: 14px 28px; border-radius: 8px; font-size: 1rem; font-weight: 600; text-decoration: none; transition: all 0.2s; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--holzbraun-dark); transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn-secondary { background: white; color: var(--holzbraun); padding: 14px 28px; border-radius: 8px; font-size: 1rem; font-weight: 600; text-decoration: none; border: 2px solid var(--holzbraun); transition: all 0.2s; }
.btn-secondary:hover { background: var(--cremeweis); transform: translateY(-1px); }

/* STATS */
.stats { background: var(--holzbraun); padding: 2rem; }
.stats-grid { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.stat-item { color: white; }
.stat-num { font-size: 2rem; font-weight: 800; display: block; }
.stat-label { font-size: 0.85rem; opacity: 0.85; margin-top: 2px; }

/* SECTIONS */
section { padding: 5rem 2rem; }
.container { max-width: 1100px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-badge { display: inline-block; background: var(--cremeweis); color: var(--holzbraun); padding: 4px 14px; border-radius: 50px; font-size: 0.8rem; font-weight: 600; margin-bottom: 1rem; border: 1px solid rgba(146,64,14,0.2); text-transform: uppercase; letter-spacing: 0.05em; }
.section-header h2 { font-size: 2.3rem; font-weight: 800; color: var(--text); margin-bottom: 1rem; }
.section-header p { color: var(--dunkelgrau); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

/* FEATURES */
.features { background: var(--white); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.feature-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 2rem; transition: all 0.3s; }
.feature-card:hover { border-color: var(--holzbraun); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.feature-icon { width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.2rem; font-size: 1.5rem; }
.icon-brown { background: rgba(146,64,14,0.1); }
.icon-green { background: rgba(20,83,45,0.1); }
.feature-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: 0.7rem; }
.feature-card p { color: var(--dunkelgrau); font-size: 0.93rem; }

/* COMPLIANCE */
.compliance { background: var(--dunkelgruen); padding: 4rem 2rem; }
.compliance .section-header h2, .compliance .section-header p { color: white; }
.compliance .section-badge { background: rgba(255,255,255,0.15); color: white; border-color: rgba(255,255,255,0.3); }
.compliance-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.compliance-card { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); border-radius: 12px; padding: 1.5rem; text-align: center; }
.compliance-card .badge-icon { font-size: 2rem; margin-bottom: 0.8rem; display: block; }
.compliance-card h4 { color: white; font-size: 0.95rem; font-weight: 700; margin-bottom: 0.4rem; }
.compliance-card p { color: rgba(255,255,255,0.75); font-size: 0.82rem; }

/* PRICING */
.pricing { background: var(--hellgrau); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; align-items: start; }
.pricing-card { background: white; border: 1px solid var(--border); border-radius: 16px; padding: 2.5rem; position: relative; }
.pricing-card.featured { border: 2px solid var(--holzbraun); }
.pricing-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--holzbraun); color: white; padding: 4px 16px; border-radius: 50px; font-size: 0.75rem; font-weight: 700; white-space: nowrap; }
.pricing-plan { font-size: 0.85rem; font-weight: 700; color: var(--holzbraun); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.8rem; }
.pricing-price { margin-bottom: 0.4rem; }
.pricing-price .amount { font-size: 3rem; font-weight: 800; color: var(--text); }
.pricing-price .period { color: var(--dunkelgrau); font-size: 0.9rem; }
.pricing-desc { color: var(--dunkelgrau); font-size: 0.88rem; margin-bottom: 1.8rem; }
.pricing-features { list-style: none; margin-bottom: 2rem; display: flex; flex-direction: column; gap: 0.7rem; }
.pricing-features li { display: flex; align-items: flex-start; gap: 8px; font-size: 0.9rem; color: var(--dunkelgrau); }
.pricing-features li::before { content: '✓'; color: var(--dunkelgruen); font-weight: 700; flex-shrink: 0; }
.pricing-btn { display: block; text-align: center; padding: 12px 24px; border-radius: 8px; font-weight: 600; text-decoration: none; transition: all 0.2s; }
.pricing-btn-primary { background: var(--holzbraun); color: white; }
.pricing-btn-primary:hover { background: var(--holzbraun-dark); }
.pricing-btn-outline { border: 2px solid var(--holzbraun); color: var(--holzbraun); }
.pricing-btn-outline:hover { background: var(--cremeweis); }

/* TESTIMONIALS */
.testimonials { background: var(--white); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.testimonial-card { background: var(--cremeweis); border: 1px solid rgba(146,64,14,0.15); border-radius: 12px; padding: 2rem; }
.testimonial-stars { color: var(--holzbraun-light); font-size: 1.1rem; margin-bottom: 1rem; }
.testimonial-text { color: var(--dunkelgrau); font-size: 0.95rem; line-height: 1.7; margin-bottom: 1.5rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--holzbraun); display: flex; align-items: center; justify-content: center; color: white; font-weight: 700; font-size: 1rem; }
.author-name { font-weight: 700; font-size: 0.9rem; color: var(--text); }
.author-role { font-size: 0.8rem; color: var(--dunkelgrau); }

/* CTA SECTION */
.cta-section { background: linear-gradient(135deg, var(--holzbraun) 0%, var(--holzbraun-dark) 100%); padding: 5rem 2rem; text-align: center; }
.cta-section h2 { font-size: 2.5rem; font-weight: 800; color: white; margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,0.85); font-size: 1.1rem; margin-bottom: 2rem; }
.btn-white { background: white; color: var(--holzbraun); padding: 14px 32px; border-radius: 8px; font-size: 1rem; font-weight: 700; text-decoration: none; transition: all 0.2s; display: inline-block; }
.btn-white:hover { background: var(--cremeweis); transform: translateY(-1px); }

/* FOOTER */
footer { background: #1C1917; color: rgba(255,255,255,0.7); padding: 3rem 2rem 2rem; }
.footer-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 2rem; }
.footer-brand .brand-title { font-size: 1.2rem; font-weight: 700; color: white; margin-bottom: 0.5rem; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; }
.footer-col h4 { color: white; font-weight: 700; margin-bottom: 1rem; font-size: 0.9rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col ul a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.88rem; transition: color 0.2s; }
.footer-col ul a:hover { color: white; }
.footer-bottom { max-width: 1100px; margin: 0 auto; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; align-items: center; font-size: 0.82rem; }

/* LEGAL PAGES */
.legal-page { max-width: 800px; margin: 3rem auto; padding: 0 2rem 4rem; }
.legal-page h1 { font-size: 2rem; font-weight: 800; color: var(--text); margin-bottom: 0.5rem; }
.legal-page .last-updated { color: var(--dunkelgrau); font-size: 0.85rem; margin-bottom: 2.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
.legal-page h2 { font-size: 1.2rem; font-weight: 700; color: var(--text); margin: 2rem 0 0.8rem; }
.legal-page h3 { font-size: 1rem; font-weight: 700; color: var(--dunkelgrau); margin: 1.2rem 0 0.5rem; }
.legal-page p, .legal-page li { color: var(--dunkelgrau); font-size: 0.95rem; line-height: 1.8; margin-bottom: 0.5rem; }
.legal-page ul, .legal-page ol { padding-left: 1.5rem; margin-bottom: 1rem; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .navbar-nav { display: none; }
  .navbar-toggle { display: flex; }
  .hero h1 { font-size: 2.2rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .compliance-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}
