/* =====================================================================
   Softwarevision - Modernes Theme-Overlay
   Wird nach style.css geladen und ueberschreibt das alte Template.
   ===================================================================== */

/* ------------------------------ Tokens ------------------------------ */
:root {
  --ink:            #0c1024;
  --ink-soft:       #1c2340;
  --body:           #565f78;
  --body-soft:      #7b849c;
  --line:           #e7e9f2;
  --surface:        #ffffff;
  --surface-muted:  #f6f7fc;
  --surface-sunken: #eef0f9;

  --brand:          #4f46e5;
  --brand-dark:     #3d34c9;
  --brand-light:    #7c6cf5;
  --accent:         #06b6d4;
  --brand-tint:     rgba(79, 70, 229, .08);

  --gradient:       linear-gradient(120deg, #4f46e5 0%, #7c3aed 55%, #06b6d4 100%);

  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 24px;

  --shadow-sm: 0 1px 2px rgba(12, 16, 36, .05), 0 4px 12px rgba(12, 16, 36, .04);
  --shadow:    0 2px 4px rgba(12, 16, 36, .04), 0 12px 32px -8px rgba(12, 16, 36, .10);
  --shadow-lg: 0 4px 8px rgba(12, 16, 36, .05), 0 32px 64px -16px rgba(12, 16, 36, .18);

  --font-head: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ------------------------------- Base ------------------------------- */
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--body);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -.005em;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5 {
  font-family: var(--font-head);
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.2;
}

p { margin-bottom: 1.15rem; }

a { color: var(--brand); }
a:hover { color: var(--brand-dark); }

::selection { background: var(--brand); color: #fff; }
::-moz-selection { background: var(--brand); color: #fff; }

:focus-visible {
  outline: 3px solid rgba(79, 70, 229, .45);
  outline-offset: 3px;
  border-radius: 6px;
}

img { max-width: 100%; }

.bg-light { background: var(--surface-muted) !important; }

.site-section { padding: 4.5rem 0; }
@media (min-width: 768px) { .site-section { padding: 7rem 0; } }

/* ------------------------------ Buttons ----------------------------- */
.btn {
  font-family: var(--font-head);
  font-size: .975rem;
  font-weight: 600;
  letter-spacing: -.01em;
  border-radius: 999px;
  padding: .8rem 1.9rem;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background .25s var(--ease), color .25s var(--ease);
}

.btn.btn-primary {
  background: var(--gradient);
  background-size: 160% 100%;
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(79, 70, 229, .8);
}
.btn.btn-primary:hover,
.btn.btn-primary:focus {
  background: var(--gradient);
  background-position: 100% 0;
  border-color: transparent;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -12px rgba(79, 70, 229, .85);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover {
  color: var(--ink);
  border-color: rgba(79, 70, 229, .45);
  background: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* ------------------------------ Navbar ------------------------------ */
.sticky-wrapper { position: absolute; }

.site-navbar {
  padding: 1.15rem 0 !important;
  background: transparent;
  transition: background .3s var(--ease), box-shadow .3s var(--ease),
              padding .3s var(--ease);
  border-bottom: none;
}
.site-navbar:hover { background: transparent; }

.sticky-wrapper.is-sticky .site-navbar {
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid rgba(12, 16, 36, .07);
  box-shadow: 0 8px 30px -18px rgba(12, 16, 36, .35);
}
.sticky-wrapper.is-sticky .site-navbar.shrink { padding: .7rem 0 !important; }

/* Brand -- Standard: heller Zustand ueber dem dunklen Hero */
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: -.03em;
  color: #fff !important;
  text-decoration: none !important;
}
.nav-brand:hover { color: #fff !important; opacity: .85; }
.sticky-wrapper.is-sticky .nav-brand { color: var(--ink) !important; }
.sticky-wrapper.is-sticky .nav-brand:hover { color: var(--brand) !important; opacity: 1; }
.nav-brand .brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--gradient);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  font-weight: 800;
  letter-spacing: -.04em;
  box-shadow: 0 8px 18px -8px rgba(79, 70, 229, .9);
}
.nav-brand .brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.nav-brand .brand-sub {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
}
.sticky-wrapper.is-sticky .nav-brand .brand-sub { color: var(--body-soft); }

@media (max-width: 575.98px) {
  .nav-brand { font-size: .88rem; gap: .5rem; }
  .nav-brand .brand-mark { width: 34px; height: 34px; border-radius: 10px; font-size: .84rem; }
  .nav-brand .brand-sub { font-size: .6rem; }
}

/* Links -- Standard: hell ueber dem dunklen Hero */
.site-navbar .site-navigation .site-menu { font-family: var(--font-head); }
.site-navbar .site-navigation .site-menu > li > a,
.sticky-wrapper .site-navbar .site-menu > li > a {
  font-size: .945rem;
  font-weight: 600;
  letter-spacing: -.01em;
  color: rgba(255, 255, 255, .78) !important;
  padding: .45rem .95rem;
  border-radius: 999px;
  transition: color .25s var(--ease), background .25s var(--ease);
}
.site-navbar .site-navigation .site-menu a:before { display: none; }

.site-navbar .site-navigation .site-menu > li > a:hover,
.site-navbar .site-navigation .site-menu > li > a.active,
.sticky-wrapper .site-navbar .site-menu > li > a:hover,
.sticky-wrapper .site-navbar .site-menu > li > a.active {
  color: #fff !important;
  background: rgba(255, 255, 255, .12);
}

/* Sticky-Zustand: dunkle Schrift auf hellem Glas */
.sticky-wrapper.is-sticky .site-navbar .site-menu > li > a {
  color: var(--ink-soft) !important;
}
.sticky-wrapper.is-sticky .site-navbar .site-menu > li > a:hover,
.sticky-wrapper.is-sticky .site-navbar .site-menu > li > a.active {
  color: var(--brand) !important;
  background: var(--brand-tint);
}

/* CTA bleibt in beiden Zustaenden gleich */
.site-navbar .site-menu li.nav-cta > a,
.sticky-wrapper .site-navbar .site-menu li.nav-cta > a,
.sticky-wrapper.is-sticky .site-navbar .site-menu li.nav-cta > a {
  background: var(--gradient);
  background-size: 160% 100%;
  color: #fff !important;
  padding: .5rem 1.4rem;
  box-shadow: 0 10px 22px -12px rgba(79, 70, 229, .95);
}
.site-navbar .site-menu li.nav-cta > a:hover,
.sticky-wrapper .site-navbar .site-menu li.nav-cta > a:hover,
.sticky-wrapper.is-sticky .site-navbar .site-menu li.nav-cta > a:hover {
  background: var(--gradient);
  background-position: 100% 0;
  color: #fff !important;
}

.site-menu-toggle,
.sticky-wrapper .site-navbar .site-menu-toggle { color: #fff; }
.sticky-wrapper.is-sticky .site-navbar .site-menu-toggle { color: var(--ink); }

/* --------------------------- Mobile menu ---------------------------- */
.site-mobile-menu { background: var(--surface); box-shadow: var(--shadow-lg); }
.site-mobile-menu .site-nav-wrap a {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--ink) !important;
  padding: .7rem 20px;
}
.site-mobile-menu .site-nav-wrap a:hover { color: var(--brand) !important; }

/* ------------------------------- Hero ------------------------------- */
.background-title-image,
.background-title-image-container { display: none; }

.site-blocks-cover.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  min-height: 100vh;
  height: auto;
  display: flex;
  align-items: center;
  padding: 9rem 0 5rem;
  isolation: isolate;
}
.site-blocks-cover.hero,
.site-blocks-cover.hero > .container > .row { min-height: 0; height: auto; }
.site-blocks-cover.hero.overlay:before { display: none; }

.hero-grid {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 75%);
  pointer-events: none;
}

.hero-code {
  width: 100%;
  background: rgba(20, 26, 54, .78);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 80px -24px rgba(0, 0, 0, .6);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  overflow: hidden;
}
.hero-code-bar {
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: .85rem 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.hero-code-bar span {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
}
.hero-code-bar em {
  margin-left: .6rem;
  font-style: normal;
  font-family: var(--font-body);
  font-size: .78rem;
  color: rgba(255, 255, 255, .5);
}
.hero-code pre {
  margin: 0;
  padding: 1.3rem 1.4rem;
  font-family: "Cascadia Code", Consolas, "SFMono-Regular", Menlo, monospace;
  font-size: .86rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, .82);
  white-space: pre;
  overflow: hidden;
}
.hero-code .k { color: #a5b4fc; }
.hero-code .f { color: #67e8f9; }
.hero-code .s { color: #fcd34d; }
.hero-code .c { color: rgba(255, 255, 255, .42); font-style: italic; }
.hero-glow {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .5;
  pointer-events: none;
}
.hero-glow--a {
  width: 46vw; height: 46vw;
  top: -12vw; right: -8vw;
  background: radial-gradient(circle, rgba(124,108,245,.75), transparent 68%);
}
.hero-glow--b {
  width: 38vw; height: 38vw;
  bottom: -14vw; left: -10vw;
  background: radial-gradient(circle, rgba(6,182,212,.55), transparent 68%);
}

.hero .text-intro { z-index: 3; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .88);
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding: .42rem 1rem .42rem .7rem;
  border-radius: 999px;
  margin-bottom: 1.75rem;
}
.hero-badge .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, .18);
}

.site-blocks-cover.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 6.6vw, 4.6rem);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -.045em;
  color: #fff !important;
  margin-bottom: 1.1rem;
}
.hero-gradient-text {
  background: linear-gradient(100deg, #a5b4fc 0%, #c4b5fd 45%, #67e8f9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.site-blocks-cover.hero h1 .hero-gradient-text {
  display: inline-block;
  margin-top: .35rem;
  font-size: .52em;
  line-height: 1.15;
  letter-spacing: -.03em;
}

.site-blocks-cover.hero .lead {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, .74);
  max-width: 34rem;
  margin-bottom: 2.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-bottom: 2.75rem;
}
.hero-actions .btn-ghost {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .22);
  color: #fff;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: none;
}
.hero-actions .btn-ghost:hover {
  background: rgba(255, 255, 255, .16);
  border-color: rgba(255, 255, 255, .4);
  color: #fff;
}

.hero-stack {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem;
}
.hero-stack .stack-label {
  font-family: var(--font-head);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
  margin-right: .4rem;
}
.hero-stack span.pill {
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .88);
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  padding: .32rem .85rem;
  border-radius: 999px;
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  z-index: 3;
  color: rgba(255, 255, 255, .5) !important;
  font-size: .72rem;
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .45rem;
}
.hero-scroll:hover { color: #fff !important; }
.hero-scroll .mouse {
  width: 24px; height: 38px;
  border: 2px solid currentColor;
  border-radius: 999px;
  position: relative;
}
.hero-scroll .mouse:after {
  content: "";
  position: absolute;
  top: 7px; left: 50%;
  width: 3px; height: 7px;
  border-radius: 2px;
  background: currentColor;
  transform: translateX(-50%);
  animation: heroScroll 1.8s var(--ease) infinite;
}
@keyframes heroScroll {
  0%   { opacity: 0; transform: translate(-50%, -4px); }
  40%  { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, 12px); }
}
@media (max-width: 767.98px) { .hero-scroll { display: none; } }

/* ------------------------- Section headings ------------------------- */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-head);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-tint);
  padding: .38rem .9rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}

.section-title {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -.035em;
  padding-bottom: 0;
  margin-bottom: 1rem;
}
.section-title:after,
.section-title.text-center:after { display: none; }

.section-lead {
  font-size: 1.075rem;
  color: var(--body);
  max-width: 42rem;
  margin-bottom: 0;
}
.text-center .section-lead { margin-left: auto; margin-right: auto; }

/* ------------------------------- About ------------------------------ */
#about-section { background: var(--surface); }

.about-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.about-card:hover {
  transform: translateY(-3px);
  border-color: rgba(79, 70, 229, .28);
  box-shadow: var(--shadow);
}
.about-card h3 {
  font-size: 1.12rem;
  margin-bottom: .8rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.about-card h3 .num {
  width: 30px; height: 30px;
  flex: 0 0 30px;
  border-radius: 9px;
  background: var(--brand-tint);
  color: var(--brand);
  font-size: .82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.about-card p:last-child { margin-bottom: 0; }

.about-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}
.about-fact {
  background: var(--surface-muted);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.4rem;
}
.about-fact .fact-value {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.05rem, 1.35vw, 1.3rem);
  font-weight: 700;
  letter-spacing: -.03em;
  color: var(--ink);
  line-height: 1.25;
  overflow-wrap: break-word;
  hyphens: auto;
}
.about-fact .fact-label {
  font-size: .85rem;
  color: var(--body-soft);
  display: block;
  margin-top: .2rem;
}

.about-text {
  color: var(--body);
  line-height: 1.75;
}
.about-subtitle {
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--body-soft);
  margin-bottom: 1rem;
}
.project-card { padding: 1.5rem 1.7rem; }
.project-card + .project-card { margin-top: 1rem; }
.project-card .project-client {
  display: block;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 600;
  color: var(--brand);
  margin-bottom: .35rem;
}
.project-card h4 {
  font-family: var(--font-head);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: .5rem;
}
.project-card p { font-size: .95rem; line-height: 1.65; }
.project-card .service-tags { margin-top: .9rem; }

/* ----------------------------- Services ----------------------------- */
#services-section { background: var(--surface-muted); position: relative; }

.service {
  padding: 2.2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  top: 0;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.service:before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease);
}
.service:hover {
  top: 0;
  transform: translateY(-6px);
  border-color: rgba(79, 70, 229, .22);
  box-shadow: var(--shadow-lg);
}
.service:hover:before { transform: scaleX(1); }

.service .service-number {
  flex: 0 0 68px;
  margin-right: 1.4rem !important;
}
.service-icon {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  background: var(--surface-muted);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.service:hover .service-icon {
  background: var(--brand-tint);
  border-color: rgba(79, 70, 229, .25);
  transform: translateY(-2px) rotate(-3deg);
}
.service .service-container { max-width: 36px; max-height: 36px; }

.service .service-about h3 {
  font-size: 1.22rem;
  margin-bottom: .6rem;
}
.service .service-about p { font-size: .985rem; margin-bottom: 0; }

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: 1.1rem;
}
.service-tags span {
  font-family: var(--font-head);
  font-size: .74rem;
  font-weight: 600;
  color: var(--body);
  background: var(--surface-muted);
  border: 1px solid var(--line);
  padding: .22rem .7rem;
  border-radius: 999px;
}

/* ------------------------------ Kunden ------------------------------ */
#kunden-section { background: var(--surface); }

.client-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.25rem;
}
.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  padding: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.client-logo img {
  max-height: 66px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: .62;
  transition: filter .35s var(--ease), opacity .35s var(--ease);
}
.client-logo:hover {
  transform: translateY(-4px);
  border-color: rgba(79, 70, 229, .22);
  box-shadow: var(--shadow);
}
.client-logo:hover img { filter: grayscale(0); opacity: 1; }
.client-logo--wordmark {
  flex-direction: column;
  gap: .45rem;
  padding: 1.25rem 1rem;
  text-decoration: none !important;
}
.client-logo--wordmark img { max-height: 50px; }
.client-logo--wordmark span {
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .01em;
  color: #6b6b6b;
  opacity: .9;
  white-space: nowrap;
  transition: color .35s var(--ease);
}
.client-logo--wordmark:hover span { color: #143642; }

/* ------------------------------- Blog ------------------------------- */
#blog-section { background: var(--surface-muted); }

.blog_entry {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.blog_entry:hover {
  transform: translateY(-5px);
  border-color: rgba(79, 70, 229, .22);
  box-shadow: var(--shadow-lg);
}
.blog_entry .blog-thumb { overflow: hidden; display: block; }
.blog_entry img {
  border-radius: 0;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  transition: transform .6s var(--ease);
}
.blog_entry:hover img { transform: scale(1.05); }
.blog_entry > div {
  border: none;
  padding: 1.75rem !important;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog_entry h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.blog_entry h3 a { color: var(--ink); }
.blog_entry h3 a:hover { color: var(--brand); }
.blog_entry .date {
  order: -1;
  font-family: var(--font-head);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: .7rem;
}
.blog_entry p { font-size: .97rem; }
.blog_entry .more { margin-top: auto; margin-bottom: 0; }
.blog_entry .more a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .93rem;
  color: var(--brand);
  padding-bottom: 0;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.blog_entry .more a:before { display: none; }
.blog_entry .more a:after {
  content: "\2192";
  transition: transform .3s var(--ease);
}
.blog_entry .more a:hover { color: var(--brand-dark); }
.blog_entry .more a:hover:after { transform: translateX(4px); }

/* ------------------------------ Kontakt ----------------------------- */
#contact-section {
  position: relative;
  background: var(--ink);
  overflow: hidden;
  isolation: isolate;
}
#contact-section:before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 55vw; height: 55vw;
  top: -22vw; right: -14vw;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .38;
  background: radial-gradient(circle, rgba(124,108,245,.9), transparent 68%);
}
#contact-section .section-title { color: #fff; }
#contact-section .section-lead { color: rgba(255, 255, 255, .7); }
#contact-section .section-eyebrow {
  color: #a5b4fc;
  background: rgba(255, 255, 255, .08);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.25rem;
  max-width: 820px;
  margin: 0 auto;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.5rem 1.65rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  text-decoration: none !important;
  transition: transform .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
}
.contact-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, .09);
  border-color: rgba(165, 180, 252, .5);
}
.contact-icon {
  flex: 0 0 46px;
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--gradient);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 10px 22px -12px rgba(79, 70, 229, 1);
}
.contact-icon svg { width: 21px; height: 21px; }
.contact-text { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.contact-label {
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
}
.contact-value {
  font-family: var(--font-head);
  font-size: .98rem;
  font-weight: 600;
  letter-spacing: 0;
  word-spacing: .12em;
  color: #fff;
  overflow-wrap: anywhere;
}

/* ------------------------------ Footer ------------------------------ */
.footer.site-section {
  background: #080b18 !important;
  color: rgba(255, 255, 255, .6);
  font-size: .93rem;
  padding: 4.5rem 0 2.25rem;
}
.footer .footer-title {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
  margin-bottom: 1.4rem;
}
.footer .footer-brand {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -.03em;
  color: #fff;
  text-transform: none;
  margin-bottom: .9rem;
}
.footer p { margin-bottom: .45rem; color: rgba(255, 255, 255, .6); }
.footer a { color: rgba(255, 255, 255, .68); }
.footer a:hover { color: #fff; }
.footer ul li { margin-bottom: .6rem; }

.social-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  margin-right: .6rem;
  border-radius: 13px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .78) !important;
  font-size: 1.02rem;
  transition: transform .28s var(--ease), background .28s var(--ease), border-color .28s var(--ease);
}
.social-circle:hover {
  transform: translateY(-3px);
  background: var(--gradient);
  border-color: transparent;
  color: #fff !important;
}

.footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .09);
  padding-top: 1.6rem;
  margin-top: 1.5rem;
}
.footer .copyright { color: rgba(255, 255, 255, .42); margin-bottom: 0; }
.footer .to-top {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .87rem;
}

/* --------------------------- Impressum page ------------------------- */
.page-hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  padding: 10rem 0 4.5rem;
  overflow: hidden;
  isolation: isolate;
}
.page-hero:before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 50vw; height: 50vw;
  top: -20vw; right: -12vw;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .45;
  background: radial-gradient(circle, rgba(124,108,245,.9), transparent 68%);
}
.page-hero:after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 34vw; height: 34vw;
  bottom: -20vw; left: -10vw;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .32;
  background: radial-gradient(circle, rgba(6,182,212,.8), transparent 68%);
}
.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -.04em;
  color: #fff;
  margin-bottom: .8rem;
}
.page-hero p { color: rgba(255, 255, 255, .68); max-width: 40rem; margin-bottom: 0; }
.page-hero .section-eyebrow {
  color: #a5b4fc;
  background: rgba(255, 255, 255, .08);
}

.breadcrumb-nav {
  font-family: var(--font-head);
  font-size: .84rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .45);
  margin-bottom: 1.5rem;
}
.breadcrumb-nav a { color: rgba(255, 255, 255, .7); text-decoration: none !important; }
.breadcrumb-nav a:hover { color: #fff; }
.breadcrumb-nav .sep { margin: 0 .5rem; opacity: .5; }

.legal-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 2.25rem;
}
@media (min-width: 768px) { .legal-card { padding: 3rem; } }

.legal-note {
  font-size: .93rem;
  color: var(--body-soft);
  background: var(--surface-muted);
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1rem 1.25rem;
  margin-bottom: 2.25rem;
}

.legal-block + .legal-block { margin-top: 2.25rem; }
.legal-block h2 {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 1rem;
}
.legal-block p:last-child { margin-bottom: 0; }

.legal-list { list-style: none; padding: 0; margin: 0; }
.legal-list li {
  display: grid;
  grid-template-columns: minmax(150px, 210px) 1fr;
  gap: 1rem;
  padding: .8rem 0;
  border-bottom: 1px solid var(--line);
}
.legal-list li:last-child { border-bottom: none; }
.legal-list .key {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--ink);
  font-size: .95rem;
}
.legal-list .val { color: var(--body); font-size: .97rem; word-break: break-word; }
@media (max-width: 575.98px) {
  .legal-list li { grid-template-columns: 1fr; gap: .15rem; }
}

.legal-address {
  font-style: normal;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.65;
  margin-bottom: 0;
}

.legal-aside {
  position: sticky;
  top: 6.5rem;
  background: var(--surface-muted);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.9rem;
}
.legal-aside h3 { font-size: 1.05rem; margin-bottom: .7rem; }
.legal-aside p { font-size: .94rem; }

/* ---------------------------- Projektseite -------------------------- */
.case-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}
.case-fact {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
}
.case-fact-value {
  display: block;
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -.03em;
  color: #fff;
  line-height: 1.25;
}
.case-fact-label { display: block; font-size: .85rem; color: rgba(255, 255, 255, .55); margin-top: .2rem; }

.case-section-muted { background: var(--surface-muted); }

/* Datenfluss: horizontal ab lg, darunter vertikal */
.flow {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.2rem;
}
@media (min-width: 992px) {
  .flow { grid-template-columns: repeat(6, 1fr); gap: 1.6rem; }
}
.flow-node {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.4rem 1.3rem;
}
.flow-node--accent {
  border-color: rgba(79, 70, 229, .45);
  box-shadow: 0 12px 30px -14px rgba(79, 70, 229, .55);
}
.flow-node h3 { font-size: 1rem; margin-bottom: .45rem; }
.flow-node p { font-size: .9rem; line-height: 1.6; margin-bottom: 0; }
.flow-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border-radius: 9px;
  background: var(--brand-tint);
  color: var(--brand);
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 700;
  margin-bottom: .8rem;
}
.flow-node--accent .flow-step { background: var(--gradient); color: #fff; }
.flow-node:not(:last-child):after {
  content: "\2193";
  position: absolute;
  left: 50%;
  bottom: -1.85rem;
  transform: translateX(-50%);
  color: var(--brand-light);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1;
}
@media (min-width: 992px) {
  .flow-node:not(:last-child):after {
    content: "\2192";
    left: auto;
    right: -1.35rem;
    bottom: auto;
    top: 50%;
    transform: translateY(-50%);
  }
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}
.case-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.case-card:hover {
  transform: translateY(-3px);
  border-color: rgba(79, 70, 229, .28);
  box-shadow: var(--shadow);
}
.case-card h3 { font-size: 1.08rem; margin-bottom: .6rem; }
.case-card p { font-size: .95rem; line-height: 1.65; margin-bottom: 0; }

.project-card .project-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: 1rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .9rem;
}
.project-card .project-link:after { content: "\2192"; transition: transform .3s var(--ease); }
.project-card .project-link:hover:after { transform: translateX(4px); }
/* ganze Karte klickbar */
.project-card { position: relative; }
.project-card .project-link:before {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 1;
}
.project-card--featured { border-color: rgba(79, 70, 229, .35); box-shadow: var(--shadow); }
.project-badge {
  position: absolute;
  top: 1.2rem; right: 1.4rem;
  font-family: var(--font-head);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-tint);
  padding: .25rem .65rem;
  border-radius: 999px;
}

/* ------------------------------ Utility ----------------------------- */
.text-black { color: var(--ink) !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
