/* ============================================================
   SEONAR — styles.css
   Structure: Reset → Variables → Base → Layout → Navbar →
              Footer → Buttons → Forms → Home → Interior Pages → Responsive
   ============================================================ */


/* ========================
   1. RESET
   ======================== */

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

body {
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
}

input, textarea, select {
  font-family: inherit;
}


/* ========================
   2. VARIABLES
   ======================== */

:root {
  /* Colors — dark mode (default) */
  --color-bg:           #1e1e20;
  --color-surface:      #272729;
  --color-surface-2:    #313133;
  --color-text:         #f0f0f0;
  --color-text-muted:   #888888;
  --color-accent:       #009933;
  --color-accent-dark:  #007a28;
  --color-border:       #3a3a3c;

  /* Spacing */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  4rem;
  --space-xl:  8rem;

  /* Layout */
  --max-width:  1200px;
  --radius:     8px;
  --radius-lg:  16px;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-md:   1.25rem;
  --text-lg:   1.75rem;
  --text-xl:   2.5rem;
  --text-2xl:  3.5rem;
  --text-3xl:  4.5rem;
}


/* ========================
   2b. DARK MODE OVERRIDES
   ======================== */

[data-theme="light"] {
  --color-bg:           #fafafa;
  --color-surface:      #ffffff;
  --color-surface-2:    #f4f4f5;
  --color-text:         #18181b;
  --color-text-muted:   #71717a;
  --color-accent:       #15803d;
  --color-accent-dark:  #166534;
  --color-border:       #e4e4e7;
}

/* Grid rails — full grid pattern in margin strips on both sides */
body::before,
body::after {
  content: '';
  position: fixed;
  top: 0;
  bottom: 0;
  width: max(0px, calc(50vw - 850px));
  background-image:
    linear-gradient(rgba(0, 153, 51, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 153, 51, 0.22) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
  z-index: 0;
}

body::before { left: 0; }
body::after  { right: 0; }

[data-theme="light"] body::before,
[data-theme="light"] body::after {
  background-image:
    linear-gradient(rgba(0, 153, 51, 0.18) 2px, transparent 2px),
    linear-gradient(90deg, rgba(0, 153, 51, 0.18) 2px, transparent 2px);
}



/* ========================
   3. BASE
   ======================== */

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-text);
  font-size: var(--text-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


/* ========================
   4. LAYOUT UTILITIES
   ======================== */

.container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-lg);
}

@media (min-width: 1280px) {
  .container {
    padding-inline: var(--space-md);
  }
}

.section {
  padding-block: var(--space-xl);
}

main > .section + .section {
  border-top: 1px solid var(--color-border);
}

main > .section + .section[style*="background"],
main > .section[style*="background"] + .section,
main > .section + .section.section--surface,
main > .section.section--surface + .section {
  border-top: none;
}

.section__label {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.section__title {
  font-size: clamp(var(--text-lg), 4vw, var(--text-xl));
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-sm);
}

.section__sub {
  color: var(--color-text-muted);
  max-width: 60ch;
  margin-bottom: var(--space-lg);
  line-height: 1.7;
  font-size: var(--text-base);
}


/* ========================
   5. NAVBAR
   ======================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  padding-block: var(--space-sm);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--color-text);
  flex-shrink: 0;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav__links a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  transition: color 0.2s;
}

.nav__links a:hover {
  color: var(--color-text);
}

.nav__cta {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 600;
  padding: 0.55rem 1.2rem;
  border: 1.5px solid var(--color-accent);
  color: var(--color-accent);
  border-radius: var(--radius);
  transition: background-color 0.2s, color 0.2s;
  flex-shrink: 0;
}

.nav__cta:hover {
  background-color: var(--color-accent);
  color: #fff;
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--color-text);
  border-radius: 1px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s;
  transform-origin: center;
}

.nav__hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav__hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Theme toggle */
.theme-toggle {
  position: relative;
  display: flex;
  align-items: center;
  width: 64px;
  height: 32px;
  padding: 4px;
  border-radius: 9999px;
  cursor: pointer;
  background: #000000;
  border: 1px solid var(--color-border);
  transition: background 0.3s, border-color 0.3s;
  flex-shrink: 0;
}

[data-theme="light"] .theme-toggle {
  background: #ffffff;
}

.theme-toggle__knob {
  position: absolute;
  left: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #27272a;
  color: #ffffff;
  transition: transform 0.3s ease, background 0.3s, color 0.3s;
  transform: translateX(0);
}

[data-theme="light"] .theme-toggle__knob {
  background: #e4e4e7;
  color: #3f3f46;
  transform: translateX(32px);
}

.theme-toggle__passive {
  position: absolute;
  right: 8px;
  left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: #6b7280;
  transition: left 0.3s, right 0.3s;
}

[data-theme="light"] .theme-toggle__passive {
  right: auto;
  left: 8px;
  color: #9ca3af;
}

/* Icon visibility — dark mode defaults */
.theme-toggle__knob .theme-toggle__moon   { display: block; }
.theme-toggle__knob .theme-toggle__sun    { display: none; }
.theme-toggle__passive .theme-toggle__sun  { display: block; }
.theme-toggle__passive .theme-toggle__moon { display: none; }

/* Icon visibility — light mode */
[data-theme="light"] .theme-toggle__knob .theme-toggle__moon   { display: none; }
[data-theme="light"] .theme-toggle__knob .theme-toggle__sun    { display: block; }
[data-theme="light"] .theme-toggle__passive .theme-toggle__sun  { display: none; }
[data-theme="light"] .theme-toggle__passive .theme-toggle__moon { display: block; }


/* ========================
   6. FOOTER
   ======================== */

.footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--color-border);
}



.footer__top {
  position: relative;
  z-index: 2;
  padding-block: var(--space-xl) var(--space-lg);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.6fr;
  gap: var(--space-lg) var(--space-md);
  align-items: start;
}

.footer__brand-logo {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 1.05rem;
  margin-bottom: var(--space-sm);
  color: var(--color-text);
}

.footer__tagline {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 240px;
  margin-bottom: var(--space-xs);
}

.footer__copy {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.footer__col-title {
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

.footer__col-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__col-links a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  transition: color 0.2s;
}

.footer__col-links a:hover {
  color: var(--color-text);
}

.footer__col-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-sm);
}

.footer__newsletter-form {
  display: flex;
  margin-bottom: var(--space-sm);
}

.footer__newsletter-input {
  flex: 1;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-right: none;
  border-radius: var(--radius) 0 0 var(--radius);
  color: var(--color-text);
  font-size: var(--text-sm);
  padding: 0.6rem 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}

.footer__newsletter-input::placeholder {
  color: var(--color-text-muted);
}

.footer__newsletter-input:focus {
  border-color: var(--color-accent);
}

.footer__newsletter-btn {
  background: var(--color-accent);
  border: none;
  border-radius: 0 var(--radius) var(--radius) 0;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  padding: 0.6rem 1rem;
  transition: background 0.2s;
}

.footer__newsletter-btn:hover {
  background: var(--color-accent-dark);
}

.footer__col-contact {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 2;
}

.footer__col-contact a {
  transition: color 0.2s;
}

.footer__col-contact a:hover {
  color: var(--color-text);
}

.footer__floor {
  position: absolute;
  bottom: -5%;
  left: -20%;
  width: 140%;
  height: 40%;
  background:
    linear-gradient(90deg, rgba(0,153,51,0.28) 1px, transparent 1px),
    linear-gradient(rgba(0,153,51,0.20) 1px, transparent 1px);
  background-size: 60px 30px;
  transform: perspective(350px) rotateX(60deg);
  transform-origin: bottom center;
  animation: grid-move 6s linear infinite, floor-glow 5s ease-in-out infinite;
  mask-image: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.footer__wordmark {
  display: none;
}

.footer__wordmark-svg {
  width: 100%;
  display: block;
}

.footer__bar {
  position: relative;
  z-index: 2;
  padding-block: var(--space-md);
}

.footer__bar-inner {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__socials {
  display: flex;
  gap: var(--space-sm);
  align-items: center;
}

.footer__social-link {
  display: flex;
  color: var(--color-text-muted);
  transition: color 0.2s ease;
}

.footer__social-link:hover {
  color: var(--color-text);
}

.footer__wm-base {
  fill: none;
  stroke: rgba(0, 153, 51, 0.12);
  stroke-width: 1.5;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.footer__wm-draw,
.footer__wm-color {
  fill: none;
  stroke-width: 1.5;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.footer__wm-draw {
  stroke: rgba(0, 153, 51, 0.55);
  stroke-dasharray: 150 850;
  animation: wm-travel 8s linear infinite;
}

.footer__wm-color {
  stroke: rgba(0, 153, 51, 0.3);
  stroke-dasharray: 80 920;
  mask: none;
  -webkit-mask: none;
  animation: wm-travel 13s linear infinite reverse;
}

.wm-outer-masked {
  mask: url(#wmOuterMask) !important;
  -webkit-mask: url(#wmOuterMask) !important;
}

@keyframes wm-travel {
  to { stroke-dashoffset: -1000; }
}



/* ========================
   7. BUTTONS
   ======================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--text-base);
  font-weight: 600;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  border: none;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.btn--primary {
  background-color: var(--color-accent-dark);
  color: #fff;
  box-shadow: 0 0 18px rgba(0, 153, 51, 0.25), 0 0 40px rgba(0, 153, 51, 0.08);
}

.btn--primary:hover {
  background-color: var(--color-accent-dark);
  box-shadow: 0 0 24px rgba(0, 153, 51, 0.4), 0 0 60px rgba(0, 153, 51, 0.14);
}

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

.btn--outline:hover {
  border-color: var(--color-text-muted);
}


/* ========================
   8. FORMS
   ======================== */

.form {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form__label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: 500;
}

.form__input,
.form__textarea {
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  transition: border-color 0.2s;
  width: 100%;
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: var(--color-text-muted);
  opacity: 0.6;
}

.form__input:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.form__textarea {
  min-height: 140px;
  resize: vertical;
}

.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(1rem);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  font-size: var(--text-sm);
  color: var(--color-text);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 9999;
  max-width: 90vw;
  text-align: center;
}

.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.toast--success { border-color: var(--color-accent); }
.toast--error   { border-color: #c0392b; color: #c0392b; }


/* ========================
   HOME — HERO
   ======================== */

.hero {
  min-height: min(88vh, 900px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Aurora scene background */
@keyframes beam-rise {
  0%   { transform: translateY(100%); opacity: 0; }
  10%  { opacity: 0.8; }
  100% { transform: translateY(-10%); opacity: 0; }
}

@keyframes beam-fade {
  0%, 100% { opacity: 0; }
  5%, 80%  { opacity: 0.55; }
}

@keyframes floor-glow {
  0%, 100% { transform: scaleX(0.9); opacity: 0.65; }
  50%      { transform: scaleX(1.1); opacity: 1; }
}

@keyframes hero-floor-drift {
  from { background-position: 0 0; }
  to   { background-position: -60px -30px; }
}

@keyframes column-glow {
  0%   { opacity: 0.75; filter: blur(25px); }
  100% { opacity: 1; filter: blur(14px); }
}

@keyframes reflection-pulse {
  0%, 100% { opacity: 0.5; }
  50%      { opacity: 1; }
}

@keyframes edge-shimmer {
  0%, 100% { opacity: 0.4; }
  50%      { opacity: 0.75; }
}

@keyframes grid-move {
  from { background-position: 0 0; }
  to   { background-position: -80px -40px; }
}

.hero__scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero__floor {
  position: absolute;
  bottom: -10%;
  left: -15%;
  width: 130%;
  height: 50%;
  background:
    linear-gradient(90deg, rgba(0,153,51,0.28) 1px, transparent 1px),
    linear-gradient(rgba(0,153,51,0.20) 1px, transparent 1px);
  background-size: 60px 30px;
  transform: perspective(350px) rotateX(60deg);
  transform-origin: bottom center;
  animation: hero-floor-drift 14s linear infinite;
  mask-image:
    radial-gradient(ellipse 70% 100% at 67% 100%, rgba(0,0,0,0.7) 0%, transparent 70%);
}

.hero__glow-column {
  position: absolute;
  bottom: 0;
  left: var(--glow-x, 67%);
  transform: translateX(-50%);
  width: 450px;
  height: 60%;
  background: radial-gradient(
    ellipse at 50% 100%,
    rgba(0,255,127,0.45) 0%,
    rgba(0,153,51,0.2) 35%,
    transparent 60%
  );
}

.hero__beams {
  position: absolute;
  inset: 0;
}

.hero__beam {
  position: absolute;
  bottom: 0;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(0,255,127,0.4),
    rgba(0,153,51,0.2) 30%,
    rgba(0,153,51,0.06) 60%,
    transparent
  );
  border-radius: 1px;
  box-shadow: 0 0 3px rgba(0,255,127,0.15);
  animation:
    beam-rise var(--rise-dur) ease-out infinite,
    beam-fade var(--fade-dur) ease-in-out infinite;
  opacity: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}



.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-md);
  align-items: center;
}

.hero__content {
  min-width: 0;
  margin-left: clamp(-2rem, -2vw, 0rem);
}

.hero__eyebrow {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
  white-space: nowrap;
}

.hero__headline {
  font-size: clamp(1.6rem, 3vw, var(--text-xl));
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-sm);
}

.hero__keyword {
  display: block;
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.04em;
  opacity: 0;
  transform: translateY(24px) scale(0.96);
  filter: blur(4px);
}

.hero__keyword.is-visible {
  animation: keyword-pop 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes keyword-pop {
  0% {
    opacity: 0;
    transform: translateY(24px) scale(0.96);
    filter: blur(4px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

.hero__sub {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: var(--space-md);
}

.hero__sub--mobile { display: none; }

@media (max-width: 768px) {
  .hero__sub--desktop { display: none; }
  .hero__sub--mobile  { display: block; }
}

.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.hero__phone {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  transition: color 0.2s, text-shadow 0.2s;
  text-shadow: 0 0 14px rgba(0, 153, 51, 0.2);
  white-space: nowrap;
}

.hero__phone:hover {
  color: var(--color-text);
  text-shadow: 0 0 18px rgba(0, 153, 51, 0.35);
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
  flex-shrink: 0;
  font-size: var(--text-base);
  color: var(--color-text-muted);
}

.trust-text {
  animation: trust-text-in 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.trust-check {
  animation: trust-check-in 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.trust-item:nth-child(1) .trust-text  { animation-delay: 1.5s; }
.trust-item:nth-child(1) .trust-check { animation-delay: 1.7s; }
.trust-item:nth-child(2) .trust-text  { animation-delay: 1.8s; }
.trust-item:nth-child(2) .trust-check { animation-delay: 2s; }
.trust-item:nth-child(3) .trust-text  { animation-delay: 2.1s; }
.trust-item:nth-child(3) .trust-check { animation-delay: 2.3s; }

@keyframes trust-text-in {
  0%   { opacity: 0; transform: translateX(-14px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes trust-check-in {
  0%   { opacity: 0; transform: scale(0) rotate(-30deg); color: var(--color-accent); }
  50%  { opacity: 1; transform: scale(1.3) rotate(8deg);  color: var(--color-accent); }
  70%  { transform: scale(1) rotate(0deg);                color: var(--color-accent); }
  100% { opacity: 1; transform: scale(1);                 color: var(--color-text-muted); }
}

/* Scarcity indicator */
.scarcity {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.1rem 0.5rem 0.85rem;
  background: rgba(0, 153, 51, 0.1);
  border: 1px solid rgba(0, 153, 51, 0.3);
  border-radius: 100px;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

[data-theme="light"] .scarcity {
  background: rgba(0, 153, 51, 0.05);
  border-color: rgba(0, 153, 51, 0.15);
}

.scarcity--centered {
  display: flex;
  justify-content: center;
  margin: var(--space-md) auto var(--space-sm);
}

.scarcity__dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
}

.scarcity__dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid var(--color-accent);
  opacity: 0;
  animation: scarcity-ring 2.5s ease-out infinite;
}

.scarcity__text strong {
  color: var(--color-text);
  font-weight: 600;
}

@keyframes scarcity-ring {
  0%   { opacity: 0.6; transform: scale(1); }
  100% { opacity: 0; transform: scale(2.2); }
}

@keyframes scarcity-in {
  0%   { opacity: 0; transform: translateY(6px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Browser mockup */
.hero__visual {
  position: relative;
  padding-left: clamp(2rem, 10vw, 13rem);
}

.hero__visual::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: clamp(2rem, 10vw, 13rem);
  right: clamp(-6rem, -4vw, 0rem);
  height: 2px;
  background: radial-gradient(
    ellipse 40% 100% at 50% 100%,
    rgba(200,255,220,0.9) 0%,
    rgba(255,255,255,0.5) 30%,
    rgba(200,220,210,0.2) 60%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 3;
  box-shadow:
    0 0 6px rgba(200,255,220,0.3),
    0 0 20px rgba(200,255,220,0.12);
  animation: edge-shimmer 3s ease-in-out infinite;
  transition: box-shadow 0.5s ease, height 0.5s ease;
}

.hero__visual:hover .hero__visual::before,
.mockup-browser:hover ~ .hero__visual::before {
  height: 3px;
  box-shadow:
    0 0 10px rgba(200,255,220,0.5),
    0 0 30px rgba(200,255,220,0.2);
}

.mockup-browser {
  position: relative;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1.5px solid transparent;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  background-image:
    linear-gradient(var(--color-surface), var(--color-surface)),
    conic-gradient(
      from var(--gradient-angle, 0deg),
      rgba(255,255,255,0.03) 0%,
      rgba(200,220,210,0.25) 12%,
      rgba(255,255,255,0.4) 25%,
      rgba(0,153,51,0.15) 33%,
      rgba(255,255,255,0.03) 50%,
      rgba(200,220,210,0.25) 62%,
      rgba(255,255,255,0.4) 75%,
      rgba(0,153,51,0.15) 83%,
      rgba(255,255,255,0.03) 100%
    );
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow:
    0 24px 64px rgba(0,0,0,0.15),
    0 4px 16px rgba(0,0,0,0.08),
    0 1px 0 rgba(255,255,255,0.06),
    inset 0 1px 0 rgba(255,255,255,0.05),
    inset 0 -40px 60px -30px rgba(0,153,51,0.06);
  overflow: hidden;
  width: calc(100% + clamp(0rem, 4vw, 6rem));
  /* rotation driven by JS for seamless speed transitions */
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1),
              box-shadow 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.mockup-browser:hover {
  box-shadow:
    0 32px 80px rgba(0,0,0,0.2),
    0 8px 24px rgba(0,0,0,0.1),
    0 2px 0 rgba(255,255,255,0.08),
    0 0 40px rgba(0,153,51,0.08),
    inset 0 1px 0 rgba(255,255,255,0.06),
    inset 0 -40px 60px -30px rgba(0,153,51,0.1);
}

.hero .mockup-browser {
  transition: box-shadow 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}


.mockup-browser::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to top,
      rgba(0,255,127,0.22) 0%,
      rgba(200,255,220,0.14) 2%,
      rgba(200,220,210,0.08) 5%,
      rgba(255,255,255,0.04) 12%,
      rgba(0,153,51,0.01) 22%,
      transparent 35%
    );
  pointer-events: none;
  z-index: 10;
}

@property --gradient-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@keyframes gradient-rotate {
  to { --gradient-angle: 360deg; }
}

.mockup-browser__bar {
  background: var(--color-bg);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--color-border);
}

.mockup-browser__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-border);
  flex-shrink: 0;
}

.mockup-browser__url {
  margin-left: 8px;
  font-size: 11px;
  color: var(--color-text-muted);
  background: var(--color-surface);
  border-radius: 20px;
  padding: 2px 12px;
  border: 1px solid var(--color-border);
}

.mockup-browser__screen {
  padding: 24px;
}

.mockup-screen__nav {
  height: 32px;
  background: var(--color-bg);
  border-radius: 4px;
  margin-bottom: 20px;
}

.mockup-screen__hero-area {
  background: var(--color-surface-2);
  border-radius: var(--radius);
  padding: 36px 28px;
  margin-bottom: 20px;
}

.mockup-screen__line {
  height: 11px;
  border-radius: 3px;
  background: var(--color-text);
  opacity: 0.15;
  margin-bottom: 9px;
}

.mockup-screen__line--title {
  width: 65%;
  height: 18px;
  opacity: 0.25;
}

.mockup-screen__line--sub {
  width: 90%;
  opacity: 0.1;
}

.mockup-screen__line--short {
  width: 60%;
}

.mockup-screen__cta {
  height: 30px;
  width: 120px;
  background: var(--color-accent);
  border-radius: 5px;
  margin-top: 18px;
  opacity: 0.85;
}

.mockup-screen__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.mockup-screen__card {
  height: 80px;
  background: var(--color-surface-2);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}

.mockup-screen__footer {
  height: 20px;
  background: var(--color-bg);
  border-radius: 4px;
  opacity: 0.6;
}

/* Evervault hover effect */
.mockup-evervault {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 5;
  border-radius: inherit;
  background:
    linear-gradient(
      135deg,
      rgba(0,153,51,0.03) 0%,
      transparent 50%,
      rgba(0,255,127,0.02) 100%
    );
}

/* Bar — same structure/bg as .mockup-browser__bar, replaces it completely */
.mockup-ev__bar {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.mockup-ev__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(0,153,51,0.5);
  box-shadow: 0 0 4px rgba(0,153,51,0.3);
  flex-shrink: 0;
}

.mockup-ev__url {
  margin-left: 8px;
  font-size: 11px;
  color: var(--color-accent);
  background: var(--color-surface);
  border-radius: 20px;
  padding: 2px 12px;
  border: 1px solid rgba(0,153,51,0.4);
  animation: ev-url-glow 4s ease-in-out infinite;
}

@keyframes ev-url-glow {
  0%, 100% { box-shadow: none; }
  50% { box-shadow: 0 0 6px rgba(0,153,51,0.4); }
}

/* Screen — same padding as .mockup-browser__screen */
.mockup-ev__screen {
  padding: 24px;
}

.mockup-ev__nav {
  height: 32px;
  background: rgba(255,255,255,0.12);
  border-radius: 4px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.58rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.mockup-ev__hero {
  background: rgba(0,153,51,0.07);
  border: 1px solid rgba(0,153,51,0.18);
  border-radius: var(--radius);
  height: 200px;
  margin-bottom: 20px;
  position: relative;
}

.mockup-ev__nummer {
  position: absolute;
  bottom: 36px;
  left: 28px;
  width: 120px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: rgba(0,153,51,0.15);
  border: 1px solid rgba(0,153,51,0.3);
  border-radius: 4px;
  box-shadow: 0 0 8px rgba(0,153,51,0.15);
}

.mockup-ev__sparkle {
  display: inline-block;
  font-size: 0.45rem;
  color: var(--color-accent);
  margin-left: 3px;
  vertical-align: middle;
  animation: ev-twinkle 3s ease-in-out infinite;
}

@keyframes ev-twinkle {
  0%, 100% { opacity: 0.3; transform: scale(0.8) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.3) rotate(180deg); text-shadow: 0 0 8px rgba(0,153,51,0.6); }
}

.mockup-ev__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.mockup-ev__footer {
  height: 20px;
  background: rgba(0,153,51,0.06);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.52rem;
  font-weight: 600;
  color: rgba(0,153,51,0.6);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.mockup-ev__cards > div {
  height: 80px;
  background: rgba(0,153,51,0.05);
  border: 1px solid rgba(0,153,51,0.18);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.56rem;
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: center;
  line-height: 1.6;
}


/* Hint cursor for mockup hover demo */
.mockup-hint-cursor {
  position: absolute;
  width: 16px;
  height: 20px;
  pointer-events: none;
  z-index: 30;
  opacity: 0;
  filter: drop-shadow(1px 2px 3px rgba(0,0,0,0.4));
}

/* Floating PageSpeed badge */
.mockup-badge {
  position: absolute;
  bottom: -14px;
  right: calc(clamp(-6rem, -4vw, 0rem) - 14px);
  background: #0a0a0a;
  border: 1px solid rgba(0,153,51,0.25);
  border-radius: var(--radius-lg);
  padding: 12px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow:
    0 8px 24px rgba(0,0,0,0.3),
    0 0 20px rgba(0,153,51,0.1);
  z-index: 10;
  overflow: hidden;
}

[data-theme="light"] .mockup-badge {
  background: #0a0a0a;
}

.mockup-badge__score {
  position: relative;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
  text-shadow: 0 0 12px rgba(0,153,51,0.4);
}

.mockup-badge__score::before {
  content: '✦';
  position: absolute;
  top: -8px;
  left: -12px;
  font-size: 0.6rem;
  color: var(--color-accent);
  text-shadow: 0 0 6px rgba(0,153,51,0.8), 0 0 16px rgba(0,153,51,0.4);
  animation: badge-spin 8s linear infinite;
}

.mockup-badge::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(0,153,51,0.08) 42%,
    rgba(255,255,255,0.12) 50%,
    rgba(0,153,51,0.08) 58%,
    transparent 65%
  );
  transform: translateX(-100%);
  animation: showcase-shimmer 4s ease-in-out infinite;
  animation-delay: 2s;
  pointer-events: none;
  overflow: hidden;
}

.mockup-badge__label {
  font-size: 0.65rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 3px;
}


/* ========================
   HOME — SERVICES TEASER
   ======================== */

.services-teaser {
  background-color: var(--color-surface);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
}

.service-card {
  background-color: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  transition: border-color 0.2s;
  display: flex;
  flex-direction: column;
  position: relative;
}

.service-card:hover {
  border-color: var(--color-accent);
}

.service-card__icon {
  width: 44px;
  height: 44px;
  background-color: var(--color-accent);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
  flex-shrink: 0;
}

.service-card__title {
  font-size: var(--text-md);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.service-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-sm);
  flex: 1;
}

.service-card__link {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap 0.2s;
  margin-top: auto;
}

.service-card__link:hover {
  gap: 0.6rem;
}


/* ========================
   HOME — DIFFERENTIATORS
   ======================== */

.diff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-md);
}

.diff-item {
  padding: var(--space-md);
  border-left: 3px solid var(--color-accent);
}

.diff-item__title {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.diff-item__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  max-width: 720px;
}

.faq-item {
  padding: var(--space-md);
  border-left: 3px solid var(--color-accent);
}

.faq-item__q {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.faq-item__a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}


/* ========================
   HOME — ABOUT TEASER
   ======================== */

.about-teaser {
  background-color: var(--color-surface);
}

.about-teaser__inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-xl);
  align-items: center;
}

.about-teaser__photo {
  aspect-ratio: 4/5;
  background-color: var(--color-surface-2);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  overflow: hidden;
}

.about-teaser__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}


/* ========================
   HOME — PROOF / STATS
   ======================== */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.stat-item {
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  border-right: 1px solid var(--color-border);
}

.stat-item:last-child {
  border-right: none;
}

.stat-item__number {
  font-size: clamp(var(--text-xl), 5vw, var(--text-2xl));
  font-weight: 800;
  color: var(--color-accent);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.6rem;
}

.stat-item__label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.4;
}


/* ========================
   HOME — CONTACT SECTION
   ======================== */

.contact {
  background-color: var(--color-surface);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.contact__phone-block {
  margin-top: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.contact__phone-label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.contact__phone-number {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  transition: color 0.2s;
}

.contact__phone-number:hover {
  color: var(--color-accent);
}


/* ========================
   INTERIOR — PAGE HERO
   ======================== */

.page-hero {
  padding-block: var(--space-lg);
  border-bottom: 1px solid var(--color-border);
}

.page-hero__label {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-xs);
}

.page-hero__title {
  font-size: clamp(var(--text-xl), 5vw, var(--text-2xl));
  font-weight: 800;
  line-height: 1.12;
  overflow-wrap: break-word;
  word-break: break-word;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-sm);
}

.page-hero__sub {
  font-size: var(--text-md);
  color: var(--color-text-muted);
  max-width: 60ch;
  line-height: 1.7;
}


/* ========================
   BLOG RAIL
   ======================== */

.blog-rail {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  perspective: 1200px;
}

.blog-rail__card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-lg) var(--space-md);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s, box-shadow 0.3s;
  will-change: transform;
}

.blog-rail__card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 153, 51, 0.1);
}

.blog-rail__number {
  position: absolute;
  top: -0.15em;
  right: var(--space-md);
  font-size: clamp(6rem, 12vw, 10rem);
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--color-border);
  opacity: 0.5;
  pointer-events: none;
  user-select: none;
  transition: opacity 0.3s, -webkit-text-stroke-color 0.3s;
}

.blog-rail__card:hover .blog-rail__number {
  opacity: 0.8;
  -webkit-text-stroke-color: var(--color-accent);
}

.blog-rail__glow {
  position: absolute;
  inset: -40%;
  background: radial-gradient(ellipse at 60% 40%, rgba(0, 153, 51, 0.12), transparent 65%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s;
}

.blog-rail__card:hover .blog-rail__glow {
  opacity: 1;
}

.blog-rail__body {
  position: relative;
  z-index: 1;
  flex: 1;
}

.blog-rail__date {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
  letter-spacing: 0.02em;
}

.blog-rail__title {
  font-size: clamp(1.25rem, 2.5vw, var(--text-xl));
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-sm);
  transition: color 0.3s;
}

.blog-rail__card:hover .blog-rail__title {
  color: var(--color-accent);
}

.blog-rail__excerpt {
  color: var(--color-text-muted);
  line-height: 1.7;
  max-height: 5.1em;
  overflow: hidden;
  position: relative;
}

.blog-rail__excerpt-fade {
  height: 3.5rem;
  margin-top: -3.5rem;
  position: relative;
  background: linear-gradient(to bottom, transparent, var(--color-surface));
  pointer-events: none;
}

.blog-rail__footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--space-md);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--color-border);
}

.blog-rail__time {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.blog-rail__action {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  color: var(--color-accent);
  font-weight: 600;
  font-size: var(--text-sm);
}

.blog-rail__action svg {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-rail__card:hover .blog-rail__action svg {
  transform: translate(2px, -2px);
}

/* ========================
   404 PAGE
   ======================== */

.error-page {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.error-page__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.error-page__code {
  font-size: clamp(8rem, 25vw, 16rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--color-border);
  animation: error-breathe 4s ease-in-out infinite;
  user-select: none;
}

@keyframes error-breathe {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.7; -webkit-text-stroke-color: var(--color-accent); }
}

.error-page__glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(400px, 100vw);
  height: 200px;
  background: radial-gradient(ellipse, rgba(0, 153, 51, 0.1), transparent 70%);
  pointer-events: none;
}

.error-page__title {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-top: calc(-1 * var(--space-sm));
}

.error-page__text {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 40ch;
  margin-bottom: var(--space-sm);
}

[data-theme="light"] .error-page__code {
  -webkit-text-stroke-color: #d4d4d8;
}

[data-theme="light"] .error-page__glow {
  background: radial-gradient(ellipse, rgba(0, 153, 51, 0.06), transparent 70%);
}

/* ========================
   BLOG ARTICLE
   ======================== */

/* Reading progress bar */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 200;
  pointer-events: none;
}

.reading-progress__bar {
  height: 100%;
  width: 0%;
  background: var(--color-accent);
  box-shadow: 0 0 8px rgba(0,153,51,0.4);
  transition: width 60ms linear;
}

/* Article page hero */
.page-hero--article .page-hero__title {
  max-width: 18ch;
}

.page-hero__back {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-xs);
  transition: opacity 0.2s;
}

.page-hero__back:hover {
  opacity: 0.7;
}

/* Article meta */
.article-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-sm);
}

.article-meta__author {
  color: var(--color-text);
  font-weight: 600;
}

.article-meta__sep {
  opacity: 0.3;
}

.article-meta__time {
  color: var(--color-accent);
}

/* Article body */
.blog-article {
  max-width: 720px;
  margin-inline: auto;
}

.blog-article > p {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: #cdcdcd;
  margin-bottom: 1.5em;
}

.blog-article a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.blog-article a:hover {
  opacity: 0.8;
}

.article-cta a {
  color: inherit;
  text-decoration: none;
}

.blog-article > p:first-child {
  font-size: var(--text-md);
  color: var(--color-text);
  line-height: 1.75;
}

/* H2 — numbered section headers */
.blog-article > h2 {
  font-size: clamp(var(--text-lg), 3vw, var(--text-xl));
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-top: 3.5rem;
  margin-bottom: 1.5rem;
  padding-left: 1.25rem;
  border-left: 3px solid var(--color-accent);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.blog-article > h2.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* H3 — sub-section labels inside articles */
.blog-article > h3 {
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--color-text);
  margin-top: 2.25rem;
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

/* "Jetzt prüfen:" callout blocks */
.blog-article > p:has(> strong:first-child) {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-accent);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  color: var(--color-text);
  font-size: var(--text-base);
  line-height: 1.75;
  margin-top: -0.5rem;
}

.blog-article > p:has(> strong:first-child) strong {
  color: var(--color-accent);
  font-weight: 700;
  text-transform: uppercase;
  font-size: var(--text-sm);
  letter-spacing: 0.06em;
}

.blog-article > p:has(> strong:first-child) em {
  color: var(--color-text);
  font-style: normal;
  background: var(--color-surface-2);
  padding: 0.15em 0.45em;
  border-radius: 4px;
  font-size: 0.9em;
  font-family: 'SF Mono', 'Fira Code', monospace;
}

/* Fallback for browsers without :has() */
@supports not (selector(:has(*))) {
  .blog-article > p > strong:first-child {
    color: var(--color-accent);
    font-weight: 700;
    text-transform: uppercase;
    font-size: var(--text-sm);
    letter-spacing: 0.06em;
  }
}

/* Article CTA card */
.article-cta {
  margin-top: 3rem;
  padding: var(--space-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.article-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
}

.article-cta__text {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 48ch;
  margin: 0 auto var(--space-md);
}

.article-cta .btn {
  margin-bottom: var(--space-sm);
}

.article-cta__phone {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.article-cta__phone a {
  color: var(--color-accent);
  font-weight: 600;
}

/* ========================
   LEISTUNGEN PAGE
   ======================== */

.leistungen-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.included-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.included-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  position: relative;
}

.included-item__title {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-xs);
  color: var(--color-text);
}

.included-item__title::before {
  content: '✓';
  color: var(--color-accent);
  font-weight: 700;
  margin-right: 0.5rem;
}

.included-item__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

.included-item__desc a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 900px) {
  .included-grid {
    grid-template-columns: 1fr;
  }
}

.leistungen-pricing {
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
}

.section:has(.included-grid) .section__label {
  display: block;
  text-align: center;
}

.section:has(.included-grid) .section__title {
  text-align: center;
}

.section:has(.included-grid) .section__sub {
  text-align: center;
  margin-inline: auto;
}

.pricing-tiers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
  align-items: stretch;
}

.pricing-tier {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.pricing-tier:hover {
  border-color: var(--color-text-muted);
  transform: translateY(-4px);
}

.pricing-tier--featured {
  border-color: var(--color-accent);
  background: var(--color-surface-2);
  box-shadow: 0 0 30px rgba(0, 153, 51, 0.08), 0 0 60px rgba(0, 153, 51, 0.04);
}

.pricing-tier--featured:hover {
  border-color: var(--color-accent);
  transform: translateY(-6px);
  box-shadow: 0 0 40px rgba(0, 153, 51, 0.12), 0 0 80px rgba(0, 153, 51, 0.06);
}

.pricing-tier__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  white-space: nowrap;
}

.pricing-tier__header {
  text-align: center;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--color-border);
}

.pricing-tier__name {
  display: block;
  font-size: var(--text-xl);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-xs);
}

.pricing-tier__price {
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--color-text);
  opacity: 0.7;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.pricing-tier__unit {
  display: block;
  font-size: var(--text-base);
  font-weight: 400;
  color: var(--color-text-muted);
}

.pricing-tier__tagline {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
  margin: 0;
}

.pricing-tier__features {
  list-style: none;
  padding: 0;
  margin: 0 0 auto 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.pricing-tier__features li {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  line-height: 1.5;
}

.pricing-tier__features li::before {
  content: '✓';
  color: var(--color-accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-tier__feature-new {
  position: relative;
  border: 1px solid var(--color-accent);
  border-radius: 6px;
  padding: 0.5rem 0.6rem !important;
  margin: 0.3rem 0;
}

.pricing-tier__new-label {
  position: absolute;
  top: -0.55rem;
  right: 0.6rem;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  line-height: 1.3;
  animation: badge-glow 2.5s ease-in-out infinite;
}

@keyframes badge-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 153, 51, 0.3); }
  50% { box-shadow: 0 0 8px 3px rgba(0, 153, 51, 0.2); }
}

.pricing-tier__cta {
  margin-top: var(--space-md);
  text-align: center;
  width: 100%;
  display: block;
}

.pricing-alt {
  margin-top: var(--space-md);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-align: center;
}

.pricing-alt a {
  color: var(--color-accent);
  text-underline-offset: 2px;
}

@media (max-width: 900px) {
  .pricing-tiers {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .pricing-tier--featured {
    order: -1;
  }
}

.leistung-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: start;
  padding: var(--space-lg);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  position: relative;
}

.leistung-block__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
  border-radius: 4px;
  padding: 0.2rem 0.6rem;
  margin-bottom: var(--space-sm);
}

.leistung-block__title {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.leistung-block__desc {
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.leistung-block__includes {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.leistung-block__includes li {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  line-height: 1.5;
}

.leistung-block__includes li::before {
  content: '✓';
  color: var(--color-accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.leistung-block__right-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-sm);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.process-step {
  text-align: center;
  padding: var(--space-md);
}

.process-step__num {
  width: 52px;
  height: 52px;
  background-color: var(--color-accent);
  color: #fff;
  font-size: var(--text-lg);
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  margin-bottom: var(--space-sm);
}

.process-step__title {
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-size: var(--text-md);
}

.process-step__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}


/* ========================
   ÜBER MICH PAGE
   ======================== */

.about-page__intro {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.about-page__photo {
  aspect-ratio: 3/4;
  background-color: var(--color-surface-2);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.about-page__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.about-page__headline {
  font-size: clamp(var(--text-xl), 4vw, var(--text-2xl));
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-sm);
}

.about-page__lead {
  font-size: var(--text-md);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.about-section {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-lg);
  margin-top: var(--space-lg);
}

.about-section__title {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.about-section__text {
  color: var(--color-text-muted);
  line-height: 1.8;
  max-width: 70ch;
}

.about-section__text + .about-section__text {
  margin-top: var(--space-sm);
}

.about-highlight-box {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-accent);
  border-radius: var(--radius);
  padding: var(--space-md);
  margin-top: var(--space-md);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}


/* ========================
   KONTAKT PAGE
   ======================== */

.kontakt__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-xl);
  align-items: start;
}

.kontakt__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.kontakt__info-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.kontakt__info-label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.kontakt__info-value {
  font-size: var(--text-md);
  font-weight: 600;
  transition: color 0.2s;
}

.kontakt__info-value:hover {
  color: var(--color-accent);
}

.kontakt__response {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  padding: var(--space-sm);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-accent);
  border-radius: var(--radius);
  line-height: 1.6;
  margin-top: var(--space-md);
}


/* ========================
   INLINE CTA BLOCK (reusable)
   ======================== */

.cta-block {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
}

.cta-block__title {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.cta-block__sub {
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.cta-block__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
}


/* ========================
   LANDING PAGE COMPONENTS
   ======================== */

.lp main .section {
  padding-block: var(--space-lg);
}

.lp .page-hero {
  padding-block: var(--space-lg);
}

.lp .section--surface {
  background-color: var(--color-surface);
}

.page-hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.stats-row .stat-item {
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  border-right: 1px solid var(--color-border);
}

.stats-row .stat-item:last-child {
  border-right: none;
}

.lp-section-cta {
  text-align: center;
  margin-top: var(--space-lg);
}

.lp-blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.lp-blog-card {
  display: flex;
  flex-direction: column;
  padding: var(--space-md);
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-accent);
  border-radius: var(--radius);
  background: var(--color-surface);
  text-decoration: none;
  color: var(--color-text);
  transition: border-color 0.2s, transform 0.2s;
}

.lp-blog-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-2px);
}

.lp-blog-card__date {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-xs);
}

.lp-blog-card__title {
  font-size: var(--text-md);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: var(--space-xs);
}

.lp-blog-card__excerpt {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  flex: 1;
}

.lp-blog-card__action {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-accent);
  margin-top: var(--space-sm);
}

.diff-grid--4 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.diff-item__number {
  display: block;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

@media (max-width: 600px) {
  .lp-blog-grid {
    grid-template-columns: 1fr;
  }

  .stats-row {
    grid-template-columns: 1fr;
  }

  .stats-row .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
  }

  .stats-row .stat-item:last-child {
    border-bottom: none;
  }
}


/* ========================
   RESPONSIVE
   ======================== */

/* ========================
   GRID LINE SYSTEM
   ======================== */

section,
footer.footer {
  position: relative;
  z-index: 1;
}

/* Base pseudo-element slot — used by hero grid and section separators */
section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* Hero grid — viewport-anchored to match body side rails, clipped to content area */
.hero::before {
  left: max(0px, calc(50vw - 850px));
  right: max(0px, calc(50vw - 850px));
  background-image:
    linear-gradient(rgba(0, 153, 51, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 153, 51, 0.22) 1px, transparent 1px);
  background-size: 56px 56px;
  background-attachment: fixed;
}

/* ========================
   LIGHT MODE — FORCE-DARK ELEMENTS
   Mockups, showcase card, footer stay dark for contrast.
   ======================== */

[data-theme="light"] .hero .mockup-browser {
  background: #141414;
  background-image:
    linear-gradient(#141414, #141414),
    conic-gradient(
      from var(--gradient-angle, 0deg),
      rgba(0, 153, 51, 0.08) 0%,
      rgba(0, 153, 51, 0.5) 25%,
      rgba(0, 153, 51, 0.08) 50%,
      rgba(0, 153, 51, 0.5) 75%,
      rgba(0, 153, 51, 0.08) 100%
    );
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

[data-theme="light"] .hero .mockup-browser__bar {
  background: #0a0a0a;
  border-bottom-color: #222;
}

[data-theme="light"] .hero .mockup-browser__dot {
  background: #333;
}

[data-theme="light"] .hero .mockup-browser__url {
  color: #888;
  background: #1a1a1a;
  border-color: #333;
}

[data-theme="light"] .hero .mockup-screen__nav {
  background: #0f0f0f;
}

[data-theme="light"] .hero .mockup-screen__hero-area {
  background: #1a1a1a;
}

[data-theme="light"] .hero .mockup-screen__line {
  background: #f0f0f0;
}

[data-theme="light"] .hero .mockup-screen__line--sub {
  background: #f0f0f0;
}

[data-theme="light"] .hero .mockup-screen__card {
  background: #1f1f1f;
  border-color: #2a2a2a;
}

[data-theme="light"] .hero .mockup-screen__cta {
  background: var(--color-accent);
}

[data-theme="light"] .hero .mockup-screen__footer {
  background: #111;
}

[data-theme="light"] .hero::before {
  background-image:
    linear-gradient(rgba(0, 153, 51, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 153, 51, 0.12) 1px, transparent 1px);
}

[data-theme="light"] .hero .mockup-ev__bar {
  background: #0a0a0a;
  border-bottom-color: #222;
}

[data-theme="light"] .hero .mockup-ev__dot {
  background: rgba(0,153,51,0.4);
}

[data-theme="light"] .hero .mockup-ev__url {
  color: var(--color-accent);
  background: #1a1a1a;
  border-color: rgba(0,153,51,0.4);
}

[data-theme="light"] .testimonial-card--showcase {
  background: #0a0a0a;
  color: #f0f0f0;
  border-color: rgba(0,153,51,0.3);
}

[data-theme="light"] .testimonial-card--showcase .showcase__browser {
  background: #141414;
  border-bottom-color: #222;
}

[data-theme="light"] .testimonial-card--showcase .showcase__url {
  color: #888;
  background: #1a1a1a;
  border-color: #333;
}

[data-theme="light"] .testimonial-card--showcase .showcase__preview {
  background:
    linear-gradient(90deg, rgba(0,153,51,0.14) 1px, transparent 1px),
    linear-gradient(rgba(0,153,51,0.14) 1px, transparent 1px),
    radial-gradient(ellipse at 50% 40%, rgba(0,153,51,0.15) 0%, transparent 70%),
    #111;
  background-size: 14px 14px, 14px 14px, 100% 100%, 100% 100%;
}

[data-theme="light"] .testimonial-card--showcase .showcase__meta {
  border-top-color: #222;
}

[data-theme="light"] .testimonial-card--showcase .showcase__label {
  color: var(--color-accent);
}

[data-theme="light"] .testimonial-card--showcase .showcase__score {
  color: #999;
}

[data-theme="light"] .testimonial-card--showcase .showcase__nav-dot {
  background: #2a2a2a;
}

[data-theme="light"] .testimonial-card--showcase .showcase__heading-mock {
  background: #f0f0f0;
}

[data-theme="light"] .testimonial-card--showcase .showcase__block-mock {
  background: #1f1f1f;
}

[data-theme="light"] .testimonial-card--showcase .showcase__btn-mock {
  background: var(--color-accent);
}

[data-theme="light"] .footer {
  background: #0a0a0a;
  color: #ccc;
}

[data-theme="light"] .footer a {
  color: #999;
}

[data-theme="light"] .footer a:hover {
  color: #fff;
}

[data-theme="light"] .footer__brand-logo span {
  color: #f0f0f0;
}

[data-theme="light"] .footer__col-title {
  color: #f0f0f0;
}

[data-theme="light"] .footer__newsletter-input {
  background: #141414;
  border-color: #333;
  color: #f0f0f0;
}

[data-theme="light"] .footer__bottom {
  border-top-color: #222;
  color: #666;
}

/* Section separators — 3 horizontal grid lines at section boundaries */
section + section::before {
  inset: unset;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(0, 153, 51, 0.22);
  box-shadow: 0 56px 0 rgba(0, 153, 51, 0.13), 0 112px 0 rgba(0, 153, 51, 0.07);
  z-index: 1;
}

[data-theme="light"] section + section::before {
  background: rgba(0, 153, 51, 0.18);
  box-shadow: 0 56px 0 rgba(0, 153, 51, 0.10), 0 112px 0 rgba(0, 153, 51, 0.06);
}

/* Content floats above the grid pseudo-elements */
.container {
  position: relative;
  z-index: 2;
}

/* Bolt SVGs are injected by JS — no CSS needed here */


/* ========================
   GLOWING BORDER EFFECT
   ======================== */

/* Conic-gradient border masked to border ring only, rotates toward cursor */
.service-card::after,
.leistung-block::after,
.included-item::after {
  content: '';
  pointer-events: none;
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(
    from calc((var(--glow-angle, 0) - 25) * 1deg) at 50% 50%,
    transparent 0deg,
    rgba(0, 153, 51, 0.9),
    transparent 50deg
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  opacity: var(--glow-visible, 0);
  transition: opacity 0.4s ease;
  z-index: 2;
}


/* ========================
   HOME — TESTIMONIALS
   ======================== */

@keyframes testimonial-scroll {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}

.testimonials__columns {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-lg);
  max-height: 740px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 25%, black 75%, transparent);
  mask-image: linear-gradient(to bottom, transparent, black 25%, black 75%, transparent);
}

.testimonials__col { overflow: visible; }

.testimonials__col       { display: none; }
.testimonials__col--md   { display: block; }
.testimonials__col--lg   { display: none; }

@media (min-width: 768px)  { .testimonials__col { display: block; } }
@media (min-width: 1024px) { .testimonials__col--lg { display: block; } }

.testimonials__col-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding-bottom: var(--space-md);
  will-change: transform;
  animation: testimonial-scroll 15s linear infinite;
}

.testimonials__col-inner--slow { animation-duration: 19s; }
.testimonials__col-inner--mid  { animation-duration: 17s; }

.testimonials__col:hover .testimonials__col-inner {
  animation-play-state: paused;
}

.testimonial-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  max-width: 320px;
  width: 100%;
  box-shadow: 0 4px 24px rgba(0, 153, 51, 0.06);
}

.testimonial-card__quote {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

.t-author {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin-top: var(--space-sm);
}

.t-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-surface-2);
  flex-shrink: 0;
}

.t-avatar--letter {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-accent);
}

.t-author__meta { flex: 1; }

.testimonial-card__name {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.testimonial-card__role {
  font-size: var(--text-sm);
  color: #9a9a9a;
  line-height: 1.3;
  opacity: 0.6;
}

/* CTA card */
.testimonial-card--cta {
  border-color: var(--color-accent);
  border-style: dashed;
}

@keyframes badge-spin {
  from { rotate: 0deg; }
  to   { rotate: 360deg; }
}

.testimonial-card__spark {
  display: block;
  font-size: 0.65rem;
  color: var(--color-accent);
  text-shadow: 0 0 6px rgba(0,153,51,0.8), 0 0 16px rgba(0,153,51,0.4);
  animation: badge-spin 7s linear infinite;
  margin-bottom: var(--space-xs);
  width: fit-content;
}

.testimonial-card__cta-quote {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
  font-style: italic;
}

.t-avatar--cta {
  border: 1px dashed var(--color-border);
  background: transparent;
}

.testimonial-card__cta-name {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  line-height: 1.3;
}

.testimonial-card__cta-link {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-accent);
  line-height: 1.3;
}

.testimonial-card__cta-link:hover { opacity: 0.8; }

/* Showcase / reference card */
@keyframes showcase-shimmer {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@keyframes showcase-pulse {
  0%, 100% { opacity: 0.8; box-shadow: 0 0 0 rgba(0,153,51,0); }
  50%      { opacity: 1;   box-shadow: 0 0 10px rgba(0,153,51,0.5); }
}

.testimonial-card--showcase {
  display: block;
  text-decoration: none;
  border-color: rgba(0,153,51,0.3);
  padding: 0;
  overflow: hidden;
  position: relative;
  box-shadow:
    0 0 20px rgba(0,153,51,0.12),
    0 0 60px rgba(0,153,51,0.04);
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.testimonial-card--showcase:hover {
  border-color: var(--color-accent);
  transform: scale(1.03);
  box-shadow:
    0 0 25px rgba(0,153,51,0.25),
    0 0 80px rgba(0,153,51,0.08);
}

.testimonial-card--showcase::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(0,153,51,0.06) 42%,
    rgba(255,255,255,0.08) 50%,
    rgba(0,153,51,0.06) 58%,
    transparent 65%
  );
  transform: translateX(-100%);
  animation: showcase-shimmer 5s ease-in-out infinite;
  animation-delay: 1s;
  pointer-events: none;
  z-index: 2;
}

.showcase__browser {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 8px 12px;
  background: var(--color-surface-2);
  border-bottom: 1px solid var(--color-border);
}

.showcase__dots {
  display: flex;
  gap: 5px;
}

.showcase__dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.showcase__dots span:nth-child(1) { background: #ff5f57; }
.showcase__dots span:nth-child(2) { background: #febc2e; }
.showcase__dots span:nth-child(3) { background: #28c840; }

.showcase__url {
  flex: 1;
  font-size: 0.7rem;
  color: var(--color-text-muted);
  background: var(--color-surface);
  border-radius: 4px;
  padding: 3px 8px;
  text-align: center;
  letter-spacing: 0.01em;
}

.showcase__preview {
  padding: 16px;
  background:
    linear-gradient(90deg, rgba(0,153,51,0.14) 1px, transparent 1px),
    linear-gradient(rgba(0,153,51,0.14) 1px, transparent 1px),
    radial-gradient(ellipse at 50% 40%, rgba(0,153,51,0.15) 0%, transparent 70%),
    var(--color-bg);
  background-size: 14px 14px, 14px 14px, 100% 100%, 100% 100%;
  min-height: 110px;
  position: relative;
}

.showcase__hero-mock {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.showcase__nav-mock {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.showcase__nav-dot {
  height: 4px;
  border-radius: 2px;
  background: var(--color-border);
  opacity: 0.6;
}

.showcase__nav-dot:nth-child(1) { width: 24px; }
.showcase__nav-dot:nth-child(2) { width: 18px; }
.showcase__nav-dot:nth-child(3) { width: 22px; }
.showcase__nav-dot:nth-child(4) { width: 16px; }

.showcase__heading-mock {
  width: 85%;
  height: 8px;
  border-radius: 3px;
  background: var(--color-text);
  opacity: 0.35;
}

.showcase__heading-mock--short {
  width: 55%;
}

.showcase__btn-mock {
  width: 70px;
  height: 16px;
  border-radius: 4px;
  background: var(--color-accent);
  margin-top: 8px;
  animation: showcase-pulse 3s ease-in-out infinite;
}

.showcase__content-mock {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.showcase__block-mock {
  flex: 1;
  height: 28px;
  border-radius: 4px;
  background: var(--color-surface-2);
  opacity: 0.5;
}

.showcase__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-top: 1px solid rgba(0,153,51,0.2);
  background: rgba(0,153,51,0.04);
}

.showcase__label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-accent);
}

.showcase__score {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-text-muted);
  letter-spacing: -0.01em;
}


/* ========================
   FAQ
   ======================== */

.faq__list {
  margin-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
}

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

.faq__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  font-size: var(--text-md);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--color-accent);
  flex-shrink: 0;
  transition: transform 0.25s ease;
  line-height: 1;
}

.faq__item[open] .faq__question::after {
  transform: rotate(45deg);
}

.faq__answer {
  padding-bottom: var(--space-md);
  color: var(--color-text-muted);
  max-width: 720px;
  line-height: 1.7;
}

.faq__pricing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.faq__pricing--3col {
  grid-template-columns: repeat(3, 1fr);
}

.faq__pricing-option {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
}

.faq__pricing-option--featured {
  border-color: var(--color-accent);
}

.faq__pricing-badge {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: var(--space-xs);
  position: relative;
  min-height: 1.3em;
  align-self: flex-start;
}

.faq__pricing-badge--empty {
  visibility: hidden;
}

.faq__pricing-option--featured .faq__pricing-badge::before {
  content: '✦';
  position: absolute;
  top: -3px;
  left: -12px;
  font-size: 0.55rem;
  color: var(--color-accent);
  text-shadow: 0 0 6px rgba(0,153,51,0.8), 0 0 16px rgba(0,153,51,0.4);
  animation: badge-spin 7s linear infinite;
}

.faq__pricing-label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.faq__pricing-price {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
}

.faq__pricing-sub {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

.faq__pricing-plus {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.25rem;
}

.faq__pricing-detail {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
}

.faq__pricing-note {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

@media (max-width: 600px) {
  .faq__pricing {
    grid-template-columns: 1fr;
  }
  .faq__pricing--3col {
    grid-template-columns: 1fr;
  }
}


/* ========================
   LEGAL PAGES
   ======================== */

.legal {
  max-width: 720px;
}

.legal h2 {
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--color-text);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
}

.legal h2:first-child {
  margin-top: 0;
}

.legal h3 {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  margin-top: var(--space-md);
  margin-bottom: var(--space-xs);
}

.legal p {
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: var(--space-sm);
}

.legal ul {
  list-style: disc;
  padding-left: var(--space-md);
  margin-bottom: var(--space-sm);
}

.legal li {
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: 0.25rem;
}

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

.legal a:hover {
  text-decoration: underline;
}

.legal__meta {
  display: inline-block;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
  padding: var(--space-xs) var(--space-sm);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}


/* ========================
   RESPONSIVE
   ======================== */

@media (max-width: 1100px) {
  .hero__visual {
    padding-left: 2rem;
  }

  .hero__visual::before {
    left: 2rem;
  }

  .hero__inner {
    grid-template-columns: 1fr 1.2fr;
  }

  .hero__content {
    margin-left: 0;
  }

  .mockup-browser {
    width: 100%;
  }

  .mockup-badge {
    right: -14px;
  }
}

@media (max-width: 768px) {
  :root {
    --space-lg: 3rem;
    --space-xl: 5rem;
  }

  .blog-rail {
    grid-template-columns: 1fr;
  }

  /* Mobile nav */
  .nav__links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    padding: 0 var(--space-md);
    gap: 0;
    z-index: 99;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.3s,
                padding 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .nav__links.is-open {
    max-height: 400px;
    opacity: 1;
    padding: var(--space-md);
    gap: var(--space-sm);
  }

  .nav__links li {
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.25s, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .nav__links.is-open li {
    opacity: 1;
    transform: translateY(0);
  }

  .nav__links.is-open li:nth-child(1) { transition-delay: 0.05s; }
  .nav__links.is-open li:nth-child(2) { transition-delay: 0.1s; }
  .nav__links.is-open li:nth-child(3) { transition-delay: 0.15s; }
  .nav__links.is-open li:nth-child(4) { transition-delay: 0.2s; }
  .nav__links.is-open li:nth-child(5) { transition-delay: 0.25s; }

  .nav {
    position: sticky;
    overflow: visible;
  }

  .nav__hamburger {
    display: flex;
  }

  .nav__cta {
    display: none;
  }

  /* Single column layouts */
  .about-teaser__inner,
  .contact__inner,
  .leistung-block,
  .about-page__intro,
  .kontakt__inner,
  .process-steps {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

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

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

  .stat-item:last-child {
    border-bottom: none;
  }

  .hero {
    min-height: unset;
  }

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

  .hero__content {
    margin-left: 0;
  }

  .hero__visual {
    padding-left: 0;
    margin-top: var(--space-md);
  }

  .hero__visual::before {
    left: 0;
    right: 0;
  }

  .hero__beams,
  .hero__floor {
    display: none;
  }

  .mockup-browser {
    width: 100%;
  }

  .mockup-badge {
    bottom: -12px;
    right: -8px;
    padding: 8px 14px;
  }

  .mockup-badge__score {
    font-size: 1.25rem;
  }

  .mockup-hint-cursor {
    display: block;
  }

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

  .footer__col--brand {
    grid-column: 1 / -1;
  }

  .footer__wordmark-svg {
    max-height: 100px;
  }

  .footer__bar-inner {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }

  .about-page__photo {
    aspect-ratio: 3/4;
    max-width: 240px;
  }
}

@media (max-width: 480px) {
  :root {
    --space-xl: 4rem;
  }

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

  .footer__wordmark-svg {
    max-height: 80px;
  }

  .footer__bar-inner {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }

  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-block__actions {
    flex-direction: column;
  }
}


/* ========================
   COOKIE CONSENT BANNER
   ======================== */

.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(calc(100% + 3rem));
  z-index: 9999;
  background: rgba(22, 22, 25, 0.65);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid rgba(0, 153, 51, 0.25);
  border-radius: 18px;
  padding: 1.4rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: rgba(240, 240, 240, 0.85);
  max-width: 620px;
  width: calc(100% - 2rem);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 153, 51, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.is-visible {
  transform: translateX(-50%) translateY(0);
}

.cookie-banner__text {
  flex: 1;
  line-height: 1.5;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.cookie-banner__btn {
  padding: 0.6rem 1.4rem;
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  white-space: nowrap;
}

.cookie-banner__btn--accept {
  background: var(--color-accent);
  color: #fff;
}

.cookie-banner__btn--accept:hover {
  background: #00b33c;
  box-shadow: 0 0 16px rgba(0, 153, 51, 0.3);
}

.cookie-banner__btn--decline {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(240, 240, 240, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
}

.cookie-banner__btn--decline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #f0f0f0;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    bottom: 1rem;
    padding: 1.25rem;
  }

  .cookie-banner__actions {
    width: 100%;
  }

  .cookie-banner__btn {
    flex: 1;
  }
}
