:root {
  --bg: #e6edf5;        /* Seitenhintergrund */
  --bg-soft: #f1f5f9;   /* Sektionen */
  --bg-alt: #dce6f1;    /* Alternierende Sektionen */

  --card: #f8fbff;      /* Karten (nicht mehr reinweiß) */
  --border: #cfd9e3;

  --text: #0f1720;
  --text-soft: #3f4d5c;
  --text-light: #6b7a8a;

  --primary: #16212e;
  --primary-hover: #223246;
  --primary-text: #ffffff;

  --secondary: #f8fbff;
  --secondary-hover: #e9f0f7;

  --accent: #25d366;
  --accent-hover: #1fba59;
  --accent-text: #ffffff;

  --shadow: 0 18px 50px rgba(15, 23, 32, 0.12);
  --shadow-soft: 0 10px 30px rgba(15, 23, 32, 0.08);

  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1200px;
  --transition: 0.25s ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at top right, rgba(103, 132, 167, 0.08), transparent 22%),
    radial-gradient(circle at bottom left, rgba(124, 154, 189, 0.08), transparent 22%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.narrow {
  max-width: 900px;
}

.section {
  padding: 100px 0;
}

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  max-width: 760px;
  margin: 0 auto 50px;
  text-align: center;
}

.section-head.left {
  margin: 0 0 35px;
  text-align: left;
}

.section-head h2 {
  margin: 12px 0 14px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
}

.section-head p {
  margin: 0;
  color: var(--text-soft);
  font-size: 1.05rem;
}

.section-tag,
.badge {
  display: inline-block;
  padding: 10px 16px;
  border: 1px solid var(--border);
  background: #ffffff;
  border-radius: 999px;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light);
  box-shadow: var(--shadow-soft);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background: rgba(230, 237, 245, 0.9);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 220px;
}

.logo-main {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
}

.logo-sub {
  font-size: 0.8rem;
  color: var(--text-light);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  justify-content: center;
}

.main-nav a {
  color: var(--text-soft);
  font-size: 0.96rem;
  transition: var(--transition);
}

.main-nav a:hover {
  color: var(--text);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--primary-text);
  min-height: 46px;
  padding: 0 20px;
  border-radius: 14px;
  font-weight: 700;
  transition: var(--transition);
  box-shadow: var(--shadow-soft);
}

.header-cta:hover {
  transform: translateY(-2px);
  background: var(--primary-hover);
}

.hero {
  padding: 90px 0 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 34px;
  align-items: center;
}

.hero-content h1,
.page-hero h1 {
  margin: 0 0 22px;
  font-size: clamp(2.4rem, 5vw, 4.7rem);
  line-height: 1.02;
}

.hero-content p,
.page-hero p {
  margin: 0;
  max-width: 720px;
  color: var(--text-soft);
  font-size: 1.08rem;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 16px;
  font-weight: 700;
  transition: var(--transition);
  border: 1px solid transparent;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-text);
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  background: var(--primary-hover);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--text);
  border-color: var(--border);
  box-shadow: var(--shadow-soft);
}

.btn-secondary:hover {
  background: var(--secondary-hover);
}

.btn-whatsapp {
  background: var(--accent);
  color: var(--accent-text);
  box-shadow: var(--shadow-soft);
}

.btn-whatsapp:hover {
  background: var(--accent-hover);
}

.hero-card,
.info-card,
.price-card,
.portfolio-card,
.step-item,
.faq-item,
.contact-box,
.legal-box,
.note-box {
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow);
}

.hero-card {
  border-radius: var(--radius-xl);
  padding: 32px;
}

.hero-card h2 {
  margin: 0 0 14px;
  font-size: 1.8rem;
}

.hero-card p {
  margin: 0 0 28px;
  color: var(--text-soft);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.stat-box {
  border: 1px solid var(--border);
  background: #fdfefe;
  border-radius: 18px;
  padding: 18px;
}

.stat-box strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 6px;
}

.stat-box span {
  color: var(--text-light);
  font-size: 0.92rem;
}

