/* ===== SCROLL PROGRESS BAR ===== */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--color-orange), var(--color-blue));
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-bg: #ffffff;
  --color-bg-alt: #fdf7f0;
  --color-bg-card: #f4f8ff;
  --color-bg-footer: #434343;
  --color-blue: #57adf5;
  --color-blue-hover: #3a96ee;
  --color-orange: #f59f57;
  --color-orange-hover: #e88a3a;
  --color-white: #ffffff;
  --color-black: #000000;
  --color-text: #434343;
  --color-text-dark: #1a1a1a;
  --color-gray: #888888;
  --color-gray-light: #f0f4f8;
  --color-border: rgba(0,0,0,0.1);
  --font-main: 'PT Sans', sans-serif;
  --max-width: 1200px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--color-blue);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--color-blue-hover);
}

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

h1, h2, h3, h4, h5, h6 {
  color: var(--color-text-dark);
  line-height: 1.2;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== NAVIGATION ===== */
.site-header {
  background: var(--color-white);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav-logo img {
  height: 40px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
}

.nav-group {
  position: relative;
}

.nav-group-title {
  padding: 0.5rem 1rem;
  color: var(--color-text-dark);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.2s;
  background: none;
  border: none;
  font-family: var(--font-main);
}

.nav-group-title:hover {
  color: var(--color-blue);
}

.nav-group-title::after {
  content: '▾';
  font-size: 0.7rem;
  margin-left: 0.2rem;
}

/* Standard dropdown (Über uns) */
.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 0.5rem 0;
  min-width: 200px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  z-index: 100;
}

.nav-group:hover .nav-dropdown {
  display: block;
}

.nav-dropdown a {
  display: block;
  padding: 0.5rem 1.2rem;
  color: var(--color-text);
  font-size: 0.9rem;
  transition: background 0.2s, color 0.2s;
}

.nav-dropdown a:hover {
  background: rgba(87,173,245,0.08);
  color: var(--color-blue);
}

.nav-group-title.active {
  color: var(--color-blue);
}

/* ===== MEGA MENU ===== */
.nav-megamenu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  z-index: 100;
  flex-direction: column;
  gap: 0;
  min-width: 560px;
}

.nav-group--mega:hover .nav-megamenu {
  display: flex;
}

.megamenu-cols {
  display: flex;
  flex-direction: row;
}

.megamenu-footer {
  display: block;
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.4rem 0;
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--color-text);
  text-decoration: none;
  text-align: center;
  transition: color 0.2s;
}

.megamenu-footer:hover {
  color: var(--color-blue);
}

.megamenu-col {
  flex: 1;
  padding: 0 1.5rem;
}

.megamenu-col:first-child {
  padding-left: 0;
}

.megamenu-col:last-child {
  padding-right: 0;
}

.megamenu-col-title {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-orange);
  text-decoration: none;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-orange);
  white-space: nowrap;
}

.megamenu-divider {
  width: 1px;
  background: var(--color-border);
  flex-shrink: 0;
}

.megamenu-col a {
  display: block;
  padding: 0.4rem 0;
  color: var(--color-text);
  font-size: 0.9rem;
  transition: color 0.2s;
  white-space: nowrap;
}

.megamenu-col a:hover {
  color: var(--color-blue);
}

/* Direkter Link (Partner) */
.nav-item--link {
  position: relative;
}

.nav-direct-link {
  padding: 0.5rem 1rem;
  color: var(--color-text-dark);
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}

.nav-direct-link:hover {
  color: var(--color-blue);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-text-dark);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 6rem 0;
  text-align: center;
  background: linear-gradient(135deg, #ffffff 0%, #eef6ff 50%, #fdf7f0 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('/images/hero.jpg') center/cover no-repeat;
  opacity: 0.06;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  color: var(--color-text-dark);
}

.hero h1 .highlight {
  color: var(--color-blue);
}

.hero p {
  font-size: 1.2rem;
  color: var(--color-gray);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-main);
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  text-decoration: none;
}

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

.btn-primary:hover {
  background: var(--color-blue-hover);
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(87,173,245,0.3);
}

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

