/* =========================================================
   STAHRINGER.EU — STYLESHEET
   ========================================================= */

/* =========================================================
   1. ROOT / DESIGN TOKENS
   ========================================================= */
:root {
  --bg: #f5f5f3;
  --surface: #ffffff;
  --surface-soft: #f0f0ec;

  --text: #4d4d4d;
  --text-soft: #7f7f7f;
  --heading: #4b4b4b;

  --accent: #f4b544;
  --accent-secondary: #c8ff4d;
  --accent-dark: #d89b2e;

  --line: #e7e7e2;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.06);

  --radius: 20px;
  --container: 1180px;

  --nav-height: 90px;
  --transition-fast: 0.22s ease;
  --transition-reveal: 0.8s ease;
}

/* =========================================================
   2. RESET / BASE
   ========================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

/* =========================================================
   3. GLOBAL LAYOUT
   ========================================================= */
.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.intro,
.analysis,
.services,
.contact,
.partners,
.cta {
  padding: 88px 0;
  scroll-margin-top: 120px;
}

#ueber-uns {
  scroll-margin-top: 140px;
}

.section-alt {
  background: linear-gradient(180deg, #f0f0ec 0%, #ecece7 100%);
}

/* =========================================================
   4. ANIMATIONS
   ========================================================= */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseGlow {
  0%,
  100% {
    box-shadow: 0 12px 30px rgba(244, 181, 68, 0.25);
  }
  50% {
    box-shadow: 0 18px 42px rgba(244, 181, 68, 0.38);
  }
}

/* =========================================================
   5. REVEAL / SCROLL ANIMATIONS
   ========================================================= */
.reveal {
  opacity: 0;
  transition:
    opacity var(--transition-reveal),
    transform var(--transition-reveal);
  will-change: opacity, transform;
}

.reveal-left {
  transform: translateX(-60px);
}

.reveal-right {
  transform: translateX(60px);
}

.reveal-up {
  transform: translateY(42px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.40s; }
.reveal-delay-6 { transition-delay: 0.48s; }

/* =========================================================
   6. HEADER / NAVIGATION
   ========================================================= */
.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(245, 245, 243, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(231, 231, 226, 0.85);
  transition:
    background 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.topbar.scrolled {
  background: rgba(220, 220, 215, 0.97);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.nav {
  min-height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  position: relative;
  z-index: 1004;
}

.brand img {
  height: 62px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 0.96rem;
  color: var(--text-soft);
}

.nav-links a {
  position: relative;
  transition: color var(--transition-fast);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
  font-weight: 700;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 1004;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background var(--transition-fast),
    border-color var(--transition-fast),
    transform var(--transition-fast);
}

.nav-toggle:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.nav-toggle span {
  position: absolute;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--heading);
  transition:
    transform 0.25s ease,
    opacity 0.25s ease,
    top 0.25s ease;
}

.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 23px; }
.nav-toggle span:nth-child(3) { top: 30px; }

.nav-toggle.is-active span:nth-child(1) {
  top: 23px;
  transform: rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
  top: 23px;
  transform: rotate(-45deg);
}

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 998;
  background: rgba(0, 0, 0, 0.22);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
}

.mobile-nav-backdrop.is-visible {
  opacity: 1;
  visibility: visible;
}

/* =========================================================
   7. HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  scroll-margin-top: 100px;
  background: url("sphere.jpg") center center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.58) 0%,
    rgba(0, 0, 0, 0.34) 45%,
    rgba(0, 0, 0, 0.2) 100%
  );
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  min-height: calc(100vh - var(--nav-height));
}

.hero-copy {
  max-width: 640px;
  padding: 72px 0;
  animation: fadeUp 0.8s ease both;
}

.hero-copy .small {
  margin: 0 0 14px;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4.7rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: #ffffff;
  font-weight: 800;
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
}

.hero-copy p {
  max-width: 560px;
  margin: 22px 0 0;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

/* =========================================================
   8. BUTTONS
   ========================================================= */
.btn,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 200px;
  height: 54px;
  padding: 0 22px;
  border-radius: 14px;
  font-size: 1rem;
  cursor: pointer;
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    background var(--transition-fast),
    color var(--transition-fast),
    border-color var(--transition-fast);
}

.btn {
  color: #000;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  box-shadow: 0 10px 24px rgba(244, 181, 68, 0.3);
}

.btn:hover {
  transform: translateY(-2px);
  background: var(--accent-dark);
  box-shadow: 0 16px 34px rgba(244, 181, 68, 0.34);
}

.btn-secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
}

.btn-secondary:hover {
  color: #000;
  border-color: var(--accent);
  background: var(--accent);
}

/* =========================================================
   9. TYPOGRAPHY / SECTION HEADERS
   ========================================================= */
.section-title {
  margin-bottom: 44px;
  text-align: center;
}

.section-title h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--heading);
}

.section-title h2 .accent {
  color: var(--accent);
}

.section-title p {
  max-width: 900px;
  margin: 18px auto 0;
  color: var(--text-soft);
}

/* =========================================================
   10. INTRO
   ========================================================= */
.intro-text {
  max-width: 940px;
  font-size: 1.08rem;
  color: var(--text-soft);
}

.intro-text p {
  margin: 0 0 14px;
}

.intro-text strong {
  font-size: 1.1em;
  color: var(--heading);
}

/* =========================================================
   11. ANALYSIS
   ========================================================= */
.analysis {
  background: #fff;
}

.analysis-box {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
  padding: 38px 34px;
}

.analysis-kicker {
  margin: 0 0 10px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.analysis-box h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  text-transform: uppercase;
  color: var(--heading);
  letter-spacing: -0.03em;
}

.analysis-lead {
  max-width: 720px;
  margin: 18px auto 0;
  font-size: 1.02rem;
  color: var(--text-soft);
}

.analysis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 32px;
  text-align: left;
}

.analysis-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 18px 16px;
  background: #fafaf8;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.analysis-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  color: #000;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(244, 181, 68, 0.18);
}

.analysis-item h3 {
  margin: 0 0 4px;
  font-size: 1.02rem;
  color: var(--heading);
}

.analysis-item p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-soft);
}

.analysis-note {
  max-width: 700px;
  margin: 24px auto 0;
  color: var(--text-soft);
}

.analysis-actions {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

/* =========================================================
   12. SERVICES
   ========================================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 70px;
}

.service-card {
  position: relative;
  min-height: 250px;
  padding: 42px 28px 28px;
  text-align: center;
  background: #fff;
  border-radius: 0;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.08);
}

.service-icon {
  width: 74px;
  height: 74px;
  margin: -78px auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.8rem;
  font-weight: 700;
  color: #000;
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  box-shadow: 0 10px 24px rgba(244, 181, 68, 0.3);
}

.service-card h3 {
  margin: 0 0 12px;
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--heading);
}

.service-card p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--text-soft);
}

/* =========================================================
   13. CHIPS
   ========================================================= */
.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 920px;
  margin: 34px auto 0;
}

.chip {
  padding: 11px 16px;
  font-size: 0.94rem;
  color: #656565;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-align: center;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.chip:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06);
}

/* =========================================================
   14. CARD / CONTACT
   ========================================================= */
.card {
  padding: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.08);
}

.contact-card {
  max-width: 700px;
  margin: 0 auto;
  padding: 26px 24px;
  text-align: center;
}

.contact-top {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}

.contact-card .contact-top {
  justify-content: center;
  text-align: left;
}

.avatar {
  width: 96px;
  height: 96px;
  flex: 0 0 96px;
  overflow: hidden;
  border-radius: 18px;
  background: #f0f0ec;
}

.contact-card .avatar {
  width: 70px;
  height: 70px;
  flex: 0 0 70px;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card h3 {
  margin: 0;
  font-size: 1.5rem;
  color: var(--heading);
}

.contact-card h3 {
  font-size: 1.25rem;
}

.role {
  margin-top: 4px;
  font-weight: 700;
  color: var(--accent);
}

.contact-card .role {
  font-size: 0.95rem;
}

.contact-intro {
  margin: 14px 0 18px;
  color: var(--text-soft);
  font-size: 0.98rem;
}

.info-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 24px;
}

.contact-card .info-list {
  gap: 10px;
  align-items: center;
}

.info-item {
  padding: 14px 16px;
  color: var(--text-soft);
  background: #fafaf8;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.contact-card .info-item {
  text-align: center;
}

.contact-actions {
  margin-top: 18px;
  text-align: center;
}

/* =========================================================
   15. PARTNERS
   ========================================================= */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: center;
  gap: 18px;
}

.partner {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    border-color var(--transition-fast);
}

.partner:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.07);
}

.partner img {
  max-width: 120px;
  max-height: 55px;
  object-fit: contain;
  opacity: 0.92;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.partner:hover img {
  opacity: 1;
  transform: scale(1.05);
}

/* =========================================================
   16. CTA
   ========================================================= */
.cta-box {
  padding: 42px 28px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.cta-box h2 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  text-transform: uppercase;
  color: var(--heading);
}

.cta-box h2 .accent {
  color: var(--accent);
}

.cta-box p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--text-soft);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
  text-align: center;
}

.cta-actions .btn,
.cta-actions .btn-secondary {
  min-width: 220px;
  height: 56px;
  font-size: 1.05rem;
  border-radius: 14px;
  letter-spacing: 0.02em;
}

.cta-actions .btn {
  color: #000;
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  box-shadow: 0 12px 30px rgba(244, 181, 68, 0.35);
  animation: pulseGlow 3.2s ease-in-out infinite;
}

.cta-actions .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(244, 181, 68, 0.45);
}

.cta-actions .btn-secondary {
  color: var(--accent);
  background: #fff;
  border: 2px solid var(--accent);
}

.cta-actions .btn-secondary:hover {
  color: #000;
  background: var(--accent);
}

/* =========================================================
   17. FOOTER
   ========================================================= */
footer {
  background: #efefec;
  border-top: 1px solid var(--line);
}

.footer-inner {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--text-soft);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a:hover {
  color: var(--accent);
}

/* =========================================================
   18. LEGAL PAGES
   ========================================================= */
.legal-page {
  padding-bottom: 72px;
}

.legal-hero {
  padding: 72px 0 28px;
}

.legal-hero-box {
  max-width: 820px;
}

.legal-kicker {
  margin: 0 0 10px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.legal-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--heading);
}

.legal-hero p {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--text-soft);
}

.legal-content {
  padding: 20px 0 0;
}

.legal-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 34px 32px;
}

.legal-text {
  max-width: 920px;
}

.legal-section + .legal-section {
  margin-top: 34px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.legal-section h2 {
  margin: 0 0 18px;
  font-size: 1.25rem;
  line-height: 1.35;
  color: var(--heading);
}

.legal-section p {
  margin: 0 0 14px;
  font-size: 1rem;
  color: var(--text-soft);
}

.legal-section p:last-child {
  margin-bottom: 0;
}

/* =========================================================
   19. RESPONSIVE — TABLET
   ========================================================= */
@media (max-width: 1100px) {
  .services-grid,
  .analysis-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .partner-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero::before {
    background: rgba(0, 0, 0, 0.45);
  }

  .analysis-grid .analysis-item:last-child {
    grid-column: 1 / -1;
  }
}

/* =========================================================
   20. RESPONSIVE — MOBILE
   ========================================================= */
@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .topbar {
    backdrop-filter: blur(12px);
  }

  .nav {
    min-height: auto;
    padding: 14px 0;
  }

  .brand img {
    height: 48px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: fixed;
    top: 14px;
    right: 14px;
    z-index: 1003;
    width: min(84vw, 320px);
    padding: 78px 20px 22px;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    background: rgba(245, 245, 243, 0.98);
    border: 1px solid rgba(231, 231, 226, 0.95);
    border-radius: 24px;
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.14);
    transform: translateX(calc(100% + 24px));
    opacity: 0;
    visibility: hidden;
    transition:
      transform 0.3s ease,
      opacity 0.25s ease,
      visibility 0.25s ease;
  }

  .nav-links.is-open {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links a {
    width: 100%;
    padding: 8px 0;
    font-size: 1rem;
  }

  .nav-links a::after {
    bottom: 2px;
  }

  .hero {
    min-height: 100svh;
    padding: 36px 0 20px;
    background-position: center center;
  }

  .hero-grid {
    min-height: calc(100svh - 120px);
  }

  .hero-copy {
    max-width: 100%;
    padding: 24px 0 40px;
  }

  .hero-copy h1 {
    font-size: clamp(2rem, 9vw, 3rem);
    line-height: 1.12;
  }

  .hero-copy p {
    font-size: 0.98rem;
    max-width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    gap: 10px;
  }

  .hero-actions .btn,
  .hero-actions .btn-secondary,
  .cta-actions .btn,
  .cta-actions .btn-secondary,
  .contact-actions .btn,
  .analysis-actions .btn {
    width: 100%;
    min-width: 0;
  }

  .btn,
  .btn-secondary {
    height: 52px;
    font-size: 1rem;
  }

  .intro,
  .analysis,
  .services,
  .contact,
  .partners,
  .cta {
    padding: 64px 0;
  }

  .section-title {
    margin-bottom: 30px;
  }

  .section-title p {
    font-size: 0.98rem;
    text-align: center;
  }

  .intro-text {
    font-size: 1rem;
    text-align: center;
  }

  .analysis-box {
    padding: 24px 18px;
    border-radius: 18px;
  }

  .analysis-lead,
  .analysis-note {
    font-size: 0.96rem;
  }

  .analysis-grid,
  .services-grid,
  .partner-grid {
    grid-template-columns: 1fr;
  }

  .analysis-grid {
    gap: 14px;
  }

  .analysis-item {
    padding: 16px 14px;
  }

  .services-grid {
    margin-top: 56px;
    gap: 22px;
  }

  .service-card {
    padding: 32px 20px 24px;
  }

  .service-card h3 {
    font-size: 1.45rem;
  }

  .service-icon {
    width: 60px;
    height: 60px;
    margin: -60px auto 16px;
    font-size: 1.45rem;
  }

  .chips {
    justify-content: center;
    max-width: 560px;
    margin: 34px auto 0;
  }

  .chip {
    font-size: 0.9rem;
    text-align: center;
  }

  .contact-card {
    padding: 22px 18px;
    border-radius: 18px;
  }

  .contact-card .contact-top {
    gap: 14px;
  }

  .contact-card .avatar {
    width: 62px;
    height: 62px;
    flex: 0 0 62px;
  }

  .contact-card h3 {
    font-size: 1.12rem;
  }

  .contact-intro {
    font-size: 0.94rem;
  }

  .info-item {
    padding: 12px 14px;
    font-size: 0.95rem;
  }

  .partner {
    min-height: 84px;
    padding: 16px;
  }

  .partner img {
    max-width: 100px;
    max-height: 45px;
  }

  .cta-box {
    padding: 28px 18px;
    border-radius: 18px;
  }

  .cta-box h2 {
    font-size: clamp(1.55rem, 7vw, 2.2rem);
  }

  .cta-box p {
    font-size: 0.98rem;
    text-align: center;
  }

  .cta-actions {
    gap: 12px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 22px 0;
  }

  .footer-links {
    justify-content: center;
  }

  .legal-page {
    padding-bottom: 56px;
  }

  .legal-hero {
    padding: 56px 0 20px;
  }

  .legal-card {
    padding: 24px 20px;
    border-radius: 18px;
  }

  .legal-section + .legal-section {
    margin-top: 26px;
    padding-top: 26px;
  }

  .legal-section h2 {
    font-size: 1.1rem;
  }

  .legal-section p {
    font-size: 0.98rem;
  }

  .reveal-left,
  .reveal-right {
    transform: translateY(36px);
  }
}
/* =========================
   INFRASTRUKTUR ANALYSE MOBILE FIX
========================= */

@media (max-width: 768px) {

  .analysis h2,
  .analysis-title {
    font-size: 1.8rem;
    line-height: 1.25;
    letter-spacing: -0.01em;
    word-break: break-word;
  }

  .analysis-card {
    padding: 26px 18px;
  }

  .analysis-card p {
    font-size: 0.95rem;
  }

}
/* =========================================================
   21. MOBILE FEINSCHLIFF
   ========================================================= */
@media (max-width: 760px) {
  :root {
    --radius: 18px;
  }

  body {
    line-height: 1.55;
  }

  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  /* -------------------------
     Header / Navigation
  ------------------------- */
  .topbar {
    border-bottom: 1px solid rgba(231, 231, 226, 0.95);
  }

  .nav {
    min-height: auto;
    padding: 12px 0;
  }

  .brand img {
    height: 46px;
  }

  .nav-toggle {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.82);
  }

  .nav-links {
    top: 12px;
    right: 12px;
    width: min(86vw, 320px);
    padding: 76px 18px 20px;
    gap: 14px;
    border-radius: 22px;
  }

  .nav-links a {
    font-size: 1rem;
    padding: 10px 0;
  }

  /* -------------------------
     Hero
  ------------------------- */
  .hero {
    min-height: 100svh;
    padding: 28px 0 18px;
    background-position: center center;
  }

  .hero::before {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.42) 0%,
      rgba(0, 0, 0, 0.28) 45%,
      rgba(0, 0, 0, 0.22) 100%
    );
  }

  .hero-grid {
    min-height: calc(100svh - 108px);
  }

  .hero-copy {
    max-width: 100%;
    padding: 18px 0 34px;
    text-align: center;
  }

  .hero-copy .small {
    margin-bottom: 10px;
    font-size: 0.88rem;
    letter-spacing: 0.09em;
  }

  .hero-copy h1 {
    font-size: clamp(2rem, 8.8vw, 3rem);
    line-height: 1.08;
    letter-spacing: -0.025em;
    text-wrap: balance;
  }

  .hero-copy p {
    max-width: 100%;
    margin-top: 16px;
    font-size: 0.98rem;
    text-wrap: pretty;
  }

  .hero-actions {
    flex-direction: column;
    gap: 10px;
    margin-top: 24px;
  }

  .hero-actions .btn,
  .hero-actions .btn-secondary {
    width: 100%;
    min-width: 0;
  }

  /* -------------------------
     Sections allgemein
  ------------------------- */
  .intro,
  .analysis,
  .services,
  .contact,
  .partners,
  .cta {
    padding: 56px 0;
  }

  .section-title {
    margin-bottom: 26px;
  }

  .section-title h2 {
    font-size: clamp(1.6rem, 7.2vw, 2.2rem);
    line-height: 1.12;
    text-wrap: balance;
  }

  .section-title p {
    margin-top: 14px;
    font-size: 0.97rem;
    text-align: center;
    text-wrap: pretty;
  }

  /* -------------------------
     Intro
  ------------------------- */
  .intro-text {
    font-size: 1rem;
    text-align: center;
  }

  .intro-text p {
    margin-bottom: 12px;
    text-wrap: pretty;
  }

  /* -------------------------
     Analyse-Section
  ------------------------- */
  .analysis-box {
    padding: 22px 16px;
    border-radius: 18px;
  }

  .analysis-kicker {
    margin-bottom: 8px;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
  }

  .analysis-box h2 {
    margin-bottom: 0;
    font-size: clamp(1.75rem, 8vw, 2.3rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: manual;
    text-wrap: balance;
  }

  .analysis-box h2 span {
    display: block;
    font-size: 0.94em;
  }

  .analysis-lead {
    margin-top: 16px;
    font-size: 0.98rem;
    line-height: 1.6;
    text-wrap: pretty;
  }

  .analysis-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 24px;
  }

  .analysis-item {
    padding: 16px 14px;
    border-radius: 16px;
    gap: 12px;
  }

  .analysis-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    font-size: 1.05rem;
  }

  .analysis-item h3 {
    margin-bottom: 4px;
    font-size: 1.22rem;
    line-height: 1.2;
  }

  .analysis-item p {
    font-size: 0.96rem;
    line-height: 1.5;
    text-wrap: pretty;
  }

  .analysis-note {
    margin-top: 18px;
    font-size: 0.95rem;
    line-height: 1.55;
    text-wrap: pretty;
  }

  .analysis-actions {
    margin-top: 22px;
  }

  .analysis-actions .btn {
    width: 100%;
    min-width: 0;
  }

  /* -------------------------
     Services
  ------------------------- */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 50px;
  }

  .service-card {
    min-height: auto;
    padding: 28px 18px 22px;
    border-radius: 18px;
  }

  .service-icon {
    width: 58px;
    height: 58px;
    margin: -52px auto 14px;
    font-size: 1.35rem;
  }

  .service-card h3 {
    font-size: 1.38rem;
    line-height: 1.2;
  }

  .service-card p {
    font-size: 0.96rem;
    line-height: 1.55;
    text-wrap: pretty;
  }

  /* -------------------------
     Chips
  ------------------------- */
  .chips {
    justify-content: center;
    gap: 10px;
    max-width: 100%;
    margin: 26px auto 0;
  }

  .chip {
    padding: 10px 14px;
    font-size: 0.88rem;
    line-height: 1.3;
    border-radius: 999px;
    text-align: center;
  }

  /* -------------------------
     Contact
  ------------------------- */
  .contact-card {
    padding: 20px 16px;
    border-radius: 18px;
  }

  .contact-card .contact-top {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    margin-bottom: 16px;
  }

  .contact-card .avatar {
    width: 68px;
    height: 68px;
    flex: 0 0 68px;
  }

  .contact-card h3 {
    font-size: 1.12rem;
  }

  .contact-card .role {
    font-size: 0.92rem;
  }

  .contact-intro {
    margin: 10px 0 16px;
    font-size: 0.95rem;
    line-height: 1.55;
    text-wrap: pretty;
  }

  .info-list {
    gap: 10px;
    margin: 18px 0 20px;
  }

  .info-item {
    padding: 12px 12px;
    font-size: 0.93rem;
    line-height: 1.45;
    border-radius: 14px;
    text-align: center;
  }

  .contact-actions {
    margin-top: 14px;
  }

  .contact-actions .btn {
    width: 100%;
    min-width: 0;
  }

  /* -------------------------
     Partners
  ------------------------- */
  .partner-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .partner {
    min-height: 84px;
    padding: 14px;
    border-radius: 16px;
  }

  .partner img {
    max-width: 105px;
    max-height: 42px;
  }

  /* -------------------------
     CTA
  ------------------------- */
  .cta-box {
    padding: 26px 16px;
    border-radius: 18px;
  }

  .cta-box h2 {
    font-size: clamp(1.5rem, 7.2vw, 2.1rem);
    line-height: 1.12;
    text-wrap: balance;
  }

  .cta-box p {
    margin-top: 12px;
    font-size: 0.97rem;
    line-height: 1.55;
    text-align: center;
    text-wrap: pretty;
  }

  .cta-actions {
    flex-direction: column;
    gap: 10px;
    margin-top: 22px;
  }

  .cta-actions .btn,
  .cta-actions .btn-secondary {
    width: 100%;
    min-width: 0;
    height: 52px;
    font-size: 1rem;
  }

  /* -------------------------
     Buttons allgemein
  ------------------------- */
  .btn,
  .btn-secondary {
    min-width: 0;
    height: 52px;
    padding: 0 18px;
    font-size: 0.98rem;
    border-radius: 14px;
  }

  /* -------------------------
     Footer
  ------------------------- */
  .footer-inner {
    min-height: auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px 0 24px;
    text-align: center;
  }

  .footer-inner > div:first-child {
    font-size: 0.92rem;
    line-height: 1.5;
  }

  .footer-links {
    justify-content: center;
    gap: 18px;
  }

  .footer-links a {
    font-size: 0.94rem;
  }

  /* -------------------------
     Rechtseiten
  ------------------------- */
  .legal-page {
    padding-bottom: 52px;
  }

  .legal-hero {
    padding: 48px 0 18px;
  }

  .legal-hero h1 {
    font-size: clamp(1.65rem, 7vw, 2.3rem);
    line-height: 1.12;
    text-wrap: balance;
  }

  .legal-hero p {
    font-size: 0.96rem;
    line-height: 1.55;
    text-wrap: pretty;
  }

  .legal-card {
    padding: 22px 16px;
    border-radius: 18px;
  }

  .legal-section + .legal-section {
    margin-top: 24px;
    padding-top: 24px;
  }

  .legal-section h2 {
    font-size: 1.08rem;
    line-height: 1.35;
  }

  .legal-section p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  /* -------------------------
     Reveal auf Mobile ruhiger
  ------------------------- */
  .reveal-left,
  .reveal-right {
    transform: translateY(24px);
  }
}