/* TreborStudio component layer. Keep generated Tailwind in styles.css. */
/* Performance: Canvas-Container feste Größe, weniger Reflow beim appendChild */
#canvas-container { width: 100%; height: 100%; }
/* Seitenweites Führungs-Overlay: leuchtende Besucher entlang der Routen */
#flow-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 45;
}
/* Mobile: keine Viewport-Mindesthöhe – 100vh/svh springt mit der Browser-Chrome und vergrößert den hellen Hero-Hintergrund */
.hero-section { min-height: auto; }
@media (max-width: 767px) {
  .hero-section,
  .hero-inner {
    min-height: 0 !important;
  }
  #canvas-container { display: none; }
  #flow-canvas { display: none; }
}
@media (min-width: 768px) {
  .hero-section,
  .hero-inner { min-height: auto !important; }
}
/* Hero → Diagnose: feste Abstände (Tailwind-Klassen fehlen teils in styles.css) */
.hero-inner { padding-bottom: 2.5rem; }
@media (min-width: 768px) {
  .hero-inner {
    padding-bottom: 3.5rem;
    display: grid !important;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    column-gap: 3rem;
    align-items: end;
  }
  .hero-content {
    grid-column: 1;
    min-width: 0;
  }
}
#diagnose-section { padding-top: 2.25rem; }
@media (min-width: 768px) {
  #diagnose-section { padding-top: 6rem; }
  .hero-inner { align-items: end; }
}
.hero-browser-stage {
  display: none;
}

.hero-browser-reveal {
  opacity: 0;
  animation: fadeIn 1.2s ease-out 0.12s forwards;
}
@media (max-width: 767px) {
  .hero-browser-reveal {
    animation: none;
    opacity: 1;
  }
}
@media (min-width: 768px) {
  .hero-browser-stage {
    grid-column: 2;
    position: relative;
    display: block;
    min-height: 24rem;
    pointer-events: none;
    overflow: visible;
  }
}
.hero-browser-window {
  position: absolute;
  right: 0;
  bottom: 1.1rem;
  width: min(100%, 36rem);
  max-width: 36rem;
  overflow: hidden;
  border: 1px solid rgba(28, 25, 23, 0.10);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: none;
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}
.hero-browser-window::before {
  content: "";
  position: absolute;
  inset: auto -18% -42% auto;
  width: 16rem;
  height: 9rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(28, 25, 23, 0.18), rgba(28, 25, 23, 0.02) 68%, transparent 80%);
  filter: blur(12px);
  pointer-events: none;
}
.hero-browser-topbar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.58rem 0.9rem;
  border-bottom: 1px solid rgba(28, 25, 23, 0.06);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 247, 247, 0.94));
}
.hero-browser-dots {
  display: flex;
  gap: 0.4rem;
  flex: 0 0 auto;
}
.hero-browser-dots span {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 999px;
  background: rgba(28, 25, 23, 0.30);
}
.hero-browser-dots span:first-child {
  background: #1C1917;
}
.hero-browser-dots span:nth-child(2) {
  background: #FF4F00;
}
.hero-browser-dots span:nth-child(3) {
  background: #A8A29E;
}
.hero-browser-url {
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 1 1 auto;
  height: 1.55rem;
  padding: 0 0.95rem;
  border: 1px solid rgba(28, 25, 23, 0.09);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.92);
  color: rgba(28, 25, 23, 0.62);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.hero-browser-viewport {
  position: relative;
  padding: 1.5rem 1.35rem 1.45rem;
  background: linear-gradient(180deg, #ffffff 0%, #fdfdfd 100%);
}
.hero-browser-canvas {
  border: 1px solid rgba(28, 25, 23, 0.08);
  border-radius: 0;
  background: #ffffff;
  padding: 2.25rem 1.45rem 1.55rem;
}
.hero-browser-headline {
  text-align: center;
}
.hero-browser-headline h3 {
  margin: 0;
  color: #1C1917;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.9rem;
  line-height: 0.98;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.hero-browser-headline p {
  margin: 0.7rem auto 0;
  max-width: 85%;
  color: rgba(28, 25, 23, 0.75);
  font-family: 'Inter', sans-serif;
  font-size: 0.83rem;
  line-height: 1.45;
}
.hero-browser-showcase {
  margin-top: 1.45rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.72rem;
}
.hero-browser-showcase-card {
  position: relative;
  min-height: 4.95rem;
  border: 1px solid rgba(28, 25, 23, 0.08);
  border-radius: 0;
  background: #f7f4ef;
  overflow: hidden;
}
.hero-browser-showcase-card.is-highlight {
  background: linear-gradient(120deg, #ff4f00 0%, #ff7a1a 48%, #ffd1b3 100%);
}
.hero-browser-showcase-top {
  position: absolute;
  inset: 0 0 auto 0;
  height: 2.05rem;
  background: linear-gradient(90deg, #ff4f00 0%, #ff8a2a 60%, #ffd9c2 100%);
}
.hero-browser-showcase-line {
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.9rem;
  height: 0.14rem;
  border-radius: 999px;
  background: rgba(28, 25, 23, 0.35);
}
.hero-browser-showcase-thumb {
  position: absolute;
  left: 0.72rem;
  top: 0.78rem;
  width: 2.05rem;
  height: 1.7rem;
  border-radius: 0;
  background: #ece2d7;
}
.hero-browser-showcase-avatar {
  position: absolute;
  left: 0.72rem;
  top: 0.74rem;
  width: 1.72rem;
  height: 1.72rem;
  border-radius: 999px;
  background: #e8d0bc;
}
.hero-browser-showcase-stack {
  position: absolute;
  right: 0.7rem;
  top: 0.95rem;
  width: 2.35rem;
  height: 2rem;
  background:
    linear-gradient(rgba(28, 25, 23, 0.2), rgba(28, 25, 23, 0.2)) 0 0.22rem / 100% 0.12rem no-repeat,
    linear-gradient(rgba(28, 25, 23, 0.18), rgba(28, 25, 23, 0.18)) 0 0.78rem / 100% 0.12rem no-repeat,
    linear-gradient(rgba(28, 25, 23, 0.18), rgba(28, 25, 23, 0.18)) 0 1.34rem / 82% 0.12rem no-repeat;
}
.hero-browser-demo-btn {
  width: fit-content;
  margin: 1.05rem auto 0;
  padding: 0.48rem 1.45rem;
  border-radius: 0;
  background: #1C1917;
  color: #F5F5F4;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  line-height: 1;
  font-weight: 400;
  letter-spacing: 0.01em;
}
@media (max-width: 1100px) {
  .hero-browser-headline h3 { font-size: 2.45rem; }
  .hero-browser-headline p { max-width: 92%; font-size: 0.76rem; }
}
@media (max-width: 900px) {
  .hero-browser-canvas { padding: 1.85rem 1.05rem 1.25rem; }
  .hero-browser-showcase { gap: 0.55rem; }
  .hero-browser-showcase-card { min-height: 4.25rem; }
}
.hero-browser-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(28, 25, 23, 0.07);
}
.hero-browser-brand {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.hero-browser-brand-dot {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #FF4F00, #7a2b0c);
}
.hero-browser-brand-name {
  color: #1C1917;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.hero-browser-menu {
  display: flex;
  gap: 0.85rem;
}
.hero-browser-menu span {
  width: 1.5rem;
  height: 2px;
  border-radius: 2px;
  background: rgba(28, 25, 23, 0.16);
}
.hero-browser-hero {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 1.5rem;
  align-items: center;
  padding: 1.4rem 0 1.3rem;
}
.hero-browser-copy {
  min-width: 0;
}
.hero-browser-kicker {
  margin-bottom: 0.6rem;
  color: #FF4F00;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.56rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.hero-browser-title {
  color: #1C1917;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.35rem;
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.hero-browser-lines {
  display: grid;
  gap: 0.45rem;
  width: 92%;
  margin-top: 0.95rem;
}
.hero-browser-lines span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: rgba(28, 25, 23, 0.14);
}
.hero-browser-lines span:nth-child(2) {
  width: 70%;
}
.hero-browser-media {
  position: relative;
  align-self: stretch;
  min-height: 6.5rem;
  border: 1px solid rgba(28, 25, 23, 0.10);
  border-radius: 0.4rem;
  background:
    linear-gradient(135deg, rgba(28, 25, 23, 0.05), rgba(253, 252, 248, 0.35));
  overflow: hidden;
}
.hero-browser-media-glow {
  position: absolute;
  inset: 18% 14% auto auto;
  width: 55%;
  height: 55%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 79, 0, 0.55), rgba(114, 43, 12, 0.25) 55%, transparent 72%);
}
.hero-browser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
  margin-top: 0.4rem;
}
.hero-browser-card {
  min-height: 3.4rem;
  border: 1px solid rgba(28, 25, 23, 0.10);
  border-radius: 0.35rem;
  background:
    linear-gradient(135deg, rgba(28, 25, 23, 0.06), rgba(253, 252, 248, 0.48));
}
.hero-browser-card.is-rust {
  background:
    radial-gradient(circle at 75% 20%, rgba(255, 255, 255, 0.35), transparent 40%),
    linear-gradient(135deg, rgba(255, 79, 0, 0.85), rgba(114, 43, 12, 0.70));
}
.hero-browser-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.1rem;
  padding: 0.55rem 0.8rem;
  border-radius: 0.15rem;
  background: #1C1917;
}
.hero-browser-cta span {
  width: 4.4rem;
  height: 2px;
  border-radius: 2px;
  background: rgba(253, 252, 248, 0.85);
}
.hero-browser-cta i {
  width: 0.4rem;
  height: 0.4rem;
  border-top: 1.5px solid #FDFCF8;
  border-right: 1.5px solid #FDFCF8;
  transform: rotate(45deg);
}
/* LCP: Auf Mobile sofort sichtbar, kein Fade-In */
@media (max-width: 767px) { .hero-content.animate-fade-in { animation: none; opacity: 1; } }
/* Custom styles */
body {
margin: 0;
overflow-x: hidden;
background-color: #FDFCF8;
color: #1C1917;
}
/* Details/Summary Styles */
details summary::-webkit-details-marker { display: none; }
details summary { list-style: none; }
details[open] summary svg { transform: rotate(180deg); }
/* Glass Panel Styles */
.vellum-glass {
background: rgba(253, 252, 248, 0.85);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border: 1px solid rgba(28, 25, 23, 0.08);
}
.vellum-glass-strong {
background: rgba(253, 252, 248, 0.95);
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
border-bottom: 1px solid rgba(28, 25, 23, 0.05);
}
::selection { background: #FF4F00; color: #FFFFFF; }
/* Grid Overlay */
.grid-overlay {
background-size: 40px 40px;
background-image:
linear-gradient(to right, rgba(28, 25, 23, 0.03) 1px, transparent 1px),
linear-gradient(to bottom, rgba(28, 25, 23, 0.03) 1px, transparent 1px);
mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
}
/* Custom Accordion */
details > summary { list-style: none; }
details > summary::-webkit-details-marker { display: none; }
/* FAQ Accordion: ganze Zeile klickbar, weiches Auf-/Zuklappen, nur eine Antwort offen */
.faq-list {
  display: flex;
  flex-direction: column;
}
.faq-item {
  border-bottom: 1px solid #E7E5E4;
}
.faq-item:first-child {
  border-top: 1px solid #E7E5E4;
}
.faq-heading {
  margin: 0;
}
.faq-question {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.4rem 0;
  background: none;
  border: none;
  margin: 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-ink);
  -webkit-tap-highlight-color: transparent;
}
.faq-question:hover .faq-question-text {
  color: var(--color-rust);
}
.faq-question:focus-visible {
  outline: 2px solid var(--color-rust);
  outline-offset: -2px;
}
.faq-question-text {
  transition: color 0.2s ease;
}
.faq-icon {
  flex: 0 0 auto;
  color: #A8A29E;
  transition: transform 0.3s ease, color 0.3s ease;
}
.faq-item.is-open .faq-icon {
  transform: rotate(180deg);
  color: var(--color-rust);
}
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}
.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}
.faq-answer-inner {
  min-height: 0;
  overflow: hidden;
}
.faq-answer-text {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.65;
  color: #57534E;
  padding-bottom: 1.4rem;
}
.is-reduced-motion .faq-answer {
  transition: none;
}
/* Dark Mode Schematic Grid */
.schematic-grid {
background-size: 40px 40px;
background-image:
linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
mask-image: radial-gradient(circle at center, black 60%, transparent 100%);
}
.dash-animation {
stroke-dasharray: 10;
animation: dash 20s linear infinite;
}
@keyframes dash {
to {
stroke-dashoffset: 1000;
}
}
.footer-legal-btns {
display: flex;
flex-wrap: nowrap;
align-items: center;
justify-content: center;
gap: 1.25rem;
text-transform: uppercase;
}
.footer-legal-btns a {
white-space: nowrap;
flex: 0 0 auto;
font-size: inherit;
letter-spacing: inherit;
text-transform: uppercase;
}
.site-footer-bar {
display: grid;
grid-template-columns: 1fr auto 1fr;
align-items: center;
column-gap: 1rem;
width: 100%;
font-family: var(--font-mono);
font-size: 0.875rem;
line-height: 1.25rem;
letter-spacing: 0.1em;
text-transform: uppercase;
}
.site-footer-bar > :first-child {
justify-self: start;
text-align: left;
}
.site-footer-bar > .footer-legal-btns {
justify-self: center;
}
.site-footer-bar > :last-child {
justify-self: end;
text-align: right;
}
@media (max-width: 640px) {
  .site-footer-bar {
    grid-template-columns: 1fr;
    row-gap: 0.85rem;
    justify-items: center;
    text-align: center;
  }
  .site-footer-bar > :first-child,
  .site-footer-bar > .footer-legal-btns,
  .site-footer-bar > :last-child {
    justify-self: center;
    text-align: center;
  }
  .footer-legal-btns {
    gap: 1rem;
  }
}
@media (max-width: 767px) {
  .header-inner {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .header-call-mobile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    gap: 8px;
    padding: 8px 10px;
    background: #1C1917;
    border-radius: 2px;
    text-decoration: none;
    transition: background 0.2s ease;
  }
  .header-call-mobile:hover,
  .header-call-mobile:focus-visible {
    background: #FF4F00;
  }
  .header-call-mobile img {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }
  .header-call-mobile span {
    color: #fff;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.03em;
    white-space: nowrap;
  }
  .header-brand {
    flex: 1 1 auto;
    min-width: 0;
    gap: 0.5rem;
  }
  .header-brand img {
    width: 2rem;
    height: 2rem;
  }
  .header-brand span {
    font-size: 1.125rem;
    white-space: nowrap;
  }
}
@media (max-width: 360px) {
  .header-brand span { font-size: 1rem; }
  .header-call-mobile span { font-size: 9px; }
  .header-call-mobile { padding: 7px 8px; gap: 6px; }
}
@media (min-width: 768px) {
  .header-call-mobile { display: none; }
}
.header-call-desktop {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: #1C1917;
  text-decoration: none;
  transition: background 0.2s ease;
}
.header-call-desktop:hover,
.header-call-desktop:focus-visible {
  background: #FF4F00;
}
#hero-cta.particle-hit,
#flow-projekt.particle-hit {
  background: #FF4F00 !important;
}
#flow-analyse.particle-hit {
  background: #FDFCF8 !important;
  color: #1C1917 !important;
}
#hero-proj.particle-hit {
  color: #1C1917 !important;
}
#hero-cta,
#hero-proj,
#flow-analyse,
#flow-projekt {
  transition-duration: 150ms !important;
}
.header-call-desktop img {
  width: 24px;
  height: 24px;
}
.header-call-mobile img,
.header-call-desktop img,
.header-call-mobile span,
.header-call-desktop span {
  opacity: 0;
  transform: translateY(6px) translateZ(0);
  animation: headerCallFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.12s forwards;
  will-change: opacity, transform;
  backface-visibility: hidden;
}
@keyframes headerCallFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px) translateZ(0);
  }
  to {
    opacity: 1;
    transform: translateY(0) translateZ(0);
  }
}
.is-reduced-motion .header-call-mobile img,
.is-reduced-motion .header-call-desktop img,
.is-reduced-motion .header-call-mobile span,
.is-reduced-motion .header-call-desktop span {
  animation: none;
  opacity: 1;
  transform: none;
}
.header-call-desktop span {
  color: white;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  letter-spacing: 0.05em;
}
/* Standard-Abstand zwischen den Abschnitten: Mobile halbiert & vereinheitlicht, Desktop unverändert */
section.py-24, footer.py-24 { padding-top: 3.15rem; padding-bottom: 3.15rem; }
@media (min-width: 768px) {
  section.py-24, footer.py-24 { padding-top: 6.3rem; padding-bottom: 6.3rem; }
}
/* Navbar von der globalen 10%-Schriftvergrößerung ausnehmen (Originalgrößen) */
@media (min-width: 768px) {
  header .header-brand span { font-size: 1.5rem; line-height: 2rem; }
  header nav a.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
}
/* ===== Kundenstimmen / Google-Bewertungen ===== */
.rev-section { background-color: #FAF8F2; }
.rev-rating-link {
  display: block;
  text-decoration: none;
  cursor: pointer;
  max-width: 30rem;
  margin: 0 auto 4.5rem;
  text-align: center;
}
.rev-score { display: flex; align-items: baseline; justify-content: center; gap: 0.6rem; }
.rev-score-num {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 4.125rem;
  line-height: 1;
  color: #1C1917;
}
.rev-score-max {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.65rem;
  color: #A8A29E;
}
.rev-scale { position: relative; margin-top: 1.6rem; padding: 0 0.5rem; }
.rev-scale-line {
  position: absolute;
  top: 50%;
  left: 0.5rem;
  right: 0.5rem;
  height: 1px;
  background: #D6D3D1;
}
.rev-scale-stars {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #FF4F00;
}
.rev-scale-star {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #FAF8F2;
  padding: 0 0.5rem;
}
.rev-scale-star svg { width: 1.7rem; height: 1.7rem; display: block; }
.rev-quotes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-top: 1rem;
}
@media (min-width: 768px) {
  .rev-quotes { grid-template-columns: repeat(3, 1fr); gap: 3rem; }
}
.rev-quote { border-left: 1px solid #E7E5E4; padding-left: 1.5rem; }
.rev-quote-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.3rem;
  color: #FF4F00;
  line-height: 0.6;
  display: block;
  margin-bottom: 0.5rem;
}
.rev-quote-text {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.265rem;
  color: #44403C;
  line-height: 1.55;
  margin: 0 0 1.25rem;
}
.rev-quote-author {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.825rem;
  letter-spacing: 0.03em;
  color: #78716C;
}

.icon-phone {
  width: 1em;
  height: 1em;
  display: block;
}
.methodik-dot {
  background: #FDFCF8;
  border: 1px solid #1C1917;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
  left: 19px !important;
  transform: translateX(-50%) !important;
  margin-left: 0 !important;
}
@media (min-width: 768px) {
  .methodik-dot {
    left: 50% !important;
  }
}
.methodik-dot.is-first,
.methodik-dot.is-filled-black {
  background: #1C1917;
  border-color: #1C1917;
}
.methodik-dot.is-filled-orange {
  background: #FF4F00;
  border-color: #FF4F00;
}
.methodik-stage:hover .methodik-dot {
  transform: translateX(-50%) scale(1.25) !important;
}
[data-methodik-timeline]::before {
  transform: translateX(-50%) !important;
}
@media (max-width: 767px) {
  .metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .metrics-third-card {
    grid-column: 1 / -1;
  }
  .metric-word-break {
    hyphens: none;
    -webkit-hyphens: none;
    overflow-wrap: normal;
    word-break: keep-all;
    white-space: nowrap;
    text-wrap: nowrap;
    font-size: clamp(1rem, 7.4vw, 1.9rem);
    line-height: 1.05;
  }
}
.animation-delay-0 { animation-delay: 0s; }
.animation-delay-200 { animation-delay: 0.2s; }
.animation-delay-400 { animation-delay: 0.4s; }

#diagnostic-cards > .group.over {
  border-color: rgb(255 79 0 / 1);
  background-color: rgb(255 255 255 / 0.15);
}
.group.over .group-over\:scale-110 {
  --tw-scale-x: 1.1;
  --tw-scale-y: 1.1;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.group.over .group-over\:animate-\[bounce_2\.2s_infinite\] { animation: bounce 2.2s infinite; }
.group.over .group-over\:animate-\[bounce_2\.5s_infinite\] { animation: bounce 2.5s infinite; }
.group.over .group-over\:animate-\[bounce_2s_infinite\] { animation: bounce 2s infinite; }
.group.over .group-over\:animate-\[dash_2s_ease-in-out_infinite\] { animation: dash 2s ease-in-out infinite; }
.group.over .group-over\:animate-\[pulse_2s_infinite\] { animation: pulse 2s infinite; }
.group.over .group-over\:animate-\[spin_4s_linear_infinite\] { animation: spin 4s linear infinite; }
.group.over .group-over\:animate-\[spin_6s_linear_infinite_reverse\] { animation: spin 6s linear infinite reverse; }
.group.over .group-over\:animate-float { animation: float 6s ease-in-out infinite; }
.group.over .group-over\:animate-glitch { animation: glitch 2s infinite; }
.group.over .group-over\:fill-white { fill: #fff; }
.group.over .group-over\:stroke-white { stroke: #fff; }
.group.over .group-over\:stroke-white\/50 { stroke: rgb(255 255 255 / 0.5); }
.group.over .group-over\:text-neutral-200 {
  --tw-text-opacity: 1;
  color: rgb(229 229 229 / var(--tw-text-opacity, 1));
}
.group.over .group-over\:text-rust {
  --tw-text-opacity: 1;
  color: rgb(255 79 0 / var(--tw-text-opacity, 1));
}
.group.over .group-over\:text-white\/80 { color: rgb(255 255 255 / 0.8); }
.group.over .group-over\:opacity-0 { opacity: 0; }
.group.over .group-over\:opacity-100 { opacity: 1; }
.is-reduced-motion *,
.is-reduced-motion *::before,
.is-reduced-motion *::after {
  animation-duration: 0.001ms !important;
  animation-iteration-count: 1 !important;
  scroll-behavior: auto !important;
  transition-duration: 0.001ms !important;
}

/* Blog & Article Styles */
.article-container {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.article-content h2,
.article-quellen h2 {
  font-family: var(--font-serif);
  font-size: 1.875rem;
  line-height: 1.25;
  color: var(--color-ink);
  margin-top: 2.75rem;
  margin-bottom: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.article-quellen h2 {
  margin-top: 0;
}
@media (min-width: 768px) {
  .article-content h2 {
    font-size: 2.25rem;
    margin-top: 3.5rem;
  }
  .article-quellen h2 {
    font-size: 2.25rem;
  }
}

.article-content h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 1.3;
  color: var(--color-ink);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-weight: 500;
}
@media (min-width: 768px) {
  .article-content h3 {
    font-size: 1.5rem;
  }
}

.article-content p {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.75;
  color: #292524;
  font-weight: 400;
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) {
  .article-content p {
    font-size: 1.125rem;
  }
}

.article-content p strong,
.article-content strong {
  font-weight: 600;
  color: var(--color-ink);
}

.article-content a {
  color: var(--color-ink);
  text-decoration: underline;
  text-decoration-color: #D6D3D1;
  text-underline-offset: 3px;
  transition: all 0.2s ease;
}
.article-content a:hover {
  color: var(--color-rust);
  text-decoration-color: var(--color-rust);
}

.article-figure {
  margin-left: -1.5rem;
  margin-right: -1.5rem;
  width: calc(100% + 3rem);
  background-color: #ffffff;
  border-top: 1px solid var(--color-neutral-200, #e5e7eb);
  border-bottom: 1px solid var(--color-neutral-200, #e5e7eb);
  border-left: none;
  border-right: none;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
}

.article-figure-img,
.article-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 0;
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.article-figure figcaption {
  margin-top: 0.75rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-bottom: 0.75rem;
  text-align: center;
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--color-neutral-500, #737373);
}

@media (min-width: 768px) {
  .article-figure {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    border: 1px solid var(--color-neutral-200, #e5e7eb);
    border-radius: 0.125rem;
    padding: 0.75rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  }

  .article-figure-img,
  .article-figure img {
    border-radius: 0.125rem;
  }

  .article-figure figcaption {
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
  }
}

.article-callout-box {
  background-color: #F7F5F0;
  border-left: 3px solid var(--color-rust);
  padding: 1.5rem 1.75rem;
  margin-top: 2rem;
  margin-bottom: 2.25rem;
  border-radius: 0 4px 4px 0;
}

.article-callout-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-rust);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.article-callout-box ul {
  margin: 0;
  padding-left: 1.25rem;
  list-style-type: disc;
}

.article-callout-box li {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-ink);
  margin-bottom: 0.5rem;
}

.article-note-box {
  background-color: rgba(231, 229, 212, 0.25);
  border: 1px solid rgba(28, 25, 23, 0.08);
  padding: 1.25rem 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
  font-size: 0.925rem;
  line-height: 1.65;
  color: #57534E;
}

.article-table-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 2rem;
  margin-bottom: 2.5rem;
  border: 1px solid #E7E5E4;
  border-radius: 4px;
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

/* Vier-Spalten-Tabelle: Desktop ohne Scrollbalken, Mobile weiterhin scrollbar */
@media (min-width: 768px) {
  .article-table-container--fit {
    overflow-x: hidden;
  }

  .article-table-container--fit .article-table {
    table-layout: fixed;
  }

  .article-table-container--fit .article-table th,
  .article-table-container--fit .article-table td {
    overflow-wrap: break-word;
    word-wrap: break-word;
  }

  .article-table-container--fit .article-table-badge {
    white-space: normal;
  }
}

@media (max-width: 767px) {
  .article-table-container--fit .article-table {
    min-width: 40rem;
  }
}

.article-table th {
  background-color: #1C1917;
  color: #FDFCF8;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.85rem 1rem;
  font-weight: 500;
}

.article-table td {
  padding: 1rem;
  border-bottom: 1px solid #E7E5E4;
  font-family: var(--font-sans);
  vertical-align: top;
  color: #292524;
  line-height: 1.55;
}

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

.article-table tr:nth-child(even) {
  background-color: #FAF8F5;
}

.article-table-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-rust);
  background-color: rgba(255, 79, 0, 0.08);
  padding: 0.25rem 0.6rem;
  border-radius: 2px;
  white-space: nowrap;
}

.article-list {
  padding-left: 1.5rem;
  margin-bottom: 1.75rem;
  list-style-type: disc;
}

.article-list li {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: #292524;
  margin-bottom: 0.6rem;
}
@media (min-width: 768px) {
  .article-list li {
    font-size: 1.05rem;
  }
}

.article-num-list {
  counter-reset: article-counter;
  list-style: none;
  padding-left: 0;
  margin-bottom: 2rem;
}

.article-num-list li {
  position: relative;
  padding-left: 2.75rem;
  margin-bottom: 1.25rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: #292524;
}
@media (min-width: 768px) {
  .article-num-list li {
    font-size: 1.05rem;
  }
}

.article-num-list li::before {
  counter-increment: article-counter;
  content: counter(article-counter);
  position: absolute;
  left: 0;
  top: 0.15rem;
  width: 1.8rem;
  height: 1.8rem;
  background-color: #1C1917;
  color: #FDFCF8;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
}

/* Blog overview */
.blog-container {
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
}

.blog-page-header {
  margin-bottom: 2.75rem;
}

.blog-kicker {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-rust);
  margin: 0 0 1rem;
}

.blog-page-title {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--color-ink);
  font-weight: 500;
  margin: 0 0 1rem;
}

.blog-page-lead {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  line-height: 1.65;
  color: #292524;
  margin: 0;
  max-width: 36rem;
}

.blog-featured-block {
  margin-bottom: 5.5rem;
}

.blog-featured-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-rust);
  text-align: right;
  margin: 0 0 0.85rem;
}

.blog-featured {
  display: block;
  text-decoration: none;
  color: inherit;
  margin-bottom: 0;
}

.blog-featured-media {
  margin: 0 0 1.5rem;
  overflow: hidden;
  border: 1px solid #D6D3D1;
  background: #F5F0E8;
}

.blog-more {
  margin-top: 0.5rem;
  padding-top: 0.25rem;
}

.blog-featured-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
}

.blog-featured-title {
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--color-ink);
  font-weight: 500;
  margin: 0 0 0.85rem;
}

.blog-featured:hover .blog-featured-title,
.blog-item:hover .blog-item-title {
  color: var(--color-rust);
}

.blog-featured-excerpt,
.blog-item-excerpt {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.65;
  color: #292524;
  font-weight: 400;
  margin: 0 0 1.15rem;
  max-width: 42rem;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
  margin-bottom: 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #44403C;
}

.blog-meta-tag {
  color: var(--color-rust);
  font-weight: 500;
}

.blog-meta-sep {
  color: #A8A29E;
}

.blog-section-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-paper);
  background: var(--color-ink);
  padding: 0.4rem 0.85rem;
  border-radius: 2px;
  margin: 0 0 1.25rem;
}

.blog-list {
  display: flex;
  flex-direction: column;
}

.blog-item {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 1.75rem 0 2.75rem;
  border-bottom: 1px solid #D6D3D1;
}

.blog-item:first-child {
  border-top: 1px solid #D6D3D1;
}

.blog-item-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  line-height: 1.25;
  color: var(--color-ink);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 0.55rem;
  transition: color 0.2s ease;
}

@media (min-width: 768px) {
  .blog-item-title {
    font-size: 1.65rem;
  }
}

.blog-link {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 0.5rem;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-rust);
  font-weight: 500;
  line-height: 1;
  transition: transform 0.2s ease, color 0.2s ease;
}

.blog-featured:hover .blog-link,
.blog-item:hover .blog-link {
  transform: translateX(4px);
  color: var(--color-ink);
}

.blog-link span,
.blog-link svg {
  display: block;
  flex: 0 0 auto;
}

.blog-link svg {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px;
  max-width: 16px;
}

.article-author-box {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #E7E5E4;
}

.article-faq details {
  border-bottom: 1px solid #E7E5E4;
  padding: 1.1rem 0;
}

.article-faq details:first-of-type {
  border-top: 1px solid #E7E5E4;
}

.article-faq summary {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--color-ink);
  cursor: pointer;
  list-style: none;
}

.article-faq summary::-webkit-details-marker {
  display: none;
}

.article-faq details[open] summary {
  color: var(--color-rust);
}

.article-faq details p {
  margin-top: 0.75rem;
  margin-bottom: 0.25rem;
}

/* Article / blog CTA banner */
.article-cta {
  margin-top: 4rem;
  background-color: #1C1917;
  color: #FDFCF8;
  padding: 2rem;
  border-radius: 0.125rem;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .article-cta {
    padding: 3rem;
  }
}

.article-cta-inner {
  position: relative;
  z-index: 10;
  max-width: 36rem;
}

.article-cta-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-rust);
  margin-bottom: 0.75rem;
}

.article-cta-title {
  font-family: var(--font-serif);
  font-size: 1.875rem;
  line-height: 1.2;
  color: #FDFCF8;
  font-weight: 500;
  margin: 0 0 1rem;
}

@media (min-width: 768px) {
  .article-cta-title {
    font-size: 2.25rem;
  }
}

.article-cta-text {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.65;
  color: #E7E5E4;
  font-weight: 400;
  margin: 0 0 2rem;
}

@media (min-width: 768px) {
  .article-cta-text {
    font-size: 1.125rem;
  }
}

.article-cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.article-cta-btn {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 0.65rem;
  background-color: var(--color-rust);
  color: #fff;
  padding: 0.85rem 1.4rem;
  border-radius: 0.125rem;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.article-cta-btn span,
.article-cta-btn svg {
  display: block;
  flex: 0 0 auto;
}

.article-cta-btn svg {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px;
  max-width: 16px;
}

.article-cta-btn:hover {
  background-color: #fff;
  color: var(--color-ink);
}

.article-cta-phone {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #A8A29E;
  text-decoration: none;
  transition: color 0.2s ease;
}

.article-cta-phone:hover {
  color: #FDFCF8;
}

/* Reading progress – 6px in Button-Orange (wie .article-cta-btn) */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  z-index: 100;
  pointer-events: none;
  background: transparent;
  overflow: hidden;
}

.reading-progress__bar {
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
  background-color: var(--color-rust);
}

@media (prefers-reduced-motion: reduce) {
  .reading-progress__bar {
    transition: none;
  }
}