.btn-outline:hover {
  background: var(--color-blue);
  color: var(--color-white);
  transform: translateY(-1px);
}

/* Hero primary button is visually dominant */
.hero-buttons .btn-primary {
  padding: 1rem 2.2rem;
  font-size: 1.05rem;
  box-shadow: 0 4px 20px rgba(87,173,245,0.25);
}

.hero-buttons .btn-outline {
  font-size: 0.95rem;
}

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

.btn-orange:hover {
  background: var(--color-orange-hover);
  color: var(--color-white);
}

.btn-icon {
  width: 20px;
  height: 20px;
}

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

/* ===== SECTIONS ===== */
.section {
  padding: 5rem 0;
}

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

.section-light {
  background: var(--color-gray-light);
  color: var(--color-text-dark);
}

.section-light h2,
.section-light h3,
.section-light h4 {
  color: var(--color-text-dark);
}

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

.section-title h2 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.section-title p {
  color: var(--color-gray);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.section-light .section-title p {
  color: #666;
}

/* ===== FEATURE CARDS (3-column) ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--color-bg-card);
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid var(--color-border);
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(87,173,245,0.15);
}

.feature-card .icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
}

/* Alternating accent colors on feature card icons and top border */
.feature-card:nth-child(odd) {
  border-top: 3px solid var(--color-blue);
}
.feature-card:nth-child(even) {
  border-top: 3px solid var(--color-orange);
}
.feature-card:nth-child(odd) .card-link {
  color: var(--color-blue);
}
.feature-card:nth-child(even) .card-link {
  color: var(--color-orange);
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--color-text-dark);
}

.feature-card p {
  color: var(--color-gray);
  font-size: 0.95rem;
}

.feature-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 1rem;
  color: var(--color-blue);
  font-weight: 700;
  font-size: 0.95rem;
}

.feature-card .card-link::after {
  content: '→';
}

/* ===== USP / VALUE PROPS ===== */
.usp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.usp-item h3 {
  font-size: 2.5rem;
  color: var(--color-orange);
  margin-bottom: 0.3rem;
}

.usp-item p {
  font-size: 1rem;
  color: var(--color-gray);
}

/* ===== TESTIMONIALS CAROUSEL ===== */
.testimonials-carousel {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.carousel-viewport {
  flex: 1;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  gap: 8px;
}

.testimonial-card {
  /* Fixed width — no layout transitions to prevent text reflow */
  flex: 0 0 calc((100% - 16px) / 3);
  min-width: 0;
  overflow: hidden;
  background: var(--color-bg-card);
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid var(--color-border);
  position: relative;
  opacity: 0.35;
  transition: opacity 0.4s ease;
}

.testimonial-card.is-active {
  opacity: 1;
}

.testimonial-card.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.testimonial-card .stars {
  color: var(--color-orange);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.testimonial-card blockquote {
  font-style: italic;
  color: var(--color-text);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.testimonial-card .author {
  font-weight: 700;
  color: var(--color-text-dark);
}

.testimonial-card .role {
  color: var(--color-gray);
  font-size: 0.85rem;
}

.carousel-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-text-dark);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  align-self: center;
}

.carousel-btn:hover {
  border-color: var(--color-blue);
  color: var(--color-blue);
  background: rgba(87, 173, 245, 0.08);
}

/* ===== PRICING TABLE ===== */
.pricing-table-wrap {
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: 12px;
  border: 1px solid var(--color-border);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 480px;
}

.pricing-table thead tr {
  background: var(--color-bg-card);
}

.pricing-table th {
  padding: 1rem 1.25rem;
  text-align: center;
  font-weight: 700;
  color: var(--color-text-dark);
  border-bottom: 2px solid var(--color-border);
  white-space: nowrap;
}

.pricing-table th:first-child {
  text-align: left;
  color: var(--color-gray);
  font-weight: 400;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-table td {
  padding: 0.75rem 1.25rem;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
}

.pricing-table td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--color-text-dark);
  white-space: nowrap;
  background: var(--color-bg-card);
}

.pricing-table tbody tr:last-child td {
  border-bottom: none;
}

