/* Bootstrap 5.3.3 Branding & Overrides für Trineo */
:root {
  --color-accent: #45dcff;
  --color-accent-soft: rgba(69, 220, 255, 0.18);
  --color-bg: #020b18;
  --color-bg-alt: transparent;
  --color-surface: #041322;
  --color-surface-alt: #071c30;
  --color-text: #f9fafb;
  --color-text-muted: #9ca3af;
  --color-border: rgba(148, 163, 184, 0.35);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-soft: 0 10px 25px rgba(0, 0, 0, 0.6);
  --shadow-strong: 0 18px 40px rgba(0, 0, 0, 0.85);
  --transition-fast: 0.18s ease-out;
  --transition-med: 0.28s ease-out;
  --layout-max-width: min(1280px, 100% - 3rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overscroll-behavior-y: none;
  position: relative;
  z-index: 0;
  padding-top: 7rem;
}

body.page-leistungen-overview,
body[data-page="leistungen-overview"] {
  padding-top: 0 !important;
}

body,
body p,
body li,
body span {
  color: var(--color-text);
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
  color: #ffffff;
}

.card h1,
.card h2,
.card h3,
.card h4,
.card h5,
.card h6,
.card p,
.card li,
.article-card h3,
.article-card p,
.article-card li {
  color: #ffffff;
}

.section-header h2,
.section-header p {
  color: #ffffff;
}

.page-hero h1,
.page-hero h2,
.page-hero p {
  color: #ffffff;
}

main h2,
main h3,
main h4,
main h5 {
  color: #ffffff;
}

.article-card .meta,
.meta {
  color: var(--color-text-muted);
}

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

a:hover {
  text-decoration: underline;
}

/* Verhindert das Unterstreichen der Kachel-Links (z.B. Social-Media-/Website-/Video-Boxen) beim Hover */
.card-link-stretched,
.card-link-stretched:hover,
.card-link-stretched:focus {
  text-decoration: none !important;
}

img {
  max-width: 100%;
  display: block;
}

#faq {
 color: white; 
}

.kriterien-tabelle {
  color: white;
}

.container {
  max-width: var(--layout-max-width);
}

.btn-primary,
.btn.btn-primary {
  background-color: var(--color-accent) !important;
  border-color: var(--color-accent) !important;
  color: #020b18 !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.show > .btn-primary.dropdown-toggle {
  background-color: #2bbbe0 !important;
  border-color: #2bbbe0 !important;
  color: #020b18 !important;
}

.btn,
.btn.btn-small {
  transition: background-color var(--transition-fast),
              border-color var(--transition-fast),
              color var(--transition-fast),
              box-shadow var(--transition-fast),
              transform var(--transition-fast);
}

.btn-primary,
.btn-primary:hover,
.btn-primary:focus {
  box-shadow: 0 12px 30px rgba(69, 220, 255, 0.35);
}

.btn:not(.btn-outline-light):not(.btn-outline-secondary):not(.btn-link):not(.btn-ghost):not(.ghost):not(.btn-outline-primary) {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: #020b18;
}

.btn:not(.btn-outline-light):not(.btn-outline-secondary):not(.btn-link):not(.btn-ghost):not(.ghost):not(.btn-outline-primary):hover,
.btn:not(.btn-outline-light):not(.btn-outline-secondary):not(.btn-link):not(.btn-ghost):not(.ghost):not(.btn-outline-primary):focus {
  background-color: #2bbbe0;
  border-color: #2bbbe0;
  color: #020b18;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(69, 220, 255, 0.45);
}

.btn-outline-light {
  border-color: var(--color-accent) !important;
  color: var(--color-accent) !important;
}

.btn-outline-light:hover,
.btn-outline-light:focus,
.btn-outline-light:active,
.btn-outline-light.active,
.show > .btn-outline-light.dropdown-toggle {
  background-color: var(--color-accent) !important;
  border-color: var(--color-accent) !important;
  color: #020b18 !important;
}

.btn-small {
  padding: 0.45rem 0.9rem;
  font-size: 0.875rem;
}

.btn.ghost,
.btn.btn-outline-secondary.ghost {
  background: transparent;
  border: 1px solid rgba(148, 163, 184, 0.7);
  color: var(--color-text-muted);
}

.btn.ghost:hover,
.btn.btn-outline-secondary.ghost:hover {
  border-color: var(--color-accent);
  color: #ffffff;
}

.news-cta .btn-primary {
  padding: 0.7rem 1.4rem;
  font-size: 0.95rem;
}

#faq {
 color: white; 
}

.kriterien-tabelle {
  color: white;
}

.section {
  padding: clamp(3.5rem, 6vw, 6.5rem) 0;
}

.section-alt {
  background: transparent;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem auto;
}

.section-header h2 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--color-text-muted);
}

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(2, 6, 23, 0.94);
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
}

.navbar-trineo {
  padding-block: 0.6rem;
  position: fixed;
  top: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 60;
  max-width: var(--layout-max-width);
  width: calc(100% - 2rem);
  background: rgba(4, 13, 30, 0.88) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 999px;
  border: none !important;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.75);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.navbar-brand img {
  height: 52px;
  width: auto;
}

.navbar-brand span {
  color: #e5e7eb;
}

.main-nav {
}

.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin: 0;
  padding: 0;
}

.main-nav a {
  position: relative;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  padding-block: 0.25rem;
  text-decoration: none;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #45dcff, #8bf6ff);
  transition: width 0.25s ease-out;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.main-nav a:hover {
  color: #e5e7eb;
  text-decoration: none;
}

/* Aktiver Navigationslink deutlich sichtbar machen */
.main-nav a.active,
.navbar-nav .nav-link.active {
  color: var(--color-accent) !important;
}

.main-nav .nav-cta::after {
  width: 0 !important;
}

.nav-cta {
  border-radius: 999px;
  padding-inline: 1.1rem;
  padding-block: 0.45rem;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid rgba(69, 220, 255, 0.9) !important;
  color: #ffffff !important;
  background: linear-gradient(135deg, rgba(69, 220, 255, 0.18), rgba(139, 246, 255, 0.05));
  box-shadow: 0 0 0 1px rgba(69, 220, 255, 0.4), 0 10px 25px rgba(0, 0, 0, 0.8);
}

.nav-cta:hover,
.nav-cta:focus {
  background: linear-gradient(135deg, rgba(69, 220, 255, 0.3), rgba(139, 246, 255, 0.16));
  border-color: rgba(69, 220, 255, 1) !important;
  color: #ffffff !important;
}

.navbar-toggler {
  border-radius: 999px;
  border-color: rgba(148, 163, 184, 0.7) !important;
}

.navbar-toggler-icon {
  background-image: none !important;
  position: relative;
  width: 1.4rem;
  height: 1.1rem;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after,
.navbar-toggler-icon span {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 999px;
  background-color: #e5e7eb;
}

.navbar-toggler-icon::before {
  top: 0;
}

.navbar-toggler-icon::after {
  bottom: 0;
}

.navbar-toggler-icon span {
  top: 50%;
  transform: translateY(-50%);
}

.hero {
  padding: clamp(4.5rem, 7vh, 5.5rem) 0 clamp(3rem, 6vh, 4.5rem);
  background: transparent;
}

.hero-subtitle {
  color: var(--color-text-muted);
  max-width: 34rem;
}

.eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 2rem 0 1rem 0;
}

.hero-meta {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.hero-media {
  position: relative;
}

.hero-image {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: var(--shadow-soft);
  position: relative;
  z-index: 1;
  transform: none;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: -8%;
  background:
    radial-gradient(circle at 20% 0%, rgba(69, 220, 255, 0.18), transparent 55%),
    radial-gradient(circle at 80% 100%, rgba(139, 246, 255, 0.12), transparent 60%);
  filter: blur(18px);
  opacity: 1;
  z-index: 0;
}

.intro-screen {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: introFadeIn 0.25s ease-out;
}

.intro-screen-hide {
  animation: introFadeOut 0.25s ease-out forwards;
}

.intro-screen-backdrop {
  position: absolute;
  inset: 0;
  background: #020b18;
}

.intro-screen-image {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 0;
  margin: 0;
  background: #000;
  overflow: hidden;
}

.intro-screen-overlay-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: clamp(3rem, 12vh, 5rem);
  padding-inline: 1.5rem;
  text-align: center;
  z-index: 2;
  pointer-events: none;
}

.intro-screen-tagline {
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #f9fafb;
  text-shadow: 0 14px 35px rgba(0, 0, 0, 0.9);
  margin-bottom: 0.9rem;
}

.intro-screen-scroll-hint {
  font-size: 0.9rem;
  color: rgba(249, 250, 251, 0.88);
  text-shadow: 0 12px 30px rgba(0, 0, 0, 0.95);
}

.intro-screen-arrow {
  display: inline-block;
  margin-top: 0.25rem;
  font-size: 1.2rem;
  animation: introArrowBounce 1.2s ease-in-out infinite;
}

.intro-screen-image-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.intro-screen-close {
  position: relative;
  z-index: 1;
  margin: 1rem 1.2rem 0 0;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  background: rgba(15, 23, 42, 0.85);
  color: #e5e7eb;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7);
}

.intro-screen-close:hover {
  background: rgba(15, 23, 42, 1);
}

@keyframes introFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes introFadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes introArrowBounce {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50% { transform: translateY(6px); opacity: 1; }
}

.callout {
  color: white;
}

.hero-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.6rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-border);
}

.hero-card h2 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.hero-card p {
  margin-top: 0;
  color: var(--color-text-muted);
}

.card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: clamp(1.4rem, 1.1vw + 1.2rem, 2.1rem) clamp(1.3rem, 1vw + 1.2rem, 2rem);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition-med), box-shadow var(--transition-med), border-color var(--transition-med), background var(--transition-med);
}

.card.mini {
  padding: clamp(1.2rem, 0.8vw + 1rem, 1.7rem) clamp(1.1rem, 0.8vw + 1rem, 1.7rem);
}

.card.mini h3 {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.card.mini h3 .card-icon {
  font-size: 1.6rem;
}

.card.mini:hover {
  transform: translateY(-4px);
  border-color: rgba(69, 220, 255, 0.8);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.9);
  background: #020b18;
}

.card.mini:hover h3 {
  color: var(--color-accent);
}

.card.mini:hover p {
  color: #e5e7eb;
}

.card.mini.highlight-card {
  position: relative;
  overflow: hidden;
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card.mini.highlight-card h2 {
  font-size: 1.6rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0;
  text-align: center;
  transition: transform 0.6s ease, margin-bottom 0.6s ease;
}

.card.mini.highlight-card p {
  max-height: 0;
  opacity: 0;
  margin: 0;
  transition: max-height 0.6s ease, opacity 0.6s ease, margin-top 0.6s ease;
}

.card.mini.highlight-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 0% 0%, rgba(69, 220, 255, 0.16), transparent 60%);
  opacity: 0;
  transform: translate3d(-12%, -8%, 0);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}

.card.mini.highlight-card:hover,
.card.mini.highlight-card:focus-within {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(69, 220, 255, 0.9);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.95);
  background: #020b18;
}

.card.mini.highlight-card:hover::before,
.card.mini.highlight-card:focus-within::before {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.card.mini.highlight-card:hover h2,
.card.mini.highlight-card:focus-within h2 {
  transform: translateY(-12px);
  margin-bottom: 0.4rem;
}

.card.mini.highlight-card:hover p,
.card.mini.highlight-card:focus-within p {
  max-height: 400px;
  opacity: 1;
  margin-top: 0.25rem;
}

.highlight-card-toggle {
  position: absolute;
  inset: 0;
  border: none;
  background: transparent;
  padding: 0;
  margin: 0;
  cursor: pointer;
  z-index: 1;
}

.highlight-card-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hover-lift {
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-med), box-shadow var(--transition-med), border-color var(--transition-med);
}

.hover-lift::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at top, rgba(69, 220, 255, 0.16), transparent 55%);
  opacity: 0;
  transition: opacity var(--transition-med), transform var(--transition-med);
  z-index: -1;
}

.hover-lift:hover {
  transform: translateY(-4px) translateZ(0);
  border-color: rgba(69, 220, 255, 0.7);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.9);
}

.hover-lift:hover::before {
  opacity: 1;
  transform: translateY(-6%);
}

.article-card .meta {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 0.6rem;
}

.section-cta {
  margin-top: 2.4rem;
  text-align: center;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li + li {
  margin-top: 0.4rem;
}

.opening-times {
  background: var(--color-surface-alt);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.4rem 1.6rem 1.4rem;
}

.opening-times .meta {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  margin: 0.6rem 0 1rem 0;
}

.accent-border {
  border: 1px solid rgba(69, 220, 255, 0.7) !important;
}

.accent-glow {
  box-shadow: 0 0 0 1px rgba(69, 220, 255, 0.4), 0 18px 40px rgba(0, 0, 0, 0.9);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0 0;
  display: grid;
  gap: 0.4rem;
}

.check-list li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--color-accent);
  box-shadow: 0 0 4px rgba(69, 220, 255, 0.5);
}

.page-hero {
  padding: clamp(3.8rem, 6.5vh, 4.6rem) 0 clamp(2.4rem, 4vh, 3.2rem);
  background: transparent;
}

.page-hero h1 {
  margin: 0 0 0.75rem 0;
  font-size: clamp(2.1rem, 3.1vw, 2.6rem);
}

.page-hero p {
  max-width: 36rem;
  color: var(--color-text-muted);
}

.tgpt-hero-logo {
  max-width: 260px;
}

.tgpt-hero-title {
  font-size: clamp(2.3rem, 3.4vw, 3rem);
}

.tgpt-kpi-number {
  font-size: clamp(2.6rem, 3.4vw, 3.2rem);
  font-weight: 700;
}

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

.tgpt-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.tgpt-spec-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-text-muted);
}

.tgpt-spec-value {
  font-size: 1.1rem;
}

.tgpt-pricing-number {
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 700;
}

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

.leistungen-stripes {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.leistungen-stripe {
  flex: 1 1 33.333%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
}

.leistungen-stripe::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.02);
  transition: transform var(--transition-med), filter var(--transition-med), opacity var(--transition-med);
  opacity: 0.9;
}

.leistungen-stripe:nth-child(1)::before {
  background-image: url("/img/Social_Media_Display.PNG.png");
}

.leistungen-stripe:nth-child(2)::before {
  background-image: url("/img/Trineo-GPT_Display.PNG.png");
}

.leistungen-stripe:nth-child(3)::before {
  background-image: url("/img/Trineo_Foto_und_Video_Shooting.jpg");
}

.leistungen-stripe::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(2, 6, 23, 0.86), rgba(15, 23, 42, 0.72));
  mix-blend-mode: multiply;
  transition: opacity var(--transition-med), background var(--transition-med);
}

.leistungen-stripe-inner {
  position: relative;
  z-index: 1;
  max-width: 480px;
  padding: 1.5rem;
}

.leistungen-stripe-title {
  font-size: clamp(2rem, 4vw, 2.6rem);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  transition: transform var(--transition-med), font-size var(--transition-med);
}

.leistungen-stripe-sub {
  margin-top: 0.6rem;
  font-size: 0.95rem;
  color: rgba(229, 231, 235, 0.9);
  transition: transform var(--transition-med), font-size var(--transition-med), opacity var(--transition-med);
}

.leistungen-stripe:hover::before {
  transform: scale(1.02);
  filter: brightness(1.08);
  opacity: 1;
}

.leistungen-stripe:hover::after {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.7), rgba(30, 64, 175, 0.6));
}

.leistungen-stripe:hover .leistungen-stripe-title {
  transform: translateY(-2px);
  font-size: clamp(2.05rem, 4.1vw, 2.7rem);
}

.leistungen-stripe:hover .leistungen-stripe-sub {
  transform: translateY(-1px);
  font-size: 0.98rem;
}

.leistungen-stripe:hover {
  text-decoration: none;
}

@media (min-width: 900px) {
  .leistungen-stripes {
    flex-direction: row;
  }
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.6rem;
}