.card-grid.three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.info-card {
  border-radius: var(--radius-lg);
  padding: 30px;
}

.info-card h2,
.info-card h3 {
  margin-top: 0;
  margin-bottom: 14px;
}

.info-card h3 {
  font-size: 1.35rem;
}

.info-card p {
  margin: 0;
  color: var(--text-soft);
}

.card-intro {
  margin-bottom: 22px !important;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.price-card {
  border-radius: var(--radius-lg);
  padding: 30px;
}

.price-card.featured {
  transform: translateY(-8px);
  border-color: #c5d3e2;
  background: linear-gradient(180deg, #ffffff 0%, #f6faff 100%);
}

.price-top {
  margin-bottom: 24px;
}

.plan-name {
  display: inline-block;
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.price-card h3 {
  margin: 0;
  font-size: 2.1rem;
}

.price-card ul,
.feature-list {
  margin: 0;
  padding-left: 18px;
  color: var(--text-soft);
}

.price-card li + li,
.feature-list li + li {
  margin-top: 10px;
}

.portfolio-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.portfolio-card.large {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.portfolio-link {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.portfolio-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(15, 23, 32, 0.14);
}

.portfolio-link:hover .portfolio-content h2 {
  color: var(--primary);
}

.portfolio-thumb {
  height: 230px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(163, 184, 207, 0.22), rgba(255, 255, 255, 0.5)),
    linear-gradient(45deg, #dfe8f2, #f6f9fc);
}

.portfolio-thumb.tall {
  height: 260px;
  min-height: 260px;
}

.portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.portfolio-content {
  padding: 26px;
  border-top: 1px solid var(--border);
}

.portfolio-content h2,
.portfolio-content h3 {
  margin: 0 0 12px;
}

.portfolio-content h2 {
  font-size: 1.7rem;
}

.portfolio-content h3 {
  font-size: 1.3rem;
}

.portfolio-content p {
  margin: 0 0 18px;
  color: var(--text-soft);
}

.portfolio-grid-large {
  display: grid;
  gap: 24px;
}

.page-hero {
  padding: 90px 0 40px;
}

.legal-hero {
  padding-bottom: 20px;
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.steps,
.faq-list,
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.step-item {
  display: flex;
  gap: 18px;
  padding: 22px;
  border-radius: 22px;
}

.step-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--primary-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
}

.step-item h3,
.faq-item h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.step-item p,
.faq-item p {
  margin: 0;
  color: var(--text-soft);
}

.faq-item {
  padding: 22px;
  border-radius: 22px;
}

.contact-section {
  padding-top: 100px;
  padding-bottom: 110px;
}

.contact-box {
  border-radius: 34px;
  padding: 50px 32px;
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.contact-box h2 {
  margin: 14px 0 14px;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
}

.contact-box p {
  max-width: 820px;
  margin: 0 auto;
  color: var(--text-soft);
  font-size: 1.05rem;
}

.contact-buttons {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.contact-buttons.left-align {
  justify-content: flex-start;
}

.contact-box small {
  display: block;
  margin-top: 16px;
  color: var(--text-light);
}

.contact-page-grid .info-card {
  height: 100%;
}

.contact-info-item {
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fdfefe;
}

.contact-info-item strong {
  display: block;
  margin-bottom: 6px;
}

.contact-info-item span {
  color: var(--text-soft);
}

.note-box {
  margin-top: 24px;
  padding: 18px 20px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  color: var(--text-soft);
}

.legal-box {
  border-radius: 30px;
  padding: 34px;
}

.legal-box h2 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.legal-box p {
  margin-top: 0;
  margin-bottom: 28px;
  color: var(--text-soft);
}

.center-button {
  margin-top: 32px;
  display: flex;
  justify-content: center;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: #ffffff;
}

.footer-inner {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  padding-bottom: 24px;
}

.footer-left h3 {
  margin: 0 0 8px;
}

.footer-left p {
  margin: 0;
  color: var(--text-light);
  max-width: 560px;
}

.footer-right {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-right a {
  color: var(--text-soft);
  transition: var(--transition);
}

.footer-right a:hover {
  color: var(--text);
}

@media (max-width: 1100px) {
  .hero-grid,
  .split-grid,
  .pricing-grid,
  .card-grid.three,
  .portfolio-card.large {
    grid-template-columns: 1fr;
  }

  .price-card.featured {
    transform: none;
  }
}

@media (max-width: 860px) {
  .header-inner {
    flex-wrap: wrap;
    justify-content: center;
    padding: 16px 0;
  }

  .logo {
    align-items: center;
    text-align: center;
  }

  .main-nav {
    width: 100%;
    gap: 16px;
  }

  .header-cta {
    width: 100%;
    max-width: 260px;
  }

  .hero {
    padding-top: 70px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 80px 0;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(var(--container), calc(100% - 26px));
  }

  .hero-content h1,
  .page-hero h1 {
    font-size: 2.25rem;
  }

  .hero-card,
  .info-card,
  .price-card,
  .portfolio-content,
  .step-item,
  .faq-item,
  .contact-box,
  .legal-box {
    padding: 22px;
  }

  .hero-buttons,
  .contact-buttons {
    flex-direction: column;
  }

  .btn,
  .header-cta {
    width: 100%;
  }
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.team-card {
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.team-image {
  height: 320px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(163, 184, 207, 0.22), rgba(255, 255, 255, 0.5)),
    linear-gradient(45deg, #dfe8f2, #f6f9fc);
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-content {
  padding: 24px;
  border-top: 1px solid var(--border);
}

.team-content h2 {
  margin: 0 0 10px;
  font-size: 1.4rem;
}

.team-role {
  margin: 0;
  color: var(--text-soft);
  font-size: 1rem;
}

@media (max-width: 1100px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

/* 🔥 Trennlinie */
.team-divider {
  margin: 60px 0 30px;
  height: 1px;
  background: var(--border);
}

/* 🔥 Sub-Team Überschrift */
.team-sub-head {
  text-align: center;
  margin-bottom: 30px;
}

.team-sub-head h2 {
  margin-bottom: 8px;
}

.team-sub-head p {
  color: var(--text-soft);
  margin: 0;
}

/* 🔥 Kleine Karten */
.team-grid-small {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* kleinere card */
.team-card.small {
  border-radius: 18px;
}

/* kleineres Bild */
.team-image.small {
  height: 180px;
}

/* kleinerer Content */
.team-content.small {
  padding: 18px;
}

.team-content.small h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 1100px) {
  .team-grid-small {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .team-grid-small {
    grid-template-columns: 1fr;
  }
}

/* 🔥 Hover Effekt (Premium Look) */
.team-card.small {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.team-card.small:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(15, 23, 32, 0.18);
}

/* 🔥 Role Badge */
.team-image.small {
  position: relative;
}

.role-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 999px;
  color: #fff;
  backdrop-filter: blur(6px);
}

/* 🔥 Farben je Rolle */
.role-badge.support {
  background: rgba(88, 101, 242, 0.9); /* Discord Blau */
}

.role-badge.dev {
  background: rgba(46, 204, 113, 0.9); /* Grün */
}

.role-badge.mod {
  background: rgba(231, 76, 60, 0.9); /* Rot */
}

/* 🔥 optional: leichter Glow beim Hover */
.team-card.small:hover .role-badge.support {
  box-shadow: 0 0 12px rgba(88, 101, 242, 0.6);
}

.team-card.small:hover .role-badge.dev {
  box-shadow: 0 0 12px rgba(46, 204, 113, 0.6);
}

.team-card.small:hover .role-badge.mod {
  box-shadow: 0 0 12px rgba(231, 76, 60, 0.6);
}

.dev-login {
  opacity: 0.5;
  font-size: 0.9rem;
  margin-left: 10px;
}

.dev-login:hover {
  opacity: 1;
}

.visibility-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid var(--border);
}

.visibility-internal {
  background: #eef3f8;
  color: #526373;
}

.visibility-customer {
  background: #eaf8ef;
  color: #217446;
}