/* ============================================= */
/* ImmoNero Marketing Website - Styles          */
/* ============================================= */

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

:root {
  /* Primary Brand Colors (Warm Orange) */
  --teal-50: #fff7ed;
  --teal-100: #ffedd5;
  --teal-200: #fed7aa;
  --teal-400: #fb923c;
  --teal-500: #f97316;
  --teal-600: #ea580c;
  --teal-700: #c2410c;

  /* Other Colors */
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;

  --emerald-50: #ecfdf5;
  --emerald-100: #d1fae5;
  --emerald-500: #10b981;
  --emerald-600: #059669;

  --violet-50: #f5f3ff;
  --violet-100: #ede9fe;
  --violet-500: #8b5cf6;
  --violet-600: #7c3aed;

  --orange-100: #ffedd5;
  --orange-500: #f97316;
  --orange-600: #ea580c;

  --pink-50: #fdf2f8;
  --pink-100: #fce7f3;
  --pink-500: #ec4899;
  --pink-600: #db2777;

  --amber-100: #fef3c7;
  --amber-400: #fbbf24;
  --amber-500: #f59e0b;
  --amber-600: #d97706;

  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;

  --white: #ffffff;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--slate-700);
  background: var(--white);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

ul {
  list-style: none;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3, h4 {
  color: var(--slate-900);
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

@media (min-width: 768px) {
  h1 { font-size: 3.5rem; }
  h2 { font-size: 2.5rem; }
}

.text-gradient {
  background: linear-gradient(to right, var(--teal-600), var(--teal-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-lg {
  padding: 0.875rem 2rem;
  font-size: 1rem;
}

.btn-primary {
  background: var(--teal-600);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--teal-700);
}

.btn-secondary {
  background: var(--white);
  color: var(--slate-700);
  border: 1px solid var(--slate-300);
}

.btn-secondary:hover {
  background: var(--slate-50);
}

.btn-white {
  background: var(--white);
  color: var(--teal-700);
}

.btn-white:hover {
  background: var(--teal-50);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--white);
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
}

.btn-ghost {
  background: transparent;
  color: var(--slate-600);
}

.btn-ghost:hover {
  background: var(--slate-100);
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 9999px;
}

.badge-teal {
  background: var(--teal-100);
  color: var(--teal-700);
}

.badge-blue {
  background: var(--blue-100);
  color: var(--blue-600);
}

.badge-emerald {
  background: var(--emerald-100);
  color: var(--emerald-600);
}

.badge-amber {
  background: var(--amber-100);
  color: var(--amber-600);
}

.badge-pink {
  background: var(--pink-100);
  color: var(--pink-600);
}

/* ============================================= */
/* HEADER / NAVIGATION                          */
/* ============================================= */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--slate-200);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.logo-icon {
  width: 32px;
  height: 32px;
}

.logo-text span:first-child {
  background: linear-gradient(to right, var(--teal-600), var(--teal-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-desktop a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-600);
  transition: color 0.2s;
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--teal-600);
}

.header-buttons {
  display: none;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .nav-desktop,
  .header-buttons {
    display: flex;
  }
  .mobile-menu-btn {
    display: none;
  }
}

/* Mobile Menu */
.mobile-menu-btn {
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
}

.mobile-menu-btn svg {
  width: 24px;
  height: 24px;
  color: var(--slate-700);
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
  padding: 1rem 1.5rem;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 0.75rem 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-600);
}

.mobile-menu hr {
  margin: 0.75rem 0;
  border: none;
  border-top: 1px solid var(--slate-200);
}

.mobile-menu .btn {
  width: 100%;
  margin-top: 0.5rem;
}

/* ============================================= */
/* HERO SECTION                                 */
/* ============================================= */

.hero {
  position: relative;
  padding: 4rem 0 5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, var(--teal-50), var(--white), var(--blue-50));
}

.hero-bg-accent {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(to left, rgba(204, 251, 241, 0.5), transparent);
}

.hero .container {
  position: relative;
}

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

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
  }
}

.hero-content {
  text-align: center;
}

@media (min-width: 1024px) {
  .hero-content {
    text-align: left;
  }
}

.hero-image {
  display: none;
}

@media (min-width: 768px) {
  .hero-image {
    display: block;
  }
}

.hero-mockup {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.05);
  transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
  transition: transform 0.5s ease;
}

.hero-mockup:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

@media (min-width: 1024px) {
  .hero-mockup {
    transform: perspective(1000px) rotateY(-8deg) rotateX(3deg);
  }
}

.hero h1 {
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--slate-600);
  margin-bottom: 2.5rem;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.hero-note {
  font-size: 0.875rem;
  color: var(--slate-500);
}

/* Stats Badges */
.stats-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
}

.stat-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 9999px;
  box-shadow: var(--shadow-sm);
}

.stat-badge-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
}

.stat-badge-icon.teal {
  background: var(--teal-100);
  color: var(--teal-600);
}

.stat-badge-icon.blue {
  background: var(--blue-100);
  color: var(--blue-600);
}

.stat-badge-icon.emerald {
  background: var(--emerald-100);
  color: var(--emerald-600);
}

.stat-badge-icon.amber {
  background: var(--amber-100);
  color: var(--amber-600);
}

.stat-badge span:last-child {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-700);
}

/* ============================================= */
/* TRUSTED BY                                   */
/* ============================================= */

.trusted-by {
  padding: 3rem 0;
  background: var(--slate-50);
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}

.trusted-by p {
  text-align: center;
  font-size: 0.875rem;
  color: var(--slate-500);
  margin-bottom: 2rem;
}

.trusted-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  opacity: 0.7;
}

.trusted-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--slate-600);
  font-weight: 600;
}

.trusted-logo svg {
  width: 20px;
  height: 20px;
}

/* ============================================= */
/* SECTIONS                                     */
/* ============================================= */

.section {
  padding: 5rem 0;
}

.section-gray {
  background: var(--slate-50);
}

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

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--slate-600);
  max-width: 40rem;
  margin: 0 auto;
}

