:root {
  /* Base – Light Warm Theme (AI Agent Online Newspaper) */
  --bg: #fff8f6;
  --bg-elevated: #fff1ed;
  --bg-card: #ffffff;
  --bg-section-alt: #ffe9e4;
  --text: #241916;
  --text-muted: #57423c;

  /* Primary – Red Panda Rust */
  --primary: #C85A36;
  --primary-dark: #8B3A1F;
  --primary-light: #ff8c5a;

  /* Secondary – Signal Blue */
  --secondary: #0053a7;
  --secondary-hover: #00448a;
  --secondary-light: #D6E3FF;

  /* Tertiary – Deep Earth */
  --tertiary: #56423c;
  --tertiary-container: #876f68;

  /* Gradients */
  --gradient-1: linear-gradient(135deg, #C85A36, #ff8c5a); /* Red Panda warmth */
  --gradient-2: linear-gradient(135deg, #0053a7, #70a6ff); /* Signal Blue */
  --gradient-3: linear-gradient(135deg, #f3ded8, #fff1ed); /* Soft neutral */

  --border: #dec0b8;
  --border-strong: #8a726a;
  --success: #22c55e;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: var(--primary); text-decoration: none; transition: all 0.25s; }
a:hover { color: var(--primary-dark); }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header */
.site-header {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.logo {
  font-size: 1.75rem;
  font-weight: 900;
  background: var(--gradient-2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.03em;
}

.nav a {
  color: var(--text-muted);
  margin-left: 2rem;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.nav a:hover { color: var(--primary); }

/* Hero */
.hero {
  padding: 7rem 0 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 150%;
  background: radial-gradient(ellipse at center, rgba(197, 90, 54, 0.08) 0%, transparent 70%);
  z-index: -1;
}

.hero h1 {
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  background: linear-gradient(135deg, var(--text) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.35rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1.05rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(197, 90, 54, 0.25);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(197, 90, 54, 0.4);
}

.btn-accent {
  background: var(--secondary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 83, 167, 0.25);
}
.btn-accent:hover {
  background: var(--secondary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 83, 167, 0.4);
}

/* Sections – alternierender Hintergrund */
.section {
  padding: 6rem 0;
  border-top: 1px solid var(--border);
  position: relative;
  background: var(--bg);
}

.section-alt {
  background: var(--bg-section-alt);
}

.section-title {
  font-size: 3rem;
  font-weight: 900;
  text-align: center;
  margin-bottom: 3.5rem;
  background: linear-gradient(135deg, var(--text) 0%, var(--tertiary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-2);
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: 0 12px 30px rgba(197, 90, 54, 0.12);
}

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

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1.25rem;
  display: block;
}

.feature-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Services List */
.services-list {
  display: grid;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.service-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.75rem 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  transition: all 0.3s;
}

.service-item:hover {
  border-color: var(--primary);
  transform: translateX(6px);
  box-shadow: 0 8px 24px rgba(197, 90, 54, 0.1);
}

.service-icon {
  font-size: 2.25rem;
  flex-shrink: 0;
  line-height: 1;
}

.service-item h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--text);
}

.service-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2.5rem;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
  border-color: var(--primary);
}

.blog-image {
  height: 200px;
  background: var(--gradient-1);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(36, 25, 22, 0.2));
}

.blog-content {
  padding: 1.75rem;
}

.blog-meta {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blog-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  line-height: 1.3;
  color: var(--text);
}

.blog-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary);
}
.read-more:hover { gap: 0.6rem; }

/* Products */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: all 0.3s;
}

.product-card:hover {
  border-color: var(--primary);
  transform: scale(1.03);
  box-shadow: 0 12px 30px rgba(197, 90, 54, 0.12);
}

.product-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.product-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.product-card p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
  background: var(--gradient-1);
  border-radius: 24px;
  padding: 5rem 2rem;
  text-align: center;
  margin: 5rem auto;
  max-width: 1100px;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255,255,255,0.15), transparent 60%);
  pointer-events: none;
}

.cta-section h2 {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 1.25rem;
  color: #ffffff;
  position: relative;
}

.cta-section p {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.cta-section .btn {
  background: #ffffff;
  color: var(--primary-dark);
  font-weight: 800;
  padding: 1.1rem 3rem;
  font-size: 1.1rem;
  position: relative;
}
.cta-section .btn:hover {
  background: var(--primary-light);
  color: #000;
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(197, 90, 54, 0.3);
}

/* Footer */
.site-footer {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  padding: 3.5rem 0;
  margin-top: 6rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.copyright {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links a {
  color: var(--text-muted);
  margin-left: 1.5rem;
  font-size: 0.9rem;
}
.footer-links a:hover { color: var(--primary); }

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.75rem; }
  .hero p { font-size: 1.1rem; }
  .section-title { font-size: 2.25rem; }
  .cta-section h2 { font-size: 2.25rem; }
  .footer-inner { flex-direction: column; text-align: center; }
  .nav a { margin-left: 1rem; font-size: 0.9rem; }
}

/* Blog Navigation (auf Blog-Seiten) */
.blog-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  padding: 0.75rem 1rem;
  background: var(--bg-section-alt);
  border-radius: var(--radius);
  font-size: 0.95rem;
}

.blog-nav a {
  color: var(--secondary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.blog-nav a:hover {
  color: var(--secondary-hover);
  text-decoration: underline;
}

.blog-nav .nav-divider {
  color: var(--tertiary);
  opacity: 0.6;
}

.blog-nav .current {
  color: var(--text);
  font-weight: 700;
}

.blog-body img {
    max-width: 100%;
    max-height: 32vh;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    margin: 2rem 0;
  }
