/* TrauerDesk — Global Stylesheet */
/* Würdevoll. Professionell. Empathisch. */

:root {
  --primary:       #2D3561;  /* Tiefes Marineblau */
  --primary-hover: #222848;
  --secondary:     #4E5B8A;  /* Mittleres Blau */
  --accent:        #7B8CDE;  /* Sanftes Blau-Lila */
  --accent-light:  #E8EBFA;
  --dark:          #1C2035;  /* Sehr dunkel — Hero-Hintergründe */
  --gray:          #5A6276;
  --gray-light:    #8D96A8;
  --silver:        #B8C2D4;
  --light:         #EEF0F6;
  --lighter:       #F6F7FB;
  --white:         #FFFFFF;
  --text:          #232B3E;
  --text-muted:    #5A6276;
  --border:        #D6DAEA;
  --success:       #2E7D5E;
  --warning:       #946E00;
  --danger:        #8B2635;
  --radius:        10px;
  --radius-lg:     16px;
  --shadow-sm:     0 2px 8px rgba(29,32,53,.08);
  --shadow-md:     0 4px 20px rgba(29,32,53,.12);
  --shadow-lg:     0 8px 40px rgba(29,32,53,.16);
  --transition:    0.22s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ────────── TYPOGRAPHY ────────── */
h1 { font-size: clamp(2rem, 4vw, 3rem);    font-weight: 700; line-height: 1.18; letter-spacing: -.5px; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; line-height: 1.25; letter-spacing: -.3px; }
h3 { font-size: 1.2rem;  font-weight: 600; }
h4 { font-size: 1rem;    font-weight: 600; }
p  { color: var(--text-muted); line-height: 1.72; }

.text-center { text-align: center; }
.text-white  { color: var(--white) !important; }
.text-muted  { color: var(--gray-light) !important; }

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary); }

/* ────────── LAYOUT ────────── */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 96px 0; }
.section-sm { padding: 60px 0; }

/* ────────── BUTTONS ────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
  color: var(--white);
}
.btn-light {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}
.btn-light:hover {
  background: var(--lighter);
  color: var(--primary);
}
.btn-lg { padding: 17px 36px; font-size: 1.05rem; }
.btn-sm { padding: 9px 18px; font-size: .85rem; }

/* ────────── NAVIGATION ────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow-md); }
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary) !important;
  text-decoration: none;
}
.brand-icon {
  width: 36px; height: 36px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-icon svg { width: 20px; height: 20px; fill: white; }
.navbar-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.navbar-nav a {
  color: var(--text);
  font-size: .92rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all var(--transition);
  text-decoration: none;
}
.navbar-nav a:hover { background: var(--light); color: var(--primary); }
.navbar-actions { display: flex; gap: 12px; align-items: center; }

/* ────────── HERO ────────── */
.hero {
  padding: 160px 0 100px;
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 55%, #3D4E8A 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123,140,222,.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -80px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123,140,222,.10) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 720px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.85);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: .82rem;
  font-weight: 500;
  margin-bottom: 24px;
  letter-spacing: .3px;
}
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 span { color: var(--accent); }
.hero p.lead {
  font-size: 1.18rem;
  color: rgba(255,255,255,.78);
  margin-bottom: 36px;
  max-width: 560px;
  line-height: 1.65;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.hero-stat { color: rgba(255,255,255,.7); }
.hero-stat strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
}
.hero-stat span { font-size: .82rem; letter-spacing: .3px; }

/* ────────── TRUSTED BAR ────────── */
.trusted-bar {
  background: var(--lighter);
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}
.trusted-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trusted-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gray);
  font-size: .85rem;
  font-weight: 500;
}
.trusted-item svg { width: 16px; height: 16px; fill: var(--success); }

/* ────────── FEATURES ────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
}
.feature-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
}
.feature-card h3 { margin-bottom: 10px; color: var(--text); }
.feature-card p { font-size: .92rem; line-height: 1.65; }

/* ────────── SECTION HEADER ────────── */
.section-header { margin-bottom: 56px; }
.section-header h2 { margin-bottom: 14px; }
.section-header p { font-size: 1.08rem; max-width: 580px; }
.section-header.center { text-align: center; }
.section-header.center p { margin: 0 auto; }

.eyebrow {
  display: inline-block;
  color: var(--accent);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* ────────── WORKFLOW ────────── */
.workflow-bg { background: var(--lighter); }
.workflow-steps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 28px;
}
.workflow-step {
  text-align: center;
  padding: 32px 24px;
}
.step-number {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.workflow-step h3 { margin-bottom: 10px; }

/* ────────── TESTIMONIAL ────────── */
.testimonials-bg {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.testimonial-stars { color: #F9C74F; font-size: 1.1rem; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-card blockquote {
  color: rgba(255,255,255,.88);
  font-size: 1rem;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 24px;
}
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1rem;
}
.author-name { color: var(--white); font-weight: 600; font-size: .95rem; }
.author-role { color: rgba(255,255,255,.6); font-size: .82rem; }

/* ────────── PRICING ────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  align-items: start;
}
.pricing-card {
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  background: var(--white);
  transition: all var(--transition);
}
.pricing-card:hover { box-shadow: var(--shadow-md); }
.pricing-card.featured {
  border-color: var(--primary);
  background: var(--primary);
  color: white;
  transform: scale(1.03);
}
.pricing-badge {
  display: inline-block;
  background: var(--accent);
  color: white;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.pricing-card.featured .pricing-badge { background: rgba(255,255,255,.25); }
.pricing-name { font-size: 1.3rem; font-weight: 700; margin-bottom: 6px; }
.pricing-card.featured .pricing-name { color: white; }
.pricing-desc { font-size: .9rem; color: var(--text-muted); margin-bottom: 24px; }
.pricing-card.featured .pricing-desc { color: rgba(255,255,255,.7); }
.pricing-amount {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.pricing-card.featured .pricing-amount { border-color: rgba(255,255,255,.2); }
.pricing-amount .amount {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.pricing-card.featured .pricing-amount .amount { color: white; }
.pricing-amount .period { color: var(--text-muted); font-size: .88rem; }
.pricing-card.featured .pricing-amount .period { color: rgba(255,255,255,.65); }
.pricing-features { list-style: none; margin-bottom: 32px; }
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 7px 0;
  font-size: .92rem;
  color: var(--text);
}
.pricing-card.featured .pricing-features li { color: rgba(255,255,255,.88); }
.check-icon { color: var(--success); font-weight: 700; margin-top: 1px; flex-shrink: 0; }
.pricing-card.featured .check-icon { color: #7FFFD4; }
.pricing-card .btn-primary { width: 100%; justify-content: center; }
.pricing-card.featured .btn-primary { background: white; color: var(--primary); border-color: white; }
.pricing-card.featured .btn-primary:hover { background: var(--lighter); }

/* ────────── CTA SECTION ────────── */
.cta-section {
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
  text-align: center;
  padding: 80px 0;
}
.cta-section h2 { color: white; margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,.75); margin-bottom: 36px; font-size: 1.08rem; }
.cta-form {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 520px;
  margin: 0 auto;
}
.cta-form input {
  flex: 1;
  min-width: 240px;
  padding: 14px 18px;
  border-radius: var(--radius);
  border: 2px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.12);
  color: white;
  font-size: .95rem;
}
.cta-form input::placeholder { color: rgba(255,255,255,.5); }
.cta-form input:focus { outline: none; border-color: var(--accent); background: rgba(255,255,255,.18); }

/* ────────── FOOTER ────────── */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,.7);
  padding: 60px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand p { font-size: .9rem; line-height: 1.7; margin-top: 14px; }
.footer h4 { color: white; font-size: .9rem; font-weight: 600; margin-bottom: 16px; letter-spacing: .3px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 8px; }
.footer ul a {
  color: rgba(255,255,255,.6);
  font-size: .88rem;
  transition: color var(--transition);
  text-decoration: none;
}
.footer ul a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: gap;
  font-size: .84rem;
  color: rgba(255,255,255,.45);
}
.footer-bottom a { color: rgba(255,255,255,.55); text-decoration: none; }
.footer-bottom a:hover { color: white; }

/* ────────── CONTACT/DEMO PAGE ────────── */
.page-hero {
  padding: 120px 0 72px;
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
}
.page-hero h1 { color: white; margin-bottom: 14px; }
.page-hero p { color: rgba(255,255,255,.75); font-size: 1.1rem; }

.form-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-lg);
}
.form-group { margin-bottom: 22px; }
.form-label {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 7px;
}
.form-control {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: .95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
  font-family: inherit;
}
.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(123,140,222,.15);
}
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 110px; }

.info-card {
  background: var(--lighter);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.info-card h3 { margin-bottom: 20px; color: var(--text); }
.info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}
.info-icon {
  width: 38px; height: 38px;
  background: var(--accent-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}
.info-item h4 { font-size: .9rem; color: var(--text); margin-bottom: 3px; }
.info-item p { font-size: .85rem; margin: 0; }

/* ────────── LEGAL PAGES ────────── */
.legal-content { max-width: 780px; margin: 0 auto; padding: 80px 24px; }
.legal-content h1 { margin-bottom: 8px; }
.legal-content .meta { color: var(--gray-light); font-size: .85rem; margin-bottom: 40px; }
.legal-content h2 { font-size: 1.3rem; margin: 36px 0 12px; }
.legal-content p { margin-bottom: 16px; font-size: .95rem; }
.legal-content ul { margin: 12px 0 16px 20px; }
.legal-content ul li { margin-bottom: 6px; font-size: .95rem; color: var(--text-muted); }

/* ────────── UTILS ────────── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.mt-4 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.gap-sm { gap: 12px; }

/* ────────── RESPONSIVE ────────── */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .hero-stats { gap: 28px; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .hero { padding: 120px 0 72px; }
  .navbar-nav { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: none; }
  .form-card { padding: 28px 20px; }
  .trusted-inner { gap: 24px; }
  .hero-cta { flex-direction: column; align-items: flex-start; }
}