.service-tag {
  font-size: 0.8rem;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(69, 220, 255, 0.6);
  background: rgba(3, 16, 36, 0.8);
  color: var(--color-text-muted);
}

.work-section {
  background: transparent;
}

.work-step {
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 1vw + 1.3rem, 2rem) clamp(1.4rem, 1vw + 1.2rem, 1.9rem) clamp(1.6rem, 1vw + 1.4rem, 2.1rem);
  border-radius: 18px;
  background: var(--color-surface);
  border: 1px solid rgba(69, 220, 255, 0.45);
  box-shadow: var(--shadow-soft);
  transition:
    transform var(--transition-med),
    box-shadow var(--transition-med),
    border-color var(--transition-med),
    background var(--transition-med);
}

.work-step::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 0% 0%, rgba(69, 220, 255, 0.3), transparent 55%);
  opacity: 0;
  transform: translate3d(-12%, -8%, 0);
  transition: opacity var(--transition-med), transform var(--transition-med);
  pointer-events: none;
  z-index: -1;
}

.work-step-header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 0.6rem;
}

.work-step-icon-wrapper {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 0, rgba(69, 220, 255, 0.4), rgba(139, 246, 255, 0.1));
  box-shadow: 0 0 10px rgba(69, 220, 255, 0.7);
  overflow: hidden;
}

.work-step-icon-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at -30% 0, rgba(255, 255, 255, 0.6), transparent 55%);
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity var(--transition-med), transform var(--transition-med);
}

.work-step-icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #e5e7eb;
  stroke-width: 1.6;
}

.work-step-number {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-text-muted);
}

.work-step h3 {
  margin: 0.1rem 0 0.2rem 0;
}

.work-step p {
  margin: 0.1rem 0 0 0;
  color: var(--color-text-muted);
}

.work-step:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(69, 220, 255, 0.9);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.95);
  background: #020b18;
}

.work-step:hover::before {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.work-step:hover .work-step-icon-wrapper::after {
  opacity: 1;
  transform: translate3d(10%, -8%, 0);
}

.work-step:hover .work-step-icon {
  transform: scale(1.05);
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(69, 220, 255, 0.6);
  max-width: 280px;
  margin-left: auto;
}

.about-intro-text {
  font-size: 1.1rem;
}

.team-grid {
  margin-top: 2rem;
}

.team-card {
  text-align: center;
}

.team-photo {
  width: 80px;
  height: 80px;
  border-radius: 999px;
  object-fit: cover;
  margin: 0 auto 0.9rem auto;
  border: 2px solid rgba(69, 220, 255, 0.8);
}

.team-card .meta {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.values-grid {
  margin-top: 0.5rem;
}

.contact-form {
  background: var(--color-surface);
  padding: 1.8rem 1.6rem 2.1rem 1.6rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
}

.form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.1rem;
}

label,
.form-label,
.form-check-label,
.form-text,
.form-hint,
.form-status {
  color: #ffffff !important;
}

input,
select,
textarea {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  padding: 0.75rem 0.85rem;
  font-family: inherit;
  font-size: 0.95rem;
  background: #020b18;
  color: var(--color-text);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

select.form-select,
select.form-select option {
  background-color: #020b18;
  color: #ffffff;
}

textarea {
  border-radius: 18px;
  min-height: 140px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(69, 220, 255, 0.9);
  box-shadow: 0 0 0 1px rgba(69, 220, 255, 0.6);
  background: #031329;
}

.form-hint {
  font-size: 0.8rem;
  color: var(--color-text-muted) !important;
  margin-bottom: 0.8rem;
}

.contact-note {
  margin-top: 1.4rem;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.strong-cta {
  padding: clamp(3rem, 5vw, 4rem) 0 clamp(3.2rem, 5vw, 4.4rem);
  background: transparent;
}

.strong-cta-inner {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  align-items: flex-start;
}

.strong-cta h2 {
  margin: 0 0 0.4rem 0;
}

.strong-cta p {
  margin: 0;
  color: var(--color-text-muted);
}

.strong-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  background: #020b18;
  padding: clamp(2rem, 3vw, 2.6rem) 0 clamp(2.2rem, 3vw, 2.8rem);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  align-items: flex-start;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.footer-brand img {
  height: 34px;
  width: auto;
  border-radius: 0;
}

.footer-brand p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
}

.footer-nav a {
  color: var(--color-text-muted);
}

.footer-nav a:hover {
  color: #ffffff;
}

.footer-meta {
  margin: 0;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

html::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-color: transparent;
  background-image: url("/img/Hintergrundgrafik_weiss.png");
  background-repeat: repeat;
  background-size: 120px auto;
  background-position: top left;
  opacity: 0.08;
  mix-blend-mode: screen;
  z-index: -1;
}

.scroll-progress {
  position: fixed;
  top: 96px;
  right: 16px;
  bottom: 16px;
  width: 6px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.8);
  overflow: hidden;
  z-index: 40;
}

.scroll-progress::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: calc(var(--scroll-progress, 0) * 1%);
  background: linear-gradient(180deg, #45dcff, #8bf6ff);
  box-shadow: 0 0 10px rgba(69, 220, 255, 0.9);
}

.article-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 8, 23, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-med);
  z-index: 60;
}

.article-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.article-modal {
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow: auto;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.6rem 1.6rem 1.6rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.95);
}

.article-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.article-modal-title {
  margin: 0 0 0.35rem 0;
}

.article-modal-date {
  margin: 0;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.article-modal-body {
  margin-top: 1.1rem;
  white-space: pre-line;
  color: var(--color-text-muted);
}

.article-modal-body p {
  margin: 0 0 0.8rem 0;
}

.article-modal-close {
  background: transparent;
  border: none;
  color: var(--color-text-muted);
  cursor: button;
  font-size: 1.1rem;
}

.cookie-banner {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 70;
  background: rgba(2, 11, 24, 0.98);
  backdrop-filter: blur(18px);
  border-top: 1px solid rgba(69, 220, 255, 0.7);
  box-shadow: 0 -12px 30px rgba(0, 0, 0, 0.95);
}

.cookie-banner-inner {
  max-width: var(--layout-max-width);
  margin: 0 auto;
  padding: 1.4rem 1.5rem 1.2rem 1.5rem;
  display: grid;
  gap: 1rem;
}

.cookie-banner-text h2 {
  margin: 0 0 0.35rem 0;
  font-size: 1.1rem;
}

.cookie-banner-text p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.cookie-banner-controls {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.cookie-toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
}

.cookie-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
}

.cookie-toggle input[type="checkbox"] {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  accent-color: var(--color-accent);
}

.cookie-toggle-label small {
  color: var(--color-text-muted);
}

.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.cookie-manage-link {
  margin-top: 0.3rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: transparent;
  color: var(--color-text-muted);
  font-size: 0.8rem;
  cursor: button;
}

.cookie-manage-link:hover {
  color: #ffffff;
  border-color: rgba(69, 220, 255, 0.9);
}

.news-cta {
  margin-top: 2.5rem;
  text-align: center;
}

.hp-row {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.bg-primary-soft {
  background: rgba(69, 220, 255, 0.12);
  color: var(--color-text);
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  border: 1px solid rgba(69, 220, 255, 0.4);
  font-weight: 500;
}

.icon-badge {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 0, rgba(69, 220, 255, 0.35), rgba(3, 16, 36, 0.9));
  box-shadow: 0 0 10px rgba(69, 220, 255, 0.5);
  font-size: 1.2rem;
}

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.social-image-card {
  padding: 0.9rem 0.9rem 0.8rem 0.9rem;
}

.social-thumb {
  padding: 0.9rem;
}

.thumb-wide {
  max-width: 120px;
}