.pricing-table .price-row td {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  background: var(--color-bg);
}

.pricing-table .price-row td:first-child {
  background: var(--color-bg-card);
}

.pricing-table .price-amount {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
}

.pricing-table .price-period {
  display: block;
  font-size: 0.78rem;
  color: var(--color-gray);
  font-weight: 400;
  margin-top: 0.15rem;
}

.pricing-table .pt-check {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1rem;
}

.pricing-table .pt-dash {
  color: var(--color-border);
}

.pricing-table .pt-note {
  font-size: 0.82rem;
  color: var(--color-gray);
}

.pricing-table .pt-link {
  text-align: right !important;
  background: transparent !important;
  font-weight: 400;
}

.pricing-table .pt-link a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  font-size: 0.88rem;
}

.pricing-table .pt-link a:hover {
  text-decoration: underline;
}

/* ===== PARTNERS ===== */
.partners-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  padding: 2rem 0;
}

.partners-grid img {
  height: 40px;
  width: auto;
  opacity: 0.8;
  transition: opacity 0.2s, filter 0.2s;
}

.partners-grid img:hover {
  opacity: 1;
}

/* ===== CTA SECTION ===== */
.cta-section {
  text-align: center;
  padding: 5rem 0;
  background: linear-gradient(135deg, #eef6ff 0%, #fdf7f0 100%);
  border-top: 3px solid var(--color-orange);
}

.cta-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--color-text-dark);
}

.cta-section p {
  color: var(--color-gray);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

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

/* ===== CHECKLIST ===== */
.checklist {
  list-style: none;
}

.checklist li {
  padding: 0.5rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 1rem;
}

.checklist li::before {
  content: '✓';
  color: var(--color-blue);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-question {
  width: 100%;
  padding: 1.2rem 0;
  background: none;
  border: none;
  color: var(--color-text-dark);
  font-size: 1.05rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-main);
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--color-blue);
  transition: transform 0.2s;
}

.faq-item.active .faq-question::after {
  content: '−';
}

.faq-answer {
  display: none;
  padding-bottom: 1.2rem;
  color: var(--color-gray);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  display: block;
}

/* ===== STEPS ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 2rem;
  background: var(--color-bg-card);
  border-radius: 12px;
  border: 1px solid var(--color-border);
  counter-increment: step;
}

.step::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--color-orange);
  color: var(--color-white);
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.step h3 {
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
  color: var(--color-text-dark);
}

.step p {
  color: var(--color-gray);
  font-size: 0.95rem;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--color-bg-footer);
  padding: 4rem 0 2rem;
  border-top: 3px solid var(--color-orange);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-brand img {
  height: 36px;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1) opacity(0.9);
}

.footer-brand p {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  max-width: 250px;
}

.footer-col h4 {
  color: var(--color-white);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--color-orange);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.footer-bottom p {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.footer-social a {
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}

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

.footer-social img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}

.footer-badges {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-badges img {
  height: 60px;
  width: auto;
  filter: none;
}

/* ===== SERVICE PAGE HERO ===== */
.page-hero {
  padding: 4rem 0 3rem;
  text-align: center;
  background: linear-gradient(135deg, #eef6ff 0%, #fdf7f0 100%);
  border-bottom: 1px solid var(--color-border);
}

.page-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--color-text-dark);
}

.page-hero .subtitle {
  color: var(--color-gray);
  font-size: 1.15rem;
  max-width: 700px;
  margin: 0 auto;
}

/* ===== PAGE CONTENT ===== */
.page-content {
  padding: 3rem 0;
}

.page-content h2 {
  font-size: 1.8rem;
  margin: 2rem 0 1rem;
  color: var(--color-text-dark);
}

.page-content h3 {
  font-size: 1.4rem;
  margin: 1.5rem 0 0.75rem;
  color: var(--color-text-dark);
}

.page-content p {
  margin-bottom: 1rem;
  line-height: 1.7;
  color: var(--color-text);
}

