/* FliesenDesk – Brand Stylesheet */
/* Colors: Steingrau #6B7280 | Terrakotta #C2410C | Weiß #FAFAFA | Sandbeige #FEF3C7 */

:root {
  --steingrau: #6B7280;
  --terrakotta: #C2410C;
  --terra-dark: #B91C1C;
  --terra-light: #EA580C;
  --weiss: #FAFAFA;
  --sandbeige: #FEF3C7;
  --dunkelgrau: #1F2937;
  --mittelgrau: #374151;
  --hellgrau: #F3F4F6;
  --border: #E5E7EB;
  --text: #111827;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--weiss);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

/* ─── NAVIGATION ─── */
.nav {
  background: #fff;
  border-bottom: 3px solid var(--terrakotta);
  padding: 0 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--terrakotta);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo .logo-desk { color: var(--steingrau); }

.nav-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: var(--terrakotta);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-links a {
  color: var(--mittelgrau);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.15s;
}

.nav-links a:hover { color: var(--terrakotta); }

.nav-cta {
  background: var(--terrakotta) !important;
  color: #fff !important;
  padding: 0.5rem 1.25rem !important;
  border-radius: 6px;
  font-weight: 700 !important;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--terra-dark) !important; }

/* ─── HERO ─── */
.hero {
  background: linear-gradient(135deg, var(--dunkelgrau) 0%, #111827 60%, #1F2937 100%);
  color: #fff;
  padding: 7rem 2rem 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 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='%23ffffff' fill-opacity='0.03'%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-badge {
  display: inline-block;
  background: rgba(194, 65, 12, 0.3);
  border: 1px solid rgba(194, 65, 12, 0.6);
  color: var(--sandbeige);
  padding: 0.3rem 1rem;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.75rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  position: relative;
}

.hero h1 em {
  color: var(--terrakotta);
  font-style: normal;
}

.hero-tagline {
  font-size: 1.2rem;
  color: var(--sandbeige);
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.hero p.hero-sub {
  font-size: 1.05rem;
  color: #9CA3AF;
  max-width: 580px;
  margin: 0 auto 2.5rem;
  position: relative;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

.hero-info {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-top: 2.5rem;
  flex-wrap: wrap;
  position: relative;
}

.hero-info-item {
  font-size: 0.85rem;
  color: #6B7280;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-info-item span { color: #9CA3AF; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--terrakotta);
  color: #fff;
}
.btn-primary:hover { background: var(--terra-dark); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.25);
}
.btn-outline:hover { border-color: var(--sandbeige); color: var(--sandbeige); }

.btn-light {
  background: #fff;
  color: var(--terrakotta);
}
.btn-light:hover { background: var(--sandbeige); }

/* ─── STATS BAR ─── */
.stats-bar {
  background: var(--sandbeige);
  border-bottom: 1px solid #FDE68A;
  padding: 1.75rem 2rem;
  display: flex;
  justify-content: center;
  gap: 5rem;
  flex-wrap: wrap;
}

.stat { text-align: center; }

.stat-value {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  color: var(--terrakotta);
  line-height: 1;
}

.stat-label {
  font-size: 0.83rem;
  color: var(--steingrau);
  font-weight: 500;
  margin-top: 0.25rem;
}

/* ─── SECTIONS ─── */
section { padding: 5.5rem 2rem; }

.container { max-width: 1120px; margin: 0 auto; }

.section-tag {
  display: inline-block;
  background: var(--sandbeige);
  color: var(--terrakotta);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.75rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header h2 {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--dunkelgrau);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.section-header p {
  color: var(--steingrau);
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto;
}

/* ─── FEATURE CARDS ─── */
.features-section { background: var(--hellgrau); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.75rem;
  transition: box-shadow 0.25s, transform 0.25s;
}

.feature-card:hover {
  box-shadow: 0 10px 30px rgba(194, 65, 12, 0.08);
  transform: translateY(-3px);
}

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.1rem;
  background: linear-gradient(135deg, var(--terrakotta), var(--terra-light));
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dunkelgrau);
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.93rem;
  color: var(--steingrau);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tag {
  background: var(--sandbeige);
  color: var(--mittelgrau);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* ─── WORKFLOW SECTION ─── */
.workflow-section { background: #fff; }

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  position: relative;
}

.workflow-steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--terrakotta), var(--sandbeige));
  z-index: 0;
}

.workflow-step {
  text-align: center;
  padding: 0 1rem;
  position: relative;
  z-index: 1;
}

.step-num {
  width: 64px;
  height: 64px;
  background: var(--terrakotta);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 900;
  margin: 0 auto 1rem;
  border: 4px solid var(--weiss);
  box-shadow: 0 0 0 3px var(--terrakotta);
}

.workflow-step h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dunkelgrau);
  margin-bottom: 0.4rem;
}

.workflow-step p {
  font-size: 0.85rem;
  color: var(--steingrau);
}

/* ─── COMPLIANCE SECTION ─── */
.compliance-section {
  background: var(--dunkelgrau);
  color: #fff;
}

.compliance-section .section-header h2 { color: #fff; }

.compliance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.compliance-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 1.5rem;
  transition: background 0.2s;
}

.compliance-card:hover { background: rgba(255,255,255,0.1); }