.brand-marquee {
  background-color: var(--bs-light, #f8f9fa);
  border-top: 1px solid rgba(0,0,0,0.04);
  border-bottom: 1px solid rgba(0,0,0,0.04);
  padding: .65rem 0;
}

.brand-marquee .marquee-viewport{
  overflow: hidden;
  position: relative;
}

.brand-marquee .marquee-track{
  display: inline-flex;
  align-items: center;
  gap: 3.5rem;
  will-change: transform;
  animation: marquee-left 22s linear infinite;
}

.brand-marquee .marquee-track:hover{
  animation-play-state: paused;
}

.brand-marquee .marquee-group{
  display: inline-flex;
  align-items: center;
  gap: 3.5rem;
  flex: 0 0 auto;
}

.brand-marquee .brand-item{
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-marquee .brand-item a{
  display: inline-flex;
}

.brand-marquee .brand-item img{
  max-height: 48px;
  height: auto;
  width: auto;
  filter: grayscale(1);
  opacity: 0.9;
  display: block;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.brand-marquee .brand-item a:hover img,
.brand-marquee .brand-item a:focus-visible img{
  filter: none;
  opacity: 1;
}

@keyframes marquee-left{
  0%{ transform: translateX(0); }
  100%{ transform: translateX(-50%); }
}

@media (max-width: 768px){
  .brand-marquee .brand-item img{ max-height: 36px; }
  .brand-marquee .marquee-track{ gap: 1.5rem; }
  .brand-marquee .marquee-group{ gap: 1.5rem; }
  .brand-marquee .container > .row > .col h2{ font-size: 1rem; }
}

@media (min-width: 720px) {
  .strong-cta-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .footer-inner {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }

  .cookie-banner-inner {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr);
    align-items: center;
  }

  .cookie-banner-controls {
    align-items: flex-end;
  }
}

@media (min-width: 1200px) {
  .section {
    padding: clamp(5rem, 8vh, 7.5rem) 0;
  }

  .section.section-alt {
    padding-top: clamp(4.5rem, 7vh, 6.5rem);
    padding-bottom: clamp(4.5rem, 7vh, 6.5rem);
  }

  .hero {
    padding-top: clamp(4.5rem, 7vh, 5.5rem);
    padding-bottom: clamp(3.5rem, 6vh, 4.8rem);
  }

  .page-hero {
    padding-top: clamp(4.5rem, 7vh, 5.5rem);
    padding-bottom: clamp(3rem, 5vh, 4.2rem);
  }

  .page-hero h1,
  .hero h1 {
    letter-spacing: 0.01em;
  }
}

@media (max-width: 880px) {
  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.75rem 0;
    gap: 0.6rem;
  }

  .navbar-trineo {
    top: 0.5rem;
    padding-inline: 0.75rem;
  }

  .navbar-brand img {
    height: 46px;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 4rem;
  }

  .page-hero {
    padding-top: 4.3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.home-faq-section {
  background: transparent;
}

.home-faq-section .accordion-item {
  border-radius: 0.75rem;
  overflow: hidden;
  margin-bottom: 0.75rem;
  background: rgba(4, 19, 34, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.home-faq-section .accordion-button {
  background: transparent;
  color: #ffffff;
}

.home-faq-section .accordion-button:not(.collapsed) {
  background: rgba(7, 28, 48, 0.95);
  color: #ffffff;
}

.home-faq-section .accordion-body {
  background: rgba(3, 16, 36, 0.9);
  color: var(--color-text-muted);
}

.form-check-input:checked{
  background-image: var(--bs-form-check-bg-image);
}

.form-check-input:checked:focus,
.form-check-input:checked:active{
  background-image: var(--bs-form-check-bg-image);
}

/* Blog-Übersicht: Karten-Layout in Spalten, keine "extrem breiten Buttons" mehr */
.blog-list-grid .col-12 {
  margin-bottom: 1.5rem;
}

.blog-list-grid .card {
  height: 100%;
}

.blog-list-grid .card:hover {
  transform: translateY(-4px);
  border-color: rgba(69, 220, 255, 0.8);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.9);
}

.blog-list-grid .btn {
  width: auto;
}

/* TRINEO_LIGHT_NAVBAR_GUARD – deaktiviert, damit Navbar wieder dunkel ist */
/*
.navbar.navbar-light{ background-color:#fff !important; color:#212529 !important; }
.navbar.navbar-light .navbar-nav .nav-link{ color:rgba(33,37,41,.82) !important; }
.navbar.navbar-light .navbar-nav .nav-link.active,
.navbar.navbar-light .navbar-nav .show > .nav-link{ color:#0d6efd !important; font-weight:600; }
*/