/* ============================================= */
/* FEATURE CARDS                                */
/* ============================================= */

.features-grid {
  display: grid;
  gap: 1.5rem;
}

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

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

.feature-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.3s;
}

.feature-card:hover {
  border-color: var(--teal-200);
  box-shadow: var(--shadow-lg);
}

.feature-card-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.feature-card-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--white);
}

.feature-card-icon.teal { background: linear-gradient(to bottom right, var(--teal-500), var(--teal-600)); }
.feature-card-icon.blue { background: linear-gradient(to bottom right, var(--blue-500), var(--blue-600)); }
.feature-card-icon.emerald { background: linear-gradient(to bottom right, var(--emerald-500), var(--emerald-600)); }
.feature-card-icon.violet { background: linear-gradient(to bottom right, var(--violet-500), var(--violet-600)); }
.feature-card-icon.orange { background: linear-gradient(to bottom right, var(--orange-500), var(--orange-600)); }
.feature-card-icon.pink { background: linear-gradient(to bottom right, var(--pink-500), var(--pink-600)); }

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}

.feature-card:hover h3 {
  color: var(--teal-600);
}

.feature-card p {
  color: var(--slate-600);
  margin-bottom: 1rem;
  font-size: 0.9375rem;
}

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

.feature-tag {
  font-size: 0.75rem;
  background: var(--slate-100);
  color: var(--slate-600);
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
}

.feature-card-link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--teal-600);
  opacity: 0;
  transition: opacity 0.2s;
}

.feature-card:hover .feature-card-link {
  opacity: 1;
}

/* ============================================= */
/* COMPLIANCE SECTION                           */
/* ============================================= */

.compliance-grid {
  display: grid;
  gap: 1rem;
}

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

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

.compliance-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 0.75rem;
}

.compliance-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.compliance-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.compliance-icon.emerald { background: var(--emerald-100); color: var(--emerald-600); }
.compliance-icon.blue { background: var(--blue-100); color: var(--blue-600); }
.compliance-icon.violet { background: var(--violet-100); color: var(--violet-600); }
.compliance-icon.amber { background: var(--amber-100); color: var(--amber-600); }

.compliance-text h4 {
  font-size: 0.9375rem;
  margin-bottom: 0.125rem;
}

.compliance-text p {
  font-size: 0.875rem;
  color: var(--slate-500);
}

/* ============================================= */
/* DETAILED FEATURES                            */
/* ============================================= */

.detailed-grid {
  display: grid;
  gap: 2rem;
}

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

.detailed-card {
  border: 1px solid var(--slate-200);
  border-radius: 1rem;
  padding: 2rem;
}

.detailed-card.teal { background: linear-gradient(to bottom right, var(--teal-50), var(--white)); }
.detailed-card.blue { background: linear-gradient(to bottom right, var(--blue-50), var(--white)); }
.detailed-card.emerald { background: linear-gradient(to bottom right, var(--emerald-50), var(--white)); }
.detailed-card.violet { background: linear-gradient(to bottom right, var(--violet-50), var(--white)); }

.detailed-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.detailed-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.detailed-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--white);
}

.detailed-icon.teal { background: var(--teal-600); }
.detailed-icon.blue { background: var(--blue-600); }
.detailed-icon.emerald { background: var(--emerald-600); }
.detailed-icon.violet { background: var(--violet-600); }

.detailed-card h3 {
  font-size: 1.25rem;
}

.detailed-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.detailed-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--slate-700);
}

.detailed-list svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.detailed-list svg.teal { color: var(--teal-600); }
.detailed-list svg.blue { color: var(--blue-600); }
.detailed-list svg.emerald { color: var(--emerald-600); }
.detailed-list svg.violet { color: var(--violet-600); }

/* ============================================= */
/* PRICING                                      */
/* ============================================= */

.pricing-grid {
  display: grid;
  gap: 2rem;
  max-width: 64rem;
  margin: 0 auto;
}

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

.pricing-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 1rem;
  padding: 2rem;
}

.pricing-card.featured {
  border: 2px solid var(--teal-500);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.pricing-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal-600);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
}

.pricing-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.pricing-subtitle {
  color: var(--slate-500);
  margin-bottom: 1.5rem;
}

.pricing-price {
  margin-bottom: 1.5rem;
}

.pricing-price .amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--slate-900);
}

.pricing-price .period {
  color: var(--slate-500);
}

.pricing-features {
  margin-bottom: 2rem;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  color: var(--slate-700);
}

.pricing-features svg {
  width: 1rem;
  height: 1rem;
  color: var(--emerald-500);
}

.pricing-card.featured .pricing-features svg {
  color: var(--teal-500);
}

/* Enterprise-Block (eigene Klasse, sonst rendert das Icon riesig) */
.pricing-enterprise-features {
  list-style: none;
  margin: 1rem 0 1.5rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.25rem 1.5rem;
}
.pricing-enterprise-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.4rem 0;
  font-size: 0.9rem;
  color: var(--slate-700);
}
.pricing-enterprise-features svg {
  width: 1rem;
  height: 1rem;
  color: var(--emerald-500);
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .pricing-enterprise-features { grid-template-columns: 1fr; }
}

.pricing-card .btn {
  width: 100%;
}

/* ============================================= */
/* TESTIMONIALS                                 */
/* ============================================= */

.testimonials-grid {
  display: grid;
  gap: 2rem;
  max-width: 72rem;
  margin: 0 auto;
}

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

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

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 1rem;
  padding: 1.5rem;
}

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.testimonial-stars svg {
  width: 1rem;
  height: 1rem;
  fill: var(--amber-400);
  color: var(--amber-400);
}

.testimonial-quote {
  font-size: 0.875rem;
  color: var(--slate-600);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background: linear-gradient(to bottom right, var(--teal-500), var(--teal-600));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 600;
  font-size: 0.875rem;
  overflow: hidden;
  flex-shrink: 0;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--slate-900);
}