.compliance-card h3 {
  color: var(--sandbeige);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.compliance-badge {
  display: inline-block;
  background: rgba(194, 65, 12, 0.4);
  color: var(--sandbeige);
  border-radius: 4px;
  padding: 0.15rem 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.compliance-card p {
  color: #9CA3AF;
  font-size: 0.88rem;
  line-height: 1.65;
}

/* ─── PRICING ─── */
.pricing-section { background: var(--hellgrau); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.pricing-card {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 2.25rem 2rem;
  position: relative;
  transition: box-shadow 0.2s;
}

.pricing-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.08); }

.pricing-card.popular {
  border-color: var(--terrakotta);
  box-shadow: 0 8px 25px rgba(194, 65, 12, 0.12);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--terrakotta);
  color: #fff;
  padding: 0.3rem 1.25rem;
  border-radius: 30px;
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-plan {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--steingrau);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

.pricing-price {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--dunkelgrau);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.pricing-price sub {
  font-size: 1rem;
  font-weight: 400;
  color: var(--steingrau);
  vertical-align: baseline;
}

.pricing-price .currency {
  font-size: 1.5rem;
  font-weight: 700;
  vertical-align: top;
  line-height: 2;
  color: var(--terrakotta);
}

.pricing-period {
  color: var(--steingrau);
  font-size: 0.88rem;
  margin-bottom: 1.5rem;
}

.pricing-desc {
  color: var(--steingrau);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--mittelgrau);
}

.pricing-features li .check {
  color: var(--terrakotta);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.pricing-btn {
  display: block;
  text-align: center;
  padding: 0.875rem;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.2s;
}

.pricing-card.popular .pricing-btn {
  background: var(--terrakotta);
  color: #fff;
}

.pricing-card.popular .pricing-btn:hover { background: var(--terra-dark); }

.pricing-card:not(.popular) .pricing-btn {
  background: var(--hellgrau);
  color: var(--dunkelgrau);
  border: 1px solid var(--border);
}

.pricing-card:not(.popular) .pricing-btn:hover { background: var(--sandbeige); }

/* ─── DEMO CTA ─── */
.demo-cta {
  background: linear-gradient(135deg, var(--terrakotta) 0%, var(--terra-light) 100%);
  text-align: center;
  color: #fff;
  padding: 5rem 2rem;
}

.demo-cta h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.demo-cta p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 2.5rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.demo-features {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.demo-feature {
  font-size: 0.88rem;
  opacity: 0.85;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ─── FOOTER ─── */
.footer {
  background: #111827;
  color: #6B7280;
  padding: 4rem 2rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  max-width: 1120px;
  margin: 0 auto 3rem;
}

.footer-brand .logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--terrakotta);
  margin-bottom: 0.75rem;
  display: block;
}

.footer-brand .logo .desk { color: #4B5563; }

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.65;
  color: #4B5563;
  margin-bottom: 1rem;
}

.footer-brand .footer-tagline {
  font-size: 0.8rem;
  color: #374151;
  font-style: italic;
}

.footer h4 {
  color: #9CA3AF;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 1rem;
}

.footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer a {
  color: #4B5563;
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.15s;
}

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

.footer-bottom {
  max-width: 1120px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid #1F2937;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: #374151;
}

.footer-bottom a { color: #4B5563; text-decoration: none; }
.footer-bottom a:hover { color: var(--sandbeige); }

/* ─── LEGAL PAGES ─── */
.legal-nav {
  background: #fff;
  border-bottom: 2px solid var(--terrakotta);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.legal-body {
  max-width: 840px;
  margin: 3rem auto;
  padding: 0 2rem 5rem;
}

.legal-body h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--dunkelgrau);
  margin-bottom: 0.5rem;
}

.legal-divider {
  height: 4px;
  width: 60px;
  background: var(--terrakotta);
  border-radius: 2px;
  margin-bottom: 2rem;
}

.legal-body h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dunkelgrau);
  margin: 2.5rem 0 0.75rem;
}

.legal-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--mittelgrau);
  margin: 1.5rem 0 0.5rem;
}

.legal-body p {
  color: #4B5563;
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 0.85rem;
}

.legal-body ul, .legal-body ol {
  color: #4B5563;
  font-size: 0.95rem;
  line-height: 1.75;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-body li { margin-bottom: 0.4rem; }

.info-box {
  background: var(--sandbeige);
  border-left: 4px solid var(--terrakotta);
  padding: 1rem 1.25rem;
  border-radius: 0 8px 8px 0;
  margin: 1.5rem 0;
}

.info-box p {
  margin: 0;
  font-size: 0.9rem;
}

.info-box strong { color: var(--terrakotta); }

.warning-box {
  background: #FEF2F2;
  border-left: 4px solid #EF4444;
  padding: 1rem 1.25rem;
  border-radius: 0 8px 8px 0;
  margin: 1.5rem 0;
}

.warning-box p { margin: 0; font-size: 0.9rem; color: #7F1D1D; }

/* ─── DEMO LANDING ─── */
.demo-login-page {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--dunkelgrau) 0%, #111827 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.demo-login-card {
  background: #fff;
  border-radius: 16px;
  padding: 2.5rem;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.3);
}

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

@media (max-width: 768px) {
  .nav-links { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .workflow-steps::before { display: none; }
  .stats-bar { gap: 2rem; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 3.5rem 1rem; }
  .hero { padding: 4.5rem 1rem 4rem; }
  .pricing-grid { grid-template-columns: 1fr; }
}