.page-content ul {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.page-content ul li {
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

/* Two-column layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.two-col-text h2 {
  margin-top: 0;
}

/* ===== PARTNER CARDS ===== */
.partner-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.partner-card {
  background: var(--color-bg-card);
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid var(--color-border);
}

.partner-card-logo {
  height: 48px;
  max-width: 160px;
  object-fit: contain;
  margin-bottom: 1.25rem;
  display: block;
  mix-blend-mode: multiply;
}

.partner-card-logo[src*="secutec"] {
  mix-blend-mode: normal;
}

.partner-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  color: var(--color-text-dark);
}

.partner-card p {
  color: var(--color-gray);
  font-size: 0.95rem;
}

/* ===== PUBLICATIONS ===== */
.pub-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.pub-card {
  display: block;
  background: var(--color-bg-card);
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid var(--color-border);
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pub-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.pub-card h3 {
  margin: 0.5rem 0;
  font-size: 1.2rem;
  color: var(--color-text-dark);
}

.pub-card p {
  color: var(--color-gray);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.pub-card-meta,
.publication-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  color: var(--color-gray);
}

.publication-meta {
  margin-top: 1rem;
  margin-bottom: 0;
}

.pub-meta-item {
  display: inline-flex;
  align-items: center;
}

.pub-category-tag {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2em 0.65em;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Article reading view */
.container--narrow {
  max-width: clamp(640px, 78vw, 1080px);
  margin-left: auto;
  margin-right: auto;
}

.page-content--article {
  padding: 3rem 0 4rem;
}

.page-content--article h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.page-content--article h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.page-content--article p {
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.page-content--article ul,
.page-content--article ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
  line-height: 1.8;
}

.page-content--article li {
  margin-bottom: 0.4rem;
}

.page-content--article pre {
  background: #1a1a2e;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  overflow-x: auto;
  margin: 1.5rem 0;
}

.page-content--article code {
  font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
  font-size: 0.875em;
}

.page-content--article pre code {
  color: #e2e8f0;
  background: none;
  padding: 0;
}

.page-content--article :not(pre) > code {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 0.15em 0.4em;
  font-size: 0.875em;
}

.page-content--article blockquote {
  border-left: 3px solid var(--color-primary);
  margin: 1.5rem 0;
  padding: 0.75rem 1.25rem;
  background: var(--color-bg-card);
  border-radius: 0 8px 8px 0;
  color: var(--color-gray);
}

/* ===== JOB LISTINGS ===== */
.job-list {
  max-width: 800px;
  margin: 0 auto;
}

.job-card {
  background: var(--color-bg-card);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid var(--color-border);
}

.job-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  color: var(--color-text-dark);
}

.job-card .job-status {
  color: var(--color-gray);
  font-size: 0.85rem;
}

.job-card .job-status.filled {
  color: var(--color-orange);
}

/* ===== BLOG LIST ===== */
.blog-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.blog-card {
  background: var(--color-bg-card);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: transform 0.2s, box-shadow 0.2s;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(87,173,245,0.12);
}

.blog-card-body {
  padding: 1.5rem;
}

.blog-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--color-text-dark);
}

.blog-card .blog-date {
  color: var(--color-gray);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.blog-card p {
  color: var(--color-text);
  font-size: 0.95rem;
}

/* ===== LEGAL PAGES ===== */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.legal-content h1 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--color-text-dark);
}

.legal-content h2 {
  font-size: 1.4rem;
  margin: 2rem 0 0.75rem;
  color: var(--color-text-dark);
}

.legal-content h3 {
  font-size: 1.15rem;
  margin: 1.5rem 0 0.5rem;
  color: var(--color-text-dark);
}

.legal-content p {
  margin-bottom: 0.75rem;
  color: var(--color-text);
  line-height: 1.7;
}

.legal-content ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

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

/* ===== SME Pricing highlight ===== */
.sme-pricing {
  text-align: center;
  background: var(--color-bg-card);
  border-radius: 16px;
  padding: 3rem;
  margin: 2rem 0;
  border: 2px solid var(--color-blue);
}

.sme-pricing .price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-orange);
}

.sme-pricing .price-unit {
  font-size: 1.2rem;
  color: var(--color-gray);
}

