/* ====== Fonts ====== */
/* ====== Fonts (bereinigt) ====== */
@font-face {
  font-family: "SPD_TheSans";
  src: url("assets/SPD_TheSans/SPD_TheSans_TT5_.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "SPD_TheSans";
  src: url("assets/SPD_TheSans/SPD_TheSans_TT5i.ttf") format("truetype");
  font-weight: 500;
  font-style: italic;
}

@font-face {
  font-family: "SPD_TheSans";
  src: url("assets/SPD_TheSans/SPD_TheSans_TT7_.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "SPD_TheSans";
  src: url("assets/SPD_TheSans/SPD_TheSans_TT8_.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
}

/* Versal-Variante nur dort, wo du sie wirklich brauchst (z.B. .card-alt h3) */
@font-face {
  font-family: "SPD_TheSansVersal";
  src: url("assets/SPD_TheSansVersal/SPD_TheSans_V_TT7_.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

/* ====== Design Tokens ====== */
:root {
  --spd-red: #e3000f;
  --text: #1f2937;
  --text-light: #6b7280;
  --bg: #ffffff;
  --bg-alt: #f3f4f6;
  --border: #e5e7eb; /* gray-200 */
  --focus: #0ea5e9; /* sky-500 */
  --success: #047857; /* emerald-700 */
  --error: #b91c1c; /* red-700 */
  --maxw: 1120px;
  --radius: 16px;
  --shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --text-gradient: linear-gradient(
    135deg,
    #c02016,
    #c02016,
    #e3000f,
    #ed6a22,
    #ed9d33
  );
}

/* ====== Base ====== */
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg-alt);
  color: var(--text);
  font-family: "SPD_TheSans", system-ui, -apple-system, Segoe UI, Roboto, Ubuntu,
    Cantarell, "Noto Sans", "Helvetica Neue", Arial, "Apple Color Emoji",
    "Segoe UI Emoji";
  line-height: 1.5;
  font-size: 16px;
  margin: 0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.no-scroll {
  overflow: hidden;
}
* {
  box-sizing: border-box;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--spd-red);
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}
a:hover {
  text-decoration: none;
}
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

h2 {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 3rem;
  color: #111;
  letter-spacing: -0.025em;
}

/* ====== Accessibility ====== */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  position: fixed;
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  background: #111;
  color: #fff;
  z-index: 9999;
  border-radius: 8px;
}
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

/* ====== Header ====== */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--border);
  height: 64px;
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}
.brand .badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  background: var(--spd-red);
  border-radius: 4px;
  padding: 2px 6px;
  letter-spacing: 0.02em;
}
.brand .name {
  font-size: 18px;
  letter-spacing: 0.2px;
}

nav.primary-nav {
  display: none;
  gap: 20px;
}
nav.primary-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  padding: 10px 8px;
  border-radius: 10px;
}
nav.primary-nav a:hover,
nav.primary-nav a:focus-visible {
  background: var(--bg-alt);
}

.nav-cta {
  display: none;
}
.btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  font-weight: 700;
  border-radius: 12px;
  padding: 7px 7px;
  transition: filter 0.2s ease-in-out, transform 0.2s ease-in-out;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-primary {
  background: var(--text-gradient);
  color: #fff;
  text-decoration: none;
}
.btn-primary:hover {
  filter: brightness(0.92);
}
.btn-secondary {
  background: #111827;
  color: #fff;
}
.btn-link {
  background: transparent;
  color: var(--spd-red);
  padding: 0;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
}
.menu-toggle[aria-expanded="true"] {
  background: var(--bg-alt);
}

/* ====== Mobile Menu ====== */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 100;
}
.mobile-menu.open {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.mobile-menu a {
  display: block;
  padding: 14px 20px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 24px;
  text-align: center;
}
.mobile-menu a:hover {
  background: var(--bg-alt);
}

.close-menu {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 40px;
  cursor: pointer;
}

/* ====== Sections ====== */
section {
  padding: 1rem 0;
}
section.hero {
  padding: 24px 0 24px;
  background: linear-gradient(180deg, #fff 0%, #fff 60%, var(--bg-alt) 100%);
}
.grid {
  display: grid;
  gap: 24px;
}

/* ====== Hero ====== */
.hero .hgroup h1 {
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.15;
  margin: 8px 0 12px;
}
.hero .hgroup p.subline {
  font-size: clamp(18px, 2.2vw, 20px);
  color: #111827;
  margin: 0 0 20px;
}
.hero .proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  color: var(--muted);
  font-weight: 600;
  margin-top: 16px;
}
.hero .actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.hero .hint {
  font-size: 14px;
  color: var(--muted);
}
.hero .media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #000;
  aspect-ratio: 1 / 1;
  position: relative;
}
.hero .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero .media .portrait-image {
  opacity: 0;
}

/* ====== Cards / Problems ====== */
.cards {
  display: grid;
  gap: 16px;
}
.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  padding: 18px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.card h3 {
  margin-top: 0;
  font-size: 20px;
}
.card p {
  margin: 8px 0 0;
}

/* ====== Pillars ====== */
.pillars {
  display: grid;
  gap: 16px;
}
.pillar {
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: linear-gradient(white, white) padding-box,
    var(--text-gradient) border-box;
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  overflow: hidden; /* This is important to make the top-corner-radius of the header work */
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  border-top: none;
}

.pillar:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.pillar-header {
  background: var(--text-gradient);
  color: white;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.pillar-header svg {
  fill: white;
  width: 32px; /* Adjust size as needed */
  height: 32px;
  flex-shrink: 0; /* Prevents the icon from shrinking */
}

.pillar-header h3 {
  margin: 0;
  font-size: 16px; /* Adjust as needed */
  text-transform: uppercase;
  color: white;
  font-weight: 700;
}

.pillar-body {
  padding: 30px 35px;
}

.pillar-body p {
  color: var(--text);
  margin: 0;
}

.pillar ul {
  color: var(--text);
}

.pillar .result {
  font-weight: 600;
  margin-top: 12px;
}

/* ====== About ====== */
.about {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.about .profile {
  display: grid;
  gap: 20px;
}
.about .portrait {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  max-width: 520px;
}
.about ul {
  margin-left: 18px;
}

/* ====== Social Proof ====== */
.quotes {
  display: grid;
  gap: 16px;
}
.quote {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  padding: 20px;
}
.quote p {
  margin: 0;
}
.quote .meta {
  margin-top: 10px;
  color: var(--muted);
  font-weight: 600;
}
.logos {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  opacity: 0.8;
}
.transparency {
  font-size: 14px;
  color: var(--muted);
}

/* ====== Accordion (Positions & FAQ) ====== */
.accordion {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}
.accordion + .accordion {
  margin-top: 12px;
}
.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 16px 18px;
  background: #fff;
  text-align: left;
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
  list-style: none; /* Hide default marker */
}
.accordion-header::-webkit-details-marker {
  display: none; /* Hide default marker for Safari */
}
.accordion-header:hover {
  background: var(--bg-alt);
}
.accordion-header .chev {
  transition: transform 0.2s ease;
}
.accordion[open] > .accordion-header .chev {
  transform: rotate(180deg);
}
.accordion-panel {
  padding: 0 18px 16px;
}
.accordion-panel p {
  margin: 8px 0;
}

/* ====== Final CTA / Form ====== */
.cta {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}
form.newsletter {
  display: grid;
  gap: 12px;
}
.field {
  display: grid;
  gap: 6px;
}
label {
  font-weight: 600;
}
input[type="email"] {
  width: 100%;
  padding: 14px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-size: 16px;
}
input[type="email"]:focus-visible {
  border-color: var(--focus);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--focus) 20%, transparent);
}
.checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.form-note {
  font-size: 14px;
  color: var(--muted);
}
.form-msg {
  font-size: 14px;
  font-weight: 700;
  display: none;
}
.form-msg.ok {
  color: var(--success);
}
.form-msg.err {
  color: var(--error);
}

/* ====== Footer ====== */
footer {
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
  padding: 20px 0;
  font-size: 14px;
  text-align: center; /* Center text for smaller screens */
}
.footer-content {
  display: flex;
  flex-direction: column; /* Stack content vertically by default */
  align-items: center; /* Center items horizontally when stacked */
  gap: 8px; /* Space between stacked items */
}
.footer-links {
  display: flex;
  gap: 8px; /* Space between individual links */
  flex-wrap: wrap;
  justify-content: center; /* Center links within their container */
}
.footer-content .form-note {
  margin: 0; /* Remove all default margins */
  line-height: 1.5; /* Ensure consistent line-height */
}

/* ====== CTA Container for 2-column layout ====== */
.cta-container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 700px) {
  .cta-container {
    display: flex;
    gap: 16px; /* Adjust the gap as needed */
    align-items: stretch; /* Make sure both sections stretch to the same height */
  }
  .cta-container > section {
    flex: 1 1 0%; /* Make both sections take up equal space explicitly */
    display: flex;
    flex-direction: column;
    padding-top: 28px;
    padding-bottom: 28px;
  }
  .cta-container > section > .container {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 0; /* Remove padding from nested container to avoid double padding */
  }
  .cta-container .cta {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
}

/* For larger screens, display content in a row */
@media (min-width: 700px) {
  .footer-content {
    flex-direction: row; /* Display content horizontally */
    justify-content: center; /* Center content horizontally */
    gap: 20px; /* Space between links and copyright */
    align-items: center; /* Explicitly ensure vertical alignment */
  }
  .footer-links {
    gap: 16px; /* Adjust spacing between links for wider screens */
    line-height: 1.5; /* Ensure consistent line-height */
  }
}

/* ====== Sticky Mobile CTA ====== */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--border);
  backdrop-filter: saturate(1.2) blur(6px);
  display: none;
  z-index: 40;
}
.sticky-cta .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.sticky-cta .btn {
  flex: 1;
}

/* ====== Layout Breakpoints ====== */

/* Mobile-first approach (default is one column) */

/* Tablets */
@media (min-width: 700px) {
  .cards,
  .pillars {
    grid-template-columns: repeat(2, 1fr); /* 2 columns for tablets */
  }
  .hero .grid {
    grid-template-columns: 1fr; /* Keep hero stacked on smaller tablets */
  }
  /* Show desktop nav earlier if space allows */
}

/* Larger Tablets and Desktops */
@media (min-width: 1024px) {
  .cards,
  .pillars {
    grid-template-columns: repeat(3, 1fr); /* 3 columns for desktop */
  }
  .hero .grid {
    grid-template-columns: 1.1fr 0.9fr; /* Side-by-side hero for desktop */
    align-items: center;
  }
  .about .profile {
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
  }
}

/* Keep sticky CTA for mobile only */
@media (max-width: 699.98px) {
  .sticky-cta {
    display: block;
  }
}

@media (min-width: 800px) {
  nav.primary-nav {
    display: flex;
    align-items: center;
  }
  .nav-cta {
    display: flex;
    align-items: center;
  }
  .menu-toggle {
    display: none;
  }
}

.themen-cards {
  margin-top: 32px; /* Add some space above the cards */
}

.themen-cards .card img {
  width: 100%;
  /* height: 180px;  Removed fixed height */
  object-fit: contain; /* Changed from cover to contain */
  border-radius: var(--radius); /* Reuse existing border-radius */
  margin-bottom: 16px;
}

@media (min-width: 1200px) {
  .themen-cards {
    grid-template-columns: repeat(4, 1fr);
  }
}

.themen-cards .card {
  cursor: pointer;
}

/* Video Modal Styles */
.video-modal {
  display: none;
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden; /* Changed to hidden to prevent scrollbars */
  background-color: rgba(0, 0, 0, 0.8);
  align-items: center;
  justify-content: center;
}

.video-modal.show {
  display: flex;
}

.video-modal-content {
  position: relative;
  width: 100%;
  max-width: 100%; /* Changed from 100vw */
  height: 100%; /* Added to take full height of modal */
  display: flex; /* Added to center the video */
  align-items: center;
  justify-content: center;
}

.video-modal video {
  width: 100%;
  height: 100vh;
  max-height: 100vh;
  object-fit: contain; /* Ensure video is not cropped if aspect ratio differs */
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 15px; /* Adjusted right position */
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 101;
  background-color: rgba(0, 0, 0, 0.5); /* Added background for visibility */
  border-radius: 50%; /* Made it circular */
  width: 50px; /* Set a fixed width */
  height: 50px; /* Set a fixed height */
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1; /* Adjust line-height for vertical centering */
}

#hero-title {
  background: var(--text-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

.inline-quote {
  border-left: 3px solid #e3000f; /* SPD-Rot */
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: #374151; /* dunkles Grau */
}

.inline-quote p {
  margin-bottom: 0.5rem;
}

.inline-quote small {
  font-style: normal;
}
.video-thumbnail-wrapper {
  position: relative;
  display: block; /* Ensure it takes up space */
  cursor: pointer;
  overflow: hidden; /* For rounded corners */
}

.video-thumbnail-wrapper img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.video-thumbnail-wrapper:hover img {
  transform: scale(1.05); /* Slight zoom effect on hover */
}

.play-button-overlay {
  position: absolute;
  top: 77%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
  border: solid 1px white;
}

.video-thumbnail-wrapper:hover .play-button-overlay {
  background-color: rgba(
    227,
    0,
    15,
    0.95
  ); /* Slightly less transparent on hover */
}

.play-icon {
  fill: white;
  width: 30px;
  height: 30px;
}
.service-page {
  padding-top: 40px;
  padding-bottom: 40px;
  background: var(--bg-alt);
}

.service-section {
  margin-bottom: 5px;
}

.service-page h1 {
  font-size: clamp(28px, 3.2vw, 36px);
  margin-bottom: 24px;
}

.service-page .card {
  box-shadow: none;
  border-color: var(--border);
}

.service-page .accordion-panel h2 {
  font-size: 18px;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

.service-page .accordion-panel h3 {
  font-size: 16px;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  font-weight: 700;
}

.service-page .accordion-panel p,
.service-page .accordion-panel ul {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
}

.service-page .accordion-panel ul {
  padding-left: 20px;
}

.accordion-header::after {
  content: "+";
  font-size: 24px;
  color: var(--muted);
  transition: transform 0.2s ease;
}

.accordion[open] > .accordion-header::after {
  transform: rotate(45deg);
}

.accordion-header .chev {
  display: none;
}

/* ====== Alternative Cards ====== */
.cards-alt {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  padding-bottom: 1rem;
}

.card-alt {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px;
  border-left: 3px solid var(--spd-red);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.card-alt:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card-alt h3 {
  margin-top: 0;
  font-size: 18px;
  font-family: "SPD_TheSansVersal", sans-serif;
  font-weight: 700;
  color: var(--spd-red);
}

.card-alt p {
  margin: 12px 0 0;
  color: var(--text);
  line-height: 1.6;
}

/* ====== Interactive Cards Grid ====== */
.interactive-cards-grid {
  display: grid;
  gap: 32px;
  padding-bottom: 2rem;
  /* CRITICAL FIX: Stops cards from stretching to match the height of the open card */
  align-items: start;
}

@media (min-width: 768px) {
  .interactive-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .interactive-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ====== Card Base ====== */
.interactive-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: var(--transition);
  /* Fix for mobile tap highlight */
  -webkit-tap-highlight-color: transparent;
  transform-style: preserve-3d;
}

/* Red Accent Line (Top) */
.interactive-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--spd-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  z-index: 20;
}

/* Hover & Active States */
.interactive-card:hover,
.interactive-card.active {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(227, 0, 15, 0.1); /* Subtle red border hint */
}

.interactive-card:hover::before,
.interactive-card.active::before {
  transform: scaleX(1);
}

/* Content Padding */
.interactive-card-content {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  z-index: 10;
}

/* Icon Wrapper */
.card-icon-wrapper {
  width: 64px;
  height: 64px;
  background: #fff0f0; /* Very light red */
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--spd-red);
  transition: var(--transition);
}

.interactive-card:hover .card-icon-wrapper,
.interactive-card.active .card-icon-wrapper {
  background: var(--text-gradient);
  color: white;
  transform: scale(1.1) rotate(-3deg); /* Playful pop */
}

.card-icon-wrapper svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
  transition: transform 0.3s ease;
}

/* Typography */
.interactive-card h3 {
  font-size: 1.5rem;
  margin: 0 0 12px 0;
  color: #111;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.card-intro {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 0;
}

.card-intro strong {
  color: var(--text);
  font-weight: 700;
}

/* ====== "Mehr Erfahren" Mobile Hint ====== */
.tap-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: var(--spd-red);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;

  /* Animation props */
  opacity: 1;
  max-height: 40px;
  transition: all 0.4s ease;
}

.tap-hint svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

/* Hint Animation loop */
@keyframes bounce-x {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(4px);
  }
}

.tap-hint svg {
  animation: bounce-x 1.5s infinite;
}

/* Hide Hint on Interaction */
.interactive-card:hover .tap-hint,
.interactive-card.active .tap-hint {
  opacity: 0;
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
}

/* ====== Hidden Content (The Solution) ====== */
.card-hidden-details {
  display: grid; /* Using grid for smooth height animation */
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.5s ease, margin-top 0.5s ease, padding-top 0.5s ease;
  opacity: 0;
  border-top: 1px solid transparent;
}

.card-hidden-details > div {
  overflow: hidden;
}

/* Reveal State */
.interactive-card:hover .card-hidden-details,
.interactive-card.active .card-hidden-details {
  grid-template-rows: 1fr;
  opacity: 1;
  margin-top: 24px;
  padding-top: 24px;
  border-top-color: var(--border);
}

/* List Styles */
.card-hidden-details ul {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--text);
  font-size: 0.95rem;
}

.card-hidden-details li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
}

.card-hidden-details li::before {
  content: "•";
  color: var(--spd-red);
  font-weight: bold;
  font-size: 1.5em;
  position: absolute;
  left: 0;
  top: -6px; /* Adjust vertical align */
}

.card-hidden-details li:last-child {
  margin-bottom: 0;
}

/* Result Box */
.card-hidden-details .result {
  margin-top: 20px;
  background: linear-gradient(to right, #fef2f2, #fff);
  border-left: 4px solid var(--spd-red);
  padding: 16px;
  border-radius: 0 8px 8px 0;
  font-size: 0.95rem;
  color: #111;
}

.card-hidden-details .result strong {
  display: block;
  color: var(--spd-red);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}