.testimonial-company {
  font-size: 0.75rem;
  color: var(--slate-500);
}

/* ============================================= */
/* FEATURE SHOWCASE SECTION                     */
/* ============================================= */

.feature-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 5rem;
}

@media (min-width: 768px) {
  .feature-showcase {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.feature-showcase:last-child {
  margin-bottom: 0;
}

.feature-showcase.reverse {
  direction: ltr;
}

@media (min-width: 768px) {
  .feature-showcase.reverse {
    direction: rtl;
  }
  .feature-showcase.reverse > * {
    direction: ltr;
  }
}

.feature-showcase-content {
  order: 2;
}

@media (min-width: 768px) {
  .feature-showcase-content {
    order: unset;
  }
}

.feature-showcase-image {
  order: 1;
}

@media (min-width: 768px) {
  .feature-showcase-image {
    order: unset;
  }
}

.feature-showcase-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

.feature-showcase h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 1rem;
}

.feature-showcase p {
  color: var(--slate-600);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.feature-showcase-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.feature-showcase-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--slate-700);
}

.feature-showcase-list svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--teal-500);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

/* ============================================= */
/* CTA SECTION                                  */
/* ============================================= */

.cta {
  padding: 5rem 0;
  background: linear-gradient(to bottom right, var(--teal-600), var(--teal-700));
  text-align: center;
}

.cta h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta p {
  font-size: 1.25rem;
  color: var(--teal-100);
  margin-bottom: 2.5rem;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
  }
}

/* ============================================= */
/* FOOTER                                       */
/* ============================================= */

.footer {
  padding: 4rem 0;
  background: var(--slate-900);
  color: var(--slate-400);
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

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

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }
}

.footer-brand .logo {
  margin-bottom: 1rem;
}

.footer-brand .logo-text span:first-child {
  -webkit-text-fill-color: var(--orange-400);
}

/* Orange color variable for footer */
:root {
  --orange-400: #fb923c;
}

.footer-brand .logo-text span:last-child {
  color: var(--white);
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer h4 {
  color: var(--white);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.footer ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer ul a {
  font-size: 0.875rem;
  transition: color 0.2s;
}

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

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--slate-800);
  text-align: center;
  font-size: 0.875rem;
}

/* ============================================= */
/* FUNKTIONEN PAGE - STICKY NAV                 */
/* ============================================= */

.sticky-nav {
  position: sticky;
  top: 4rem;
  z-index: 40;
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
}

.sticky-nav nav {
  display: flex;
  overflow-x: auto;
  gap: 0.25rem;
  padding: 0.75rem 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.sticky-nav nav::-webkit-scrollbar {
  display: none;
}

.sticky-nav a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  color: var(--slate-600);
  transition: all 0.2s;
}

.sticky-nav a:hover {
  background: var(--slate-100);
}

.sticky-nav a.active {
  background: var(--teal-100);
  color: var(--teal-700);
}

.sticky-nav a svg {
  width: 1rem;
  height: 1rem;
}

/* ============================================= */
/* FEATURE SECTIONS (Funktionen Page)           */
/* ============================================= */

.feature-section {
  padding: 5rem 0;
  scroll-margin-top: 8rem;
}

.feature-section-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.feature-section-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-section-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--white);
}

.feature-section-icon.blue { background: linear-gradient(to bottom right, var(--blue-500), var(--blue-600)); }
.feature-section-icon.teal { background: linear-gradient(to bottom right, var(--teal-500), var(--teal-600)); }
.feature-section-icon.emerald { background: linear-gradient(to bottom right, var(--emerald-500), var(--emerald-600)); }
.feature-section-icon.violet { background: linear-gradient(to bottom right, var(--violet-500), var(--violet-600)); }
.feature-section-icon.orange { background: linear-gradient(to bottom right, var(--orange-500), var(--orange-600)); }
.feature-section-icon.pink { background: linear-gradient(to bottom right, var(--pink-500), var(--pink-600)); }
.feature-section-icon.cyan { background: linear-gradient(to bottom right, #06b6d4, #0891b2); }
.feature-section-icon.amber { background: linear-gradient(to bottom right, var(--amber-500), var(--amber-600)); }

.feature-section h2 {
  font-size: 1.875rem;
}

.feature-section-subtitle {
  color: var(--slate-600);
}

.feature-section-intro {
  font-size: 1.125rem;
  color: var(--slate-600);
  max-width: 48rem;
  margin-bottom: 2.5rem;
}

/* Screenshot Placeholder */
.screenshot-placeholder {
  border-radius: 1rem;
  padding: 2rem;
  margin-bottom: 3rem;
  border: 1px solid;
}

.screenshot-placeholder.blue {
  background: linear-gradient(to bottom right, var(--blue-100), var(--blue-50));
  border-color: var(--blue-200);
}

.screenshot-placeholder.teal {
  background: linear-gradient(to bottom right, var(--teal-100), var(--teal-50));
  border-color: var(--teal-200);
}

.screenshot-placeholder.emerald {
  background: linear-gradient(to bottom right, var(--emerald-100), var(--emerald-50));
  border-color: var(--emerald-200);
}

.screenshot-placeholder.violet {
  background: linear-gradient(to bottom right, var(--violet-100), var(--violet-50));
  border-color: var(--violet-200);
}

.screenshot-inner {
  aspect-ratio: 16/9;
  background: var(--white);
  border-radius: 0.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--slate-200);
  display: flex;
  align-items: center;
  justify-content: center;
}

.screenshot-inner svg {
  width: 4rem;
  height: 4rem;
  opacity: 0.5;
  color: var(--slate-400);
}

.screenshot-label {
  text-align: center;
  color: var(--slate-400);
  font-size: 0.875rem;
  margin-top: 1rem;
}

/* Small Feature Cards (Funktionen Page) */
.small-feature-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 0.75rem;
  padding: 1.5rem;
  transition: box-shadow 0.2s;
}

.small-feature-card:hover {
  box-shadow: var(--shadow-lg);
}

.small-feature-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.small-feature-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.small-feature-icon.blue { background: var(--blue-100); color: var(--blue-600); }
.small-feature-icon.teal { background: var(--teal-100); color: var(--teal-600); }
.small-feature-icon.emerald { background: var(--emerald-100); color: var(--emerald-600); }
.small-feature-icon.violet { background: var(--violet-100); color: var(--violet-600); }
.small-feature-icon.orange { background: var(--orange-100); color: var(--orange-600); }
.small-feature-icon.pink { background: var(--pink-100); color: var(--pink-600); }
.small-feature-icon.amber { background: var(--amber-100); color: var(--amber-600); }
.small-feature-icon.slate { background: var(--slate-200); color: var(--slate-600); }
.small-feature-icon.cyan { background: #cffafe; color: #0891b2; }

.small-feature-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.small-feature-card > p {
  font-size: 0.875rem;
  color: var(--slate-600);
  margin-bottom: 1rem;
}

.small-feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.small-feature-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--slate-600);
}

.small-feature-list svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.small-feature-list svg.blue { color: var(--blue-500); }
.small-feature-list svg.teal { color: var(--teal-500); }
.small-feature-list svg.emerald { color: var(--emerald-500); }
.small-feature-list svg.violet { color: var(--violet-500); }
.small-feature-list svg.orange { color: var(--orange-500); }
.small-feature-list svg.pink { color: var(--pink-500); }
.small-feature-list svg.amber { color: var(--amber-500); }
.small-feature-list svg.slate { color: var(--slate-500); }
.small-feature-list svg.cyan { color: #0891b2; }

/* Portal Cards */
.portal-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

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

.portal-card {
  border-width: 2px;
  border-style: solid;
  border-radius: 1rem;
  padding: 1.5rem;
}

.portal-card.blue {
  border-color: var(--blue-200);
  background: linear-gradient(to bottom right, var(--blue-50), var(--white));
}

.portal-card.emerald {
  border-color: var(--emerald-200);
  background: linear-gradient(to bottom right, var(--emerald-50), var(--white));
}

.portal-card.violet {
  border-color: var(--violet-200);
  background: linear-gradient(to bottom right, var(--violet-50), var(--white));
}

.portal-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.portal-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portal-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--white);
}

.portal-icon.blue { background: var(--blue-600); }
.portal-icon.emerald { background: var(--emerald-600); }
.portal-icon.violet { background: var(--violet-600); }

.portal-title {
  font-weight: 600;
  color: var(--slate-900);
}

.portal-subtitle {
  font-size: 0.75rem;
}

.portal-subtitle.blue { color: var(--blue-600); }
.portal-subtitle.emerald { color: var(--emerald-600); }
.portal-subtitle.violet { color: var(--violet-600); }

.portal-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.portal-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--slate-600);
}

.portal-features svg {
  width: 1rem;
  height: 1rem;
}

.portal-features svg.blue { color: var(--blue-500); }
.portal-features svg.emerald { color: var(--emerald-500); }
.portal-features svg.violet { color: var(--violet-500); }

/* White Label Box */
.whitelabel-box {
  background: linear-gradient(to right, var(--slate-900), var(--slate-800));
  border-radius: 1rem;
  padding: 2rem;
  color: var(--white);
}

.whitelabel-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.whitelabel-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.whitelabel-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--white);
}

.whitelabel-header h3 {
  font-size: 1.25rem;
  color: var(--white);
}

.whitelabel-header p {
  color: var(--slate-400);
}

.whitelabel-grid {
  display: grid;
  gap: 1rem;
}

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

.whitelabel-item {
  background: rgba(255,255,255,0.05);
  border-radius: 0.5rem;
  padding: 1rem;
}

.whitelabel-item h4 {
  color: var(--white);
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.whitelabel-item p {
  color: var(--slate-400);
  font-size: 0.875rem;
}

/* KI Text Types Box */
.ki-types-box {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 1rem;
  padding: 2rem;
  margin-top: 3rem;
}

.ki-types-box h3 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.ki-types-grid {
  display: grid;
  gap: 0.75rem;
}

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

.ki-type-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--slate-600);
  background: var(--slate-50);
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
}

.ki-type-item svg {
  width: 1rem;
  height: 1rem;
  color: var(--pink-500);
}

/* Special Background for KI Section */
.section-ki-bg {
  background: linear-gradient(to bottom right, var(--pink-50), var(--white), var(--violet-50));
}

/* View All Features Button */
.view-all-features {
  text-align: center;
  margin-top: 3rem;
}

/* ============================================= */
/* LEGAL PAGES (Impressum, Datenschutz)        */
/* ============================================= */

.legal-content {
  max-width: 800px;
}

.legal-content h1 {
  margin-bottom: 2rem;
}

.legal-content h2 {
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.legal-content p {
  margin-bottom: 1rem;
  color: var(--slate-600);
}

.legal-content a {
  color: var(--teal-600);
}

.legal-content a:hover {
  text-decoration: underline;
}

.legal-content ul {
  margin: 1rem 0 1rem 1.5rem;
  list-style: disc;
}

.legal-content ul li {
  margin-bottom: 0.5rem;
  color: var(--slate-600);
}

.legal-content h3 {
  font-size: 1.1rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.legal-content h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.875rem;
}

.legal-table th,
.legal-table td {
  border: 1px solid var(--slate-200);
  padding: 0.625rem 0.75rem;
  text-align: left;
  vertical-align: top;
  color: var(--slate-600);
}

.legal-table th {
  background-color: var(--slate-50);
  font-weight: 600;
  color: var(--slate-700);
}

.legal-table tr:nth-child(even) {
  background-color: var(--slate-50, #f8fafc);
}

@media (max-width: 768px) {
  .legal-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

.legal-content .copyright {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--slate-200);
  color: var(--slate-500);
  font-size: 0.875rem;
}

/* Utility */
.text-center { text-align: center; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }

/* ============================================= */
/* COOKIE CONSENT BANNER                        */
/* ============================================= */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  padding: 1.25rem;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .cookie-banner-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.cookie-banner-text {
  flex: 1;
}

.cookie-banner-text h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--slate-900);
}

.cookie-banner-text p {
  font-size: 0.875rem;
  color: var(--slate-600);
  margin: 0;
  line-height: 1.5;
}

.cookie-banner-text a {
  color: var(--orange-600);
  text-decoration: underline;
}

.cookie-banner-buttons {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cookie-banner-buttons .btn {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  white-space: nowrap;
}

.btn-cookie-settings {
  background: var(--slate-100);
  color: var(--slate-700);
  border: 1px solid var(--slate-300);
}

.btn-cookie-settings:hover {
  background: var(--slate-200);
}

.btn-cookie-accept {
  background: var(--orange-500);
  color: white;
}

.btn-cookie-accept:hover {
  background: var(--orange-600);
}

/* Hero Trial Badge */
.hero-trial-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-size: 1rem;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
  animation: pulse-glow 2s ease-in-out infinite;
}

.hero-trial-badge .trial-icon {
  font-size: 1.25rem;
}

.hero-trial-badge .trial-text strong {
  font-weight: 700;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4); }
  50% { box-shadow: 0 4px 24px rgba(16, 185, 129, 0.6); }
}

/* Pricing Trial Banner */
.pricing-trial-banner {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  padding: 1rem 2rem;
  border-radius: 12px;
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.125rem;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.pricing-trial-banner strong {
  font-size: 1.25rem;
}

/* ============================================= */
/* Ratgeber-Artikel (FEAT: SEO-Content)          */
/* ============================================= */
.ratgeber-article { padding-top: 3rem; }
.ratgeber-article .container { max-width: 1080px; }
.ratgeber-article h1 { margin-bottom: 1.25rem; }
.ratgeber-article h2 {
  margin-top: 2.75rem;
  margin-bottom: 1rem;
  font-size: 1.6rem;
  line-height: 1.3;
}
.ratgeber-article h3 {
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
}
.ratgeber-article p {
  margin-bottom: 1.1rem;
  line-height: 1.75;
  color: var(--slate-600, #475569);
}
.ratgeber-article ul {
  margin: 0 0 1.5rem 0;
  padding-left: 1.25rem;
  line-height: 1.9;
  color: var(--slate-600, #475569);
}
.ratgeber-article ul li { margin-bottom: 0.35rem; }
.ratgeber-article .answer-block {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--slate-700, #334155);
  border-left: 4px solid var(--teal-600);
  padding-left: 1.25rem;
  margin: 0 0 2.5rem 0;
}
/* Artikel-Titelbild (zugleich OG-Bild) */
.ratgeber-hero-img {
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
  border-radius: 12px;
  margin: 0 0 2.5rem 0;
  display: block;
}
/* "So loest ImmoNero das"-Box */
.immonero-box {
  background: var(--slate-50, #f8fafc);
  border: 1px solid var(--slate-200, #e2e8f0);
  border-radius: 12px;
  padding: 2rem;
  margin: 3rem 0;
}
.immonero-box h2 { margin-top: 0; display: flex; align-items: center; gap: 0.6rem; }
.ratgeber-article h2 svg,
.ratgeber-article .breadcrumb svg { width: 1.5rem; height: 1.5rem; flex-shrink: 0; }
.immonero-box .icon-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; border-radius: 10px;
  background: var(--teal-100, #ccfbf1); color: var(--teal-600); flex-shrink: 0;
}
.immonero-box .icon-badge svg { width: 1.4rem; height: 1.4rem; }
/* "Das koennte Sie auch interessieren" */
.related-articles { margin-top: 3.5rem; border-top: 1px solid var(--slate-200, #e2e8f0); padding-top: 2rem; }
.related-articles h2 { font-size: 1.4rem; margin: 0 0 1.25rem; }
.related-articles ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.related-articles li { margin: 0; }
.related-articles a {
  display: flex; align-items: center; gap: 0.65rem;
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--slate-200, #e2e8f0); border-radius: 10px;
  color: var(--slate-700, #334155); text-decoration: none; font-weight: 500; line-height: 1.4;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.related-articles a:hover { border-color: var(--teal-600); color: var(--teal-600); background: var(--slate-50, #f8fafc); }
.related-articles a svg { width: 1.1rem; height: 1.1rem; flex-shrink: 0; }
/* Ratgeber-Uebersicht: Themencluster-Layout */
.ratgeber-layout { display: grid; grid-template-columns: 260px 1fr; gap: 2.5rem; align-items: start; }
.ratgeber-sidebar { position: sticky; top: 90px; max-height: calc(100vh - 110px); overflow-y: auto; overscroll-behavior: contain; padding-right: 0.5rem; }
.ratgeber-cluster-nav .cluster { margin-bottom: 1.25rem; }
.ratgeber-cluster-nav .cluster-title {
  display: flex; align-items: center; gap: 0.5rem;
  font-weight: 700; color: var(--slate-800, #1e293b); text-decoration: none;
  padding: 0.4rem 0; font-size: 0.98rem;
}
.ratgeber-cluster-nav .cluster-title:hover { color: var(--teal-600); }
.ratgeber-cluster-nav .cluster-title svg { width: 1.15rem; height: 1.15rem; color: var(--teal-600); flex-shrink: 0; }
.ratgeber-cluster-nav ul {
  list-style: none; margin: 0.15rem 0 0; padding: 0 0 0 1.65rem;
  display: grid; gap: 0.05rem; border-left: 1px solid var(--slate-200, #e2e8f0);
}
.ratgeber-cluster-nav ul a { display: block; padding: 0.35rem 0; color: var(--slate-600, #475569); text-decoration: none; line-height: 1.35; font-size: 0.9rem; }
.ratgeber-cluster-nav ul a:hover { color: var(--teal-600); }
.ratgeber-cluster-section { margin-bottom: 3rem; scroll-margin-top: 100px; }
.ratgeber-cluster-section > h2 {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 1.5rem; margin: 0 0 1.25rem; padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--slate-200, #e2e8f0);
}
.ratgeber-cluster-section > h2 svg { width: 1.4rem; height: 1.4rem; color: var(--teal-600); flex-shrink: 0; }
.ratgeber-cluster-nav ul a.active { color: var(--teal-600); font-weight: 600; }
@media (max-width: 900px) {
  .ratgeber-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .ratgeber-sidebar { position: static; margin-bottom: 0.5rem; }
  .ratgeber-cluster-nav { display: flex; flex-wrap: wrap; gap: 0.5rem; }
  .ratgeber-cluster-nav .cluster { margin: 0; }
  .ratgeber-cluster-nav .cluster ul { display: none; }
  .ratgeber-cluster-nav .cluster-title { border: 1px solid var(--slate-200, #e2e8f0); border-radius: 999px; padding: 0.4rem 0.9rem; font-size: 0.85rem; }
}
/* Artikelseite mit Sidebar-Menue links */
.ratgeber-detail-layout { display: grid; grid-template-columns: 240px 1fr; gap: 2.75rem; align-items: start; max-width: 1080px; margin: 0 auto; }
.ratgeber-detail-main { max-width: 760px; min-width: 0; }
.ratgeber-sidebar-detail { position: sticky; top: 90px; max-height: calc(100vh - 110px); overflow-y: auto; overscroll-behavior: contain; padding-right: 0.5rem; }
@media (max-width: 1000px) {
  .ratgeber-detail-layout { grid-template-columns: 1fr; gap: 0; max-width: 760px; }
  .ratgeber-sidebar-detail { display: none; }
}
/* Author-Box (E-E-A-T) */
.author-box {
  display: flex; gap: 1.1rem; align-items: flex-start;
  margin: 3rem 0 0; padding: 1.5rem;
  background: var(--slate-50, #f8fafc); border: 1px solid var(--slate-200, #e2e8f0); border-radius: 12px;
}
.author-avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.author-avatar-initials {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--teal-600); color: #fff; font-weight: 700; font-size: 1.3rem; letter-spacing: 0.02em;
}
.author-meta { display: flex; flex-direction: column; gap: 0.12rem; min-width: 0; }
.author-label { font-size: 0.78rem; color: var(--slate-500, #64748b); text-transform: uppercase; letter-spacing: 0.04em; }
.author-name { font-weight: 700; font-size: 1.05rem; color: var(--slate-800, #1e293b); }
.author-role { font-size: 0.9rem; color: var(--teal-600); margin-bottom: 0.45rem; }
.author-bio { font-size: 0.92rem; line-height: 1.65; color: var(--slate-600, #475569); margin: 0; }
.author-links { margin-top: 0.6rem; display: flex; flex-wrap: wrap; gap: 0.85rem; }
.author-links a { font-size: 0.85rem; color: var(--teal-600); text-decoration: none; }
.author-links a:hover { text-decoration: underline; }
/* Rechner-Tools */
.rechner-tool { background: var(--slate-50, #f8fafc); border: 1px solid var(--slate-200, #e2e8f0); border-radius: 14px; padding: 1.75rem; margin: 2rem 0; }
.rechner-tool h2 { margin-top: 0; font-size: 1.2rem; }
.rechner-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 1.5rem; margin-bottom: 1.5rem; }
.rechner-field { display: flex; flex-direction: column; gap: 0.3rem; }
.rechner-field label { font-size: 0.85rem; font-weight: 600; color: var(--slate-700, #334155); }
.rechner-field input, .rechner-field select, .rechner-positionen input, .rechner-positionen select {
  font-size: 0.95rem; padding: 0.55rem 0.7rem; border: 1px solid var(--slate-300, #cbd5e1);
  border-radius: 8px; background-color: #fff; color: var(--slate-800, #1e293b); width: 100%;
  font-family: inherit; line-height: 1.4; box-sizing: border-box; height: auto;
}
.rechner-field input:focus, .rechner-field select:focus, .rechner-positionen input:focus, .rechner-positionen select:focus { outline: 2px solid var(--teal-600); border-color: var(--teal-600); }
/* Selects: nativen Pfeil ersetzen, einheitlicher Chevron */
.rechner-field select, .rechner-positionen select {
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  padding-right: 2.2rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.75rem center; background-size: 1rem;
}
.rechner-positionen { overflow-x: auto; }
.rechner-positionen table { width: 100%; border-collapse: collapse; font-size: 0.92rem; min-width: 520px; }
.rechner-positionen th { text-align: left; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--slate-500, #64748b); padding: 0.4rem 0.5rem; }
.rechner-positionen td { padding: 0.35rem 0.5rem; vertical-align: middle; }
.rechner-positionen .p-anteil { font-weight: 600; color: var(--slate-700, #334155); white-space: nowrap; }
.rechner-positionen .p-del { border: none; background: none; color: var(--slate-400, #94a3b8); font-size: 1.3rem; line-height: 1; cursor: pointer; padding: 0 0.3rem; }
.rechner-positionen .p-del:hover { color: #dc2626; }
.rechner-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }
.rechner-ergebnis { margin-top: 1.5rem; padding: 1.5rem; background: #fff; border: 1px solid var(--slate-200, #e2e8f0); border-radius: 12px; }
.rechner-ergebnis .r-zeile { display: flex; justify-content: space-between; gap: 1rem; padding: 0.4rem 0; border-bottom: 1px solid var(--slate-100, #f1f5f9); }
.rechner-ergebnis .r-zeile:last-child { border-bottom: none; }
.rechner-ergebnis .r-label { color: var(--slate-600, #475569); }
.rechner-ergebnis .r-wert { font-weight: 600; color: var(--slate-800, #1e293b); white-space: nowrap; }
.rechner-ergebnis .r-saldo { font-size: 1.15rem; font-weight: 700; white-space: nowrap; }
.rechner-ergebnis .r-saldo.guthaben { color: #16a34a; }
.rechner-ergebnis .r-saldo.nachzahlung { color: #dc2626; }
.rechner-ergebnis .r-haupt { font-size: 1.2rem; font-weight: 700; color: var(--teal-600); white-space: nowrap; }
.rechner-ergebnis .r-haupt.neutral { color: var(--slate-700, #334155); }
.rechner-hint { font-size: 0.85rem; color: var(--slate-500, #64748b); margin-top: 0.75rem; }
@media (max-width: 640px) { .rechner-grid { grid-template-columns: 1fr; } }

/* ============================================= */
/* Service-Bereich (Done-for-you, eigener Look)  */
/* ============================================= */
.service-hero {
  background: linear-gradient(135deg, #0f172a 0%, #15324a 55%, #134e4a 100%);
  color: #fff; padding: 5rem 0 4rem; position: relative;
}
.service-hero .container { max-width: 880px; }
.service-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(249, 115, 22, 0.15); color: #fdba74;
  border: 1px solid rgba(249, 115, 22, 0.35);
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.03em;
  padding: 0.4rem 0.9rem; border-radius: 999px; margin-bottom: 1.25rem;
}
.service-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.12; margin-bottom: 1.25rem; }
.service-hero h1 .text-gradient { background: linear-gradient(90deg,#fb923c,#f97316); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.service-hero .service-sub { font-size: 1.2rem; line-height: 1.6; color: #cbd5e1; max-width: 640px; margin-bottom: 1rem; }
.service-hero .service-clarify { font-size: 0.95rem; color: #94a3b8; margin-bottom: 2rem; }
.service-hero .cta-buttons { display: flex; flex-wrap: wrap; gap: 1rem; }
.service-hero .btn-outline-white { border: 1px solid rgba(255,255,255,0.4); color: #fff; }
.service-hero .btn-outline-white:hover { background: rgba(255,255,255,0.1); }

.service-trustbar { background: #0b1220; color: #cbd5e1; padding: 1rem 0; }
.service-trustbar .container { display: flex; flex-wrap: wrap; gap: 1.25rem 2rem; justify-content: center; font-size: 0.9rem; }
.service-trustbar span { display: inline-flex; align-items: center; gap: 0.5rem; }
.service-trustbar svg { width: 1.05rem; height: 1.05rem; color: #34d399; flex-shrink: 0; }

.service-section { padding: 4rem 0; }
.service-section .container { max-width: 960px; }
.service-section.alt { background: var(--slate-50, #f8fafc); }
.service-section h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 0.75rem; }
.service-section .lead { font-size: 1.1rem; color: var(--slate-600, #475569); line-height: 1.7; max-width: 720px; margin-bottom: 2rem; }

.service-pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.service-pain-card { background: #fff; border: 1px solid var(--slate-200, #e2e8f0); border-radius: 12px; padding: 1.5rem; }
.service-pain-card h3 { font-size: 1.05rem; margin: 0 0 0.5rem; }
.service-pain-card p { font-size: 0.92rem; color: var(--slate-600, #475569); line-height: 1.6; margin: 0; }

.service-leistungen { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 2rem; list-style: none; padding: 0; margin: 0; }
.service-leistungen li { display: flex; align-items: flex-start; gap: 0.7rem; font-size: 0.98rem; color: var(--slate-700, #334155); padding: 0.5rem 0; }
.service-leistungen svg { width: 1.2rem; height: 1.2rem; color: var(--teal-600); flex-shrink: 0; margin-top: 0.15rem; }

.service-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: step; }
.service-step { position: relative; padding-top: 0.5rem; }
.service-step .step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: var(--teal-600); color: #fff; font-weight: 700; font-size: 1.1rem; margin-bottom: 0.85rem;
}
.service-step h3 { font-size: 1.1rem; margin: 0 0 0.4rem; }
.service-step p { font-size: 0.92rem; color: var(--slate-600, #475569); line-height: 1.6; margin: 0; }

.service-compare { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--slate-200, #e2e8f0); border-radius: 12px; overflow: hidden; }
.service-compare th, .service-compare td { padding: 0.85rem 1rem; text-align: left; border-bottom: 1px solid var(--slate-100, #f1f5f9); font-size: 0.95rem; }
.service-compare thead th { background: var(--slate-50, #f8fafc); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--slate-500, #64748b); }
.service-compare td:first-child { color: var(--slate-600, #475569); }
.service-compare .col-self { color: var(--slate-500, #64748b); }
.service-compare .col-us { font-weight: 600; color: var(--slate-800, #1e293b); }
.service-compare tr:last-child td { border-bottom: none; }

.service-leadbox {
  background: linear-gradient(135deg, #0f172a 0%, #134e4a 100%); color: #fff;
  border-radius: 16px; padding: 2.5rem; text-align: center;
}
.service-leadbox h2 { color: #fff; }
.service-leadbox p { color: #cbd5e1; max-width: 560px; margin: 0.5rem auto 1.5rem; }
.service-leadbox .cta-buttons { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.service-leadbox .btn-outline-white { border: 1px solid rgba(255,255,255,0.45); color: #fff; }
.service-leadbox .lead-microtext { font-size: 0.85rem; color: #94a3b8; margin-top: 1rem; }

.service-faq h3 { font-size: 1.1rem; margin: 1.5rem 0 0.4rem; }
.service-faq p { color: var(--slate-600, #475569); line-height: 1.7; margin: 0; }

@media (max-width: 820px) {
  .service-pain-grid, .service-steps, .service-leistungen { grid-template-columns: 1fr; }
  .service-compare { font-size: 0.88rem; }
}

/* Service-Preisliste */
.service-prices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.service-price-card { background: #fff; border: 1px solid var(--slate-200, #e2e8f0); border-radius: 14px; padding: 1.75rem; display: flex; flex-direction: column; }
.service-price-card h3 { font-size: 1.15rem; margin: 0 0 0.35rem; }
.service-price-card .sp-from { font-size: 0.85rem; color: var(--slate-500, #64748b); }
.service-price-card .sp-amount { font-size: 2rem; font-weight: 800; color: var(--slate-900, #0f172a); line-height: 1.1; margin: 0.2rem 0; }
.service-price-card .sp-unit { font-size: 0.9rem; font-weight: 500; color: var(--slate-500, #64748b); }
.service-price-card ul { list-style: none; margin: 1rem 0 0; padding: 0; }
.service-price-card li { display: flex; align-items: flex-start; gap: 0.55rem; font-size: 0.9rem; color: var(--slate-600, #475569); padding: 0.3rem 0; }
.service-price-card li svg { width: 1rem; height: 1rem; color: var(--teal-600); flex-shrink: 0; margin-top: 0.15rem; }
.service-price-note { font-size: 0.85rem; color: var(--slate-500, #64748b); margin-top: 1.25rem; }
@media (max-width: 820px) { .service-prices { grid-template-columns: 1fr; } }

/* Service-Hinweis im Ratgeber (dezent, leitet in den Service) */
.service-cta-inline {
  display: flex; align-items: center; justify-content: space-between; gap: 1.25rem;
  flex-wrap: wrap;
  background: var(--slate-50, #f8fafc); border: 1px solid var(--slate-200, #e2e8f0);
  border-left: 4px solid var(--teal-600); border-radius: 10px;
  padding: 1.25rem 1.5rem; margin: 2.5rem 0;
}
.service-cta-inline .sci-text { flex: 1 1 320px; }
.service-cta-inline strong { display: block; font-size: 1.02rem; color: var(--slate-800, #1e293b); margin-bottom: 0.2rem; }
.service-cta-inline span { font-size: 0.92rem; color: var(--slate-600, #475569); line-height: 1.5; }
.service-cta-inline .btn { flex-shrink: 0; }

/* Service-Hub: Leistungskarten als klare Links mit orangenem Button */
.service-link-card { text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 0.55rem; transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s; }
.service-link-card:hover { border-color: var(--teal-600); box-shadow: 0 8px 22px rgba(15,23,42,0.10); transform: translateY(-2px); }
.service-card-more {
  display: inline-flex; align-items: center; gap: 0.4rem; align-self: flex-start;
  margin-top: auto; padding: 0.5rem 1rem; border-radius: 8px;
  background: #f97316; color: #fff; font-weight: 600; font-size: 0.85rem;
}
.service-link-card:hover .service-card-more { background: #ea580c; }
.service-card-more svg { width: 1rem; height: 1rem; }

/* Enterprise-Block: eigene Karte, abgesetzt von den Preissäulen */
.pricing-enterprise {
  max-width: 64rem;
  margin: 2.5rem auto 0;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: 1rem;
  padding: 2rem 2.5rem;
}
.pricing-enterprise-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.pricing-enterprise-content > p {
  color: var(--slate-500);
  margin-bottom: 1rem;
  max-width: 60ch;
}
.pricing-enterprise .btn { margin-top: 0.5rem; }
@media (max-width: 640px) {
  .pricing-enterprise { padding: 1.5rem; }
}

/* FAQ-Akkordeon (Startseite) */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2.5rem;
}
.faq-item {
  border: 1px solid var(--slate-200);
  border-radius: 0.75rem;
  background: var(--white);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-item[open] {
  border-color: var(--teal-600);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.125rem 1.5rem;
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--slate-900);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  flex: 0 0 auto;
  width: 0.6rem;
  height: 0.6rem;
  border-right: 2px solid var(--slate-400);
  border-bottom: 2px solid var(--slate-400);
  transform: rotate(45deg);
  transition: transform 0.2s;
  margin-top: -0.25rem;
}
.faq-item[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 0.125rem;
  border-color: var(--teal-600);
}
.faq-item summary:hover { color: var(--teal-600); }
.faq-answer {
  padding: 0 1.5rem 1.25rem;
  color: var(--slate-600);
  line-height: 1.75;
}
.faq-answer p { margin: 0; }
.faq-answer a { color: var(--teal-600); font-weight: 500; }

/* Info-Karten (Für wen / Made in Germany) */
.info-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 64rem;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .info-grid { grid-template-columns: 1fr 1fr; }
}
.info-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 1rem;
  padding: 1.75rem 2rem;
}
.info-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  color: var(--slate-900);
}
.info-card p {
  color: var(--slate-600);
  line-height: 1.75;
  margin: 0;
}

/* Glossar-Karten */
.glossary-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 64rem;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .glossary-grid { grid-template-columns: repeat(3, 1fr); }
}
.glossary-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-top: 3px solid var(--teal-600);
  border-radius: 0.75rem;
  padding: 1.5rem;
}
.glossary-card h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
  color: var(--slate-900);
}
.glossary-card p {
  color: var(--slate-600);
  line-height: 1.7;
  font-size: 0.9375rem;
  margin: 0;
}

/* Testimonial-Card */
.testimonial-card {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 1.25rem;
  padding: 3rem 2.5rem 2.5rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  position: relative;
}
.testimonial-quote {
  display: block;
  font-size: 4.5rem;
  line-height: 0.5;
  height: 2rem;
  color: var(--teal-600);
  font-weight: 700;
}
.testimonial-card blockquote {
  margin: 0 0 1.5rem;
  border: 0;
  padding: 0;
  font-size: 1.375rem;
  line-height: 1.6;
  font-weight: 500;
  color: var(--slate-800);
}
.testimonial-stars {
  color: #f59e0b;
  font-size: 1.15rem;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
}
.testimonial-card figcaption {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.testimonial-role a { color: var(--teal-600); }
.testimonial-author {
  font-weight: 700;
  color: var(--slate-900);
  font-size: 1.0625rem;
}
.testimonial-role {
  color: var(--slate-500);
  font-size: 0.9rem;
}
@media (max-width: 640px) {
  .testimonial-card { padding: 2rem 1.5rem; }
  .testimonial-card blockquote { font-size: 1.125rem; }
}