/* ===== ACCENT BORDER UTILITIES ===== */
.accent-blue {
  border-left: 4px solid var(--color-blue);
  padding-left: 1rem;
}

.accent-orange {
  border-left: 4px solid var(--color-orange);
  padding-left: 1rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    overflow-y: auto;
    max-height: calc(100vh - 80px);
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .nav-group-title::after {
    content: '';
  }

  .nav-dropdown {
    position: static;
    display: block;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0 0 0.5rem 1rem;
    min-width: unset;
  }

  /* Mega-Menü auf Mobile: Spalten untereinander */
  .nav-megamenu {
    position: static;
    min-width: unset;
    width: 100%;
    flex-direction: column;
    padding: 0 0 0.5rem 1rem;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: transparent;
    display: flex;
  }

  .megamenu-divider {
    display: none;
  }

  .megamenu-col {
    padding: 0.25rem 0 0;
  }

  .megamenu-col-title {
    margin-top: 0.5rem;
  }

  .megamenu-col a {
    white-space: normal;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .two-col {
    grid-template-columns: 1fr;
  }

  .usp-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 3rem 0;
  }

  .section {
    padding: 3rem 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .job-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  /* Hide floating CTA on very small screens if space is tight */
  .floating-cta {
    bottom: 1rem;
    right: 1rem;
  }

  /* Carousel: show only active card on mobile */
  .testimonials-carousel {
    gap: 0.5rem;
  }

  .carousel-btn {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .carousel-viewport {
    position: relative;
    gap: 0;
  }

  /* All non-active cards: overlay and invisible, out of flow */
  .testimonial-card {
    position: absolute;
    inset: 0;
    flex: none;
    opacity: 0;
    pointer-events: none;
  }

  /* Active card: back in flow at full width so it sizes the viewport */
  .testimonial-card.is-active {
    position: relative;
    flex: 0 0 100%;
    opacity: 1;
    pointer-events: auto;
  }
}

/* ===== BREADCRUMBS ===== */
.breadcrumb {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg);
}

.breadcrumb-list {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
  font-size: 0.85rem;
  flex-wrap: wrap;
}

.breadcrumb-list li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-gray);
}

.breadcrumb-list li:not(:last-child)::after {
  content: '/';
  color: var(--color-border);
}

.breadcrumb-list a {
  color: var(--color-gray);
  transition: color 0.2s;
}

.breadcrumb-list a:hover {
  color: var(--color-blue);
}

.breadcrumb-list li:last-child {
  color: var(--color-text-dark);
  font-weight: 600;
}

/* ===== MOBILE FLOATING CTA ===== */
.floating-cta {
  display: none;
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 500;
  background: var(--color-orange);
  color: var(--color-white);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.4rem;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(245,159,87,0.45);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.floating-cta:hover {
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(245,159,87,0.55);
}

@media (max-width: 968px) {
  .floating-cta {
    display: flex;
    align-items: center;
    gap: 0.4rem;
  }
}

/* ===== TESTIMONIAL AVATAR ===== */
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-white);
  flex-shrink: 0;
  margin-bottom: 0.75rem;
}

.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.testimonial-meta-text .author {
  font-weight: 700;
  color: var(--color-text-dark);
}

.testimonial-meta-text .role {
  color: var(--color-gray);
  font-size: 0.85rem;
}

/* ===== PRICING CTA ===== */
.pricing-card-cta {
  margin-top: 1.25rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.pricing-card-cta .btn {
  font-size: 0.85rem;
  padding: 0.55rem 1.1rem;
}

/* ===== RELATED SERVICES ===== */
.related-services {
  margin-top: 2rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--color-bg-alt);
  border-radius: 12px;
  border-left: 4px solid var(--color-orange);
}

.related-services h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-orange);
  margin-bottom: 0.75rem;
}

.related-services-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.related-services-links a {
  font-size: 0.9rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 0.3rem 0.9rem;
  color: var(--color-text);
  transition: border-color 0.2s, color 0.2s;
}

.related-services-links a:hover {
  border-color: var(--color-blue);
  color: var(--color-blue);
}
