/* ==========================================================================
   1. Variablen & Reset
   ========================================================================== */
:root {
  --color-primary: #0f172a;
  --color-secondary: #2563eb;
  --color-secondary-hover: #1d4ed8;
  --color-text: #475569;
  --color-text-light: #64748b;
  --color-bg: #ffffff;
  --color-gray-50: #f8fafc;
  --color-border: #e2e8f0;

  --font-main: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

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

body {
  font-family: var(--font-main);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.625;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-blue {
  color: var(--color-secondary);
}

/* ==========================================================================
   2. Header & Navigation (Responsive Fix)
   ========================================================================== */
.header {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

/* Mobile-First: Grundlayout für kleine Bildschirme */
.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 5rem;
  height: auto;
  flex-wrap: wrap; /* Erlaubt das Umbrechen in eine neue Zeile */
  padding: 1rem 1.5rem; /* Etwas mehr Luft oben und unten auf dem Handy */
}

.header__left {
  display: flex;
  justify-content: flex-start;
  flex: 1 1 auto;
}

.header__center {
  display: flex;
  justify-content: center;
  flex: 1 1 100%; /* Nimmt auf dem Handy die volle Breite ein */
  order: 3; /* Drückt das Menü auf dem Handy in die zweite Zeile */
  margin-top: 1rem;
}

.header__right {
  display: flex;
  justify-content: flex-end;
  flex: 1 1 auto;
}

.header__logo {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  letter-spacing: -0.025em;
  white-space: nowrap; /* VERHINDERT DEN UMBRUCH BEI IT-STRIXNER */
}

.header__logo--blue { color: var(--color-secondary); }

.header__nav {
  display: flex;
  gap: 2rem; /* Abstand auf dem Handy */
}

.header__link {
  text-decoration: none;
  color: var(--color-text);
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.15s ease-in-out;
}
.header__link:hover { color: var(--color-secondary); }

/* Desktop-Ansicht: Ab 768px Bildschirmbreite */
@media (min-width: 768px) {
  .header__container {
    padding: 0 1.5rem;
    flex-wrap: nowrap; /* Kein Umbruch mehr auf dem PC */
  }
  
  .header__left, .header__center, .header__right {
    flex: 1; /* Die drei Bereiche teilen sich den Platz wieder exakt auf */
    order: unset; /* Setzt die Reihenfolge zurück */
    margin-top: 0;
  }
  
  .header__center { gap: 3.5rem; }
  
  .header__nav {
    gap: 3.5rem; /* Breiterer Abstand auf großen Monitoren */
  }
}


/* ==========================================================================
   3. Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}

.btn--primary {
  background-color: var(--color-secondary);
  color: #ffffff;
  box-shadow: 0 4px 6px -1px rgb(37 99 235 / 0.3);
}

.btn--primary:hover {
  background-color: var(--color-secondary-hover);
  transform: translateY(-1px);
}

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

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

.btn--full {
  width: 100%;
}

/* ==========================================================================
   4. Hero Section (Fix: Text breiter, Bild als schräge Tailwind-Karte)
   ========================================================================== */
.hero {
  padding: 5rem 0 6rem;
  background-color: var(--color-bg);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 992px) {

  /* Fix: Die linke Text-Spalte bekommt mehr Platz (ca. 55% zu 45%) */
  .hero__grid {
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
  }
}

.hero__content {
  padding-right: 1rem;
}

.hero__title {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .hero__title {
    font-size: 3.25rem;
  }
}

.hero__subtitle {
  font-size: 1.125rem;
  color: var(--color-text);
  margin-bottom: 2.5rem;
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Fix: Die Tailwind-Karte (Angehoben, Schatten, leicht schräg) */
.hero__image-box {
  background-color: #eff6ff; /* Der hellblaue Hintergrund (Tailwind blue-50) */
  width: 320px; /* Feste Breite für das Quadrat */
  height: 320px; /* Feste Höhe für das Quadrat */
  margin: 0 auto; /* Zentriert die Box in ihrer Spalte */
  border-radius: 1.5rem;
  
  /* Leicht bläulicher, weicher Schatten für mehr Eleganz */
  box-shadow: 0 25px 50px -12px rgba(37, 99, 235, 0.25); 
  
  display: flex;
  justify-content: center;
  align-items: center;
  transform: rotate(3deg) scale(1.02); 
  border: 1px solid #dbeafe;
}

.hero__icon {
  width: 140px;
  height: 140px;
  color: #3b82f6; /* Kräftigeres Blau, damit sich der Monitor vom hellblauen Grund abhebt */
}

/* ==========================================================================
   5. Features (Fix: Grauer BG, Hover-Effekt, Icon-Farbwechsel)
   ========================================================================== */
.features {
  padding: 6rem 0;
  background-color: var(--color-gray-50);
  /* Fix: Leicht grauer Hintergrund */
  border-top: 1px solid var(--color-border);
}

.features__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem;
}

.features__eyebrow {
  color: var(--color-secondary);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.5rem;
}

.features__headline {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.features__subhead {
  font-size: 1.125rem;
  color: var(--color-text-light);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

/* Fix: Sanfte Animation für die Karten */
.features__card {
  background-color: var(--color-white);
  padding: 2.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.05);
  border: 1px solid var(--color-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  /* Animation aktivieren */
}

/* Fix: Beim Hover Karte anheben und Schatten vergrößern */
.features__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.card__icon {
  width: 48px;
  height: 48px;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
  /* Icon animieren */
}

.card__icon svg {
  width: 24px;
  height: 24px;
}

/* Grundfarben der Icons */
.card__icon--blue {
  background-color: #DBEAFE;/* #eff6ff; */
  color: #3b82f6;
}

.card__icon--green {
  background-color: #D1FAE5;/* #f0fdf4;*/
  color: #22c55e;
}

.card__icon--purple {
  background-color: #E0E7FF; /* #faf5ff;*/
  color: #a855f7;
}

/* Fix: Icon-Farben drehen sich beim Hover um (Hintergrund wird voll, Icon weiß) */
.features__card:hover .card__icon--blue {
  background-color: #3b82f6;
  color: #ffffff;
}

.features__card:hover .card__icon--green {
  background-color: #22c55e;
  color: #ffffff;
}

.features__card:hover .card__icon--purple {
  background-color: #a855f7;
  color: #ffffff;
}

.features__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

/* ==========================================================================
   6. Warum IT-Strixner (Dark Section)
   ========================================================================== */
.dark-section {
  background-color: var(--color-primary);
  color: #cbd5e1;
  padding: 6rem 0;
}

.dark-section h2 {
  font-size: 2.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
}

.dark-section__intro {
  font-size: 1.125rem;
  margin-bottom: 3rem;
  line-height: 1.75;
}

.dark-section__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

@media (min-width: 992px) {
  .dark-section__grid {
    grid-template-columns: 3fr 2fr;
  }
}

.checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.checklist li {
  display: flex;
  gap: 1rem;
}

.checklist__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--color-secondary);
  margin-top: 0.25rem;
}

.checklist strong {
  display: block;
  color: #ffffff;
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

/* Kontakt-Box im dunklen Bereich */
.cta-box {
  background-color: #1e293b;
  border: 1px solid #334155;
  padding: 2.5rem;
  border-radius: 1rem;
  text-align: center;
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.3);
}

.cta-box h3 {
  color: #ffffff;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.cta-box p {
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.cta-box__phone {
  margin-top: 1rem;
  margin-bottom: 0 !important;
  font-size: 0.875rem !important;
  color: #94a3b8;
}

.cta-box__phone strong {
  color: #ffffff;
}

/* ==========================================================================
   7. Footer
   ========================================================================== */
.footer {
  background-color: var(--color-white);
  border-top: 1px solid var(--color-border);
  padding: 2.5rem 0;
  margin-top: auto;
}

.footer__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer__container {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer__copyright,
.footer__link {
  font-size: 0.875rem;
  color: var(--color-text-light);
}

.footer__nav {
  display: flex;
  gap: 1.5rem;
}

.footer__link {
  text-decoration: none;
  transition: color 0.15s;
}

.footer__link:hover {
  color: var(--color-primary);
}