:root {
  --red: #d4142a;
  --red-dark: #a30d1f;
  --black: #0d0f12;
  --text: #2c3138;
  --muted: #6e7684;
  --line: rgba(15, 20, 28, 0.08);
  --bg-soft: #f6f8fb;
  --white: #ffffff;
  --success: #1f8f4e;
  --max-width: 1280px;
  --transition: 0.28s ease;
}

/* =====================================================
   BASIS
===================================================== */

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

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: #ffffff;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(92%, var(--max-width));
  margin: 0 auto;
}


/* =====================================================
   TYPOGRAFIE UND SEKTIONEN
===================================================== */

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(2rem, 3vw + 1rem, 3.1rem);
  line-height: 1.15;
}

h2 {
  margin-bottom: 12px;
  color: var(--black);
  font-size: clamp(1.6rem, 2.2vw + 0.8rem, 2.5rem);
  line-height: 1.25;
}

h3 {
  margin-bottom: 8px;
  color: var(--black);
  font-size: clamp(1.15rem, 1.2vw + 0.9rem, 1.5rem);
  line-height: 1.3;
}

p {
  color: #4d4d4d;
  font-size: 1rem;
}

.section {
  padding: 100px 0;
}

.section.light {
  background: var(--bg-soft);
}

.section-header {
  max-width: 780px;
  margin: 0 auto 50px;
  text-align: center;
}

.section-header h2 {
  margin-bottom: 14px;
}

.section-header p {
  color: var(--muted);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.eyebrow.white {
  color: #ffffff;
}


/* =====================================================
   HERO-TITEL
===================================================== */

.hero .hero-title {
  color: #ffffff !important;
}

.hero .hero-copy p {
  color: rgba(255, 255, 255, 0.88) !important;
}


/* =====================================================
   FACTS
===================================================== */

.facts {
  margin-top: 20px;
}

.facts-panel {
  padding: 16px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.fact {
  padding: 16px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  text-align: center;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.fact:hover {
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
  transform: translateY(-3px);
}

.fact strong {
  display: block;
  color: var(--black);
  font-size: 1.35rem;
  line-height: 1.2;
}

.fact span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9rem;
}


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

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  padding: 22px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.card:hover {
  border-color: rgba(212, 20, 42, 0.22);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.06);
  transform: translateY(-6px);
}

.card h3 {
  margin-bottom: 8px;
}

.card p {
  margin-bottom: 0;
  color: var(--muted);
}


/* =====================================================
   ABLAUF
   Desktop: 4 Karten nebeneinander
   Tablet/Mobile: 2 Karten pro Reihe
===================================================== */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.process-grid .card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 190px;
  padding: 20px;
}

.process-grid .number {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
}

.process-grid .card h3 {
  margin-bottom: 8px;
}

.process-grid .card p {
  margin-bottom: 0;
  color: var(--muted);
}


/* =====================================================
   ZWEISPALTIGE BEREICHE
===================================================== */

.two-col,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.two-col > .panel,
.contact-grid > .panel {
  height: 100%;
}

.panel {
  height: 100%;
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.panel.dark {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: linear-gradient(160deg, #14171d, #1d2128);
  border: none;
  color: #ffffff;
}

.panel.dark h3 {
  margin-bottom: 8px;
  color: #ffffff;
}

.panel.dark > p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.55;
}


/* =====================================================
   FEATURE-LISTE
===================================================== */

.feature-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.feature-item span {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #ffffff;
  font-size: 0.85rem;
}

.feature-item strong {
  color: var(--black);
}

.feature-item div {
  color: var(--text);
}


/* =====================================================
   MINI-STATS
   2 × 2 Raster ohne leere Mitte
===================================================== */

.panel.dark .mini-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 12px;
  min-height: 0;
  margin: 20px 0 0;
  padding: 0;
}

.panel.dark .mini-stats div {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 88px;
  padding: 16px 14px 16px 52px;
  overflow: hidden;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.12),
    rgba(255, 255, 255, 0.06)
  );
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 13px;
  transition:
    background var(--transition),
    border-color var(--transition),
    transform var(--transition);
}

.panel.dark .mini-stats div::before {
  position: absolute;
  top: 50%;
  left: 15px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--red);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  transform: translateY(-50%);
}

.panel.dark .mini-stats div:nth-child(1)::before {
  content: "01";
}

.panel.dark .mini-stats div:nth-child(2)::before {
  content: "02";
}

.panel.dark .mini-stats div:nth-child(3)::before {
  content: "03";
}

.panel.dark .mini-stats div:nth-child(4)::before {
  content: "04";
}

.panel.dark .mini-stats div:hover {
  background: linear-gradient(
    145deg,
    rgba(212, 20, 42, 0.32),
    rgba(255, 255, 255, 0.08)
  );
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-3px);
}

.panel.dark .mini-stats strong {
  display: block;
  margin-bottom: 4px;
  color: #ffffff;
  font-size: 0.95rem;
  line-height: 1.25;
}

.panel.dark .mini-stats span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
  line-height: 1.35;
}


/* =====================================================
   TIGER-BILD
===================================================== */

.tiger-image-wrap {
  width: 100%;
  margin-bottom: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
}

.tiger-image {
  display: block;
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.tiger-image-wrap:hover .tiger-image {
  transform: scale(1.04);
}


/* =====================================================
   CTA
===================================================== */

.cta {
  background: linear-gradient(135deg, var(--red), #8b0b1b);
  color: #ffffff;
}

.cta-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
}

.cta-box h2,
.cta-box p {
  color: #ffffff;
}

.cta-box h2 {
  margin-bottom: 12px;
}

.cta-box p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.86);
}

.cta-action {
  text-align: right;
}


/* =====================================================
   BUTTONS
===================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 20px;
  border: none;
  border-radius: 999px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition:
    transform var(--transition),
    background-color var(--transition),
    color var(--transition),
    box-shadow var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(212, 20, 42, 0.25);
}

.btn-primary:hover {
  box-shadow: 0 12px 24px rgba(212, 20, 42, 0.35);
}

.btn-light {
  background: #ffffff;
  color: #111111;
}

.btn-light:hover {
  background: #f2f2f2;
}


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

.contact-list {
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.contact-list li {
  color: var(--text);
}

.contact-list strong {
  color: var(--black);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.form-grid .full {
  grid-column: 1 / -1;
}

label {
  display: block;
  margin-bottom: 6px;
  color: var(--black);
  font-weight: 600;
}

input,
select,
textarea {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 12px;
  color: #111111;
  font: inherit;
  background: #ffffff;
  border: 1px solid rgba(15, 20, 28, 0.18);
  border-radius: 10px;
  outline: none;
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(212, 20, 42, 0.12);
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.success-message {
  display: none;
  padding: 10px 12px;
  color: var(--success);
  font-weight: 700;
  background: #eefaf1;
  border-radius: 10px;
}


/* =====================================================
   REVEAL-ANIMATION
===================================================== */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.visible,
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1100px) {
  .section {
    padding: 80px 0;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Tablet: 2 × 2 */
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .facts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .two-col,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .two-col > .panel,
  .contact-grid > .panel {
    height: auto;
  }

  .panel.dark {
    height: auto;
  }

  .panel.dark .mini-stats {
    margin-top: 20px;
  }

  .cta-box {
    grid-template-columns: 1fr;
  }

  .cta-action {
    text-align: left;
  }

  .tiger-image {
    height: 280px;
  }
}


/* =====================================================
   SMARTPHONE
   Ablauf bleibt 2 × 2
===================================================== */

@media (max-width: 680px) {
  .section {
    padding: 64px 0;
  }

  .container {
    width: min(100% - 28px, var(--max-width));
  }

  .section-header {
    margin-bottom: 32px;
    text-align: left;
  }

  .services-grid,
  .facts-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

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

  /* Smartphone: 2 Spalten und 2 Reihen */
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .process-grid .card {
    min-height: 170px;
    padding: 16px 13px;
  }

  .process-grid .number {
    width: 34px;
    height: 34px;
    margin-bottom: 9px;
    border-radius: 10px;
    font-size: 0.85rem;
  }

  .process-grid .card h3 {
    margin-bottom: 6px;
    font-size: 0.98rem;
    line-height: 1.2;
  }

  .process-grid .card p {
    font-size: 0.82rem;
    line-height: 1.4;
  }

  .card {
    padding: 18px;
  }

  .panel {
    padding: 20px;
  }

  .panel.dark .mini-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    gap: 10px;
    margin-top: 18px;
  }

  .panel.dark .mini-stats div {
    min-height: 82px;
    padding: 13px 10px 13px 42px;
  }

  .panel.dark .mini-stats div::before {
    left: 10px;
    width: 24px;
    height: 24px;
    font-size: 0.64rem;
  }

  .panel.dark .mini-stats strong {
    font-size: 0.84rem;
  }

  .panel.dark .mini-stats span {
    font-size: 0.72rem;
  }

  .tiger-image {
    height: 220px;
  }

  .cta-box {
    gap: 20px;
  }

  .cta-action {
    width: 100%;
  }

  .cta-action .btn {
    width: 100%;
  }
}


/* =====================================================
   SEHR KLEINE SMARTPHONES
===================================================== */

@media (max-width: 380px) {
  .process-grid {
    gap: 8px;
  }

  .process-grid .card {
    min-height: 160px;
    padding: 13px 10px;
  }

  .process-grid .number {
    width: 30px;
    height: 30px;
    font-size: 0.76rem;
  }

  .process-grid .card h3 {
    font-size: 0.86rem;
  }

  .process-grid .card p {
    font-size: 0.75rem;
    line-height: 1.35;
  }

  .panel.dark .mini-stats div {
    padding-right: 8px;
    padding-left: 38px;
  }

  .panel.dark .mini-stats strong {
    font-size: 0.78rem;
  }

  .panel.dark .mini-stats span {
    font-size: 0.68rem;
  }
}


/* =====================================================
   REDUZIERTE BEWEGUNG
===================================================== */

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




/* =====================================================
   WARUM KUNDEN AUF UNS SETZEN
   4 größere Elemente im 2x2-Raster
===================================================== */

.two-col {
  align-items: stretch;
}

.two-col > .panel {
  height: 100%;
}

.panel.dark {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 28px;
}

.panel.dark h3 {
  margin-bottom: 10px;
  color: #ffffff;
}

.panel.dark > p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.55;
}

/* Die vier Elemente füllen den verfügbaren Bereich */
.panel.dark .mini-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(130px, 1fr));
  flex: 1;
  gap: 14px;
  margin-top: 24px;
  padding: 0;
}

.panel.dark .mini-stats div {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 130px;
  padding: 24px 18px 24px 62px;
  overflow: hidden;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.14),
      rgba(255, 255, 255, 0.06)
    );
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

/* Rote Nummern links in den Elementen */
.panel.dark .mini-stats div::before {
  position: absolute;
  top: 50%;
  left: 18px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--red);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  transform: translateY(-50%);
}

.panel.dark .mini-stats div:nth-child(1)::before {
  content: "01";
}

.panel.dark .mini-stats div:nth-child(2)::before {
  content: "02";
}

.panel.dark .mini-stats div:nth-child(3)::before {
  content: "03";
}

.panel.dark .mini-stats div:nth-child(4)::before {
  content: "04";
}

.panel.dark .mini-stats div:hover {
  background:
    linear-gradient(
      145deg,
      rgba(212, 20, 42, 0.36),
      rgba(255, 255, 255, 0.08)
    );
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-4px);
}

.panel.dark .mini-stats strong {
  display: block;
  margin-bottom: 6px;
  color: #ffffff;
  font-size: 1.05rem;
  line-height: 1.25;
}

.panel.dark .mini-stats span {
  display: block;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.88rem;
  line-height: 1.4;
}


/* Tablet */
@media (max-width: 1100px) {
  .panel.dark {
    height: auto;
    padding: 24px;
  }

  .panel.dark .mini-stats {
    flex: none;
    grid-template-rows: repeat(2, minmax(125px, auto));
  }
}


/* Smartphone: weiterhin 2 Spalten */
@media (max-width: 680px) {
  .panel.dark {
    padding: 20px;
  }

  .panel.dark .mini-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(115px, auto));
    gap: 10px;
    margin-top: 20px;
  }

  .panel.dark .mini-stats div {
    min-height: 115px;
    padding: 18px 10px 18px 42px;
  }

  .panel.dark .mini-stats div::before {
    left: 10px;
    width: 24px;
    height: 24px;
    border-radius: 7px;
    font-size: 0.62rem;
  }

  .panel.dark .mini-stats strong {
    font-size: 0.84rem;
  }

  .panel.dark .mini-stats span {
    font-size: 0.72rem;
    line-height: 1.3;
  }
}