/* ========================================= */
/* ====== MODERN HOME SECTION ============= */
/* ========================================= */

.home {
    /* Flexbox für sauberes Layout */
    display: flex;
    flex-direction: column; /* Elemente untereinander anordnen */
    justify-content: center; /* Vertikal mittig */
    align-items: flex-start; /* Linksbündig auf Desktop */
    
    min-height: 100vh; /* Mindestens volle Bildschirmhöhe */
    padding: 14rem 9% 8rem; /* Genug Abstand oben (für Header) und unten */
    
    background: var(--bg-color); /* Oder dein Hintergrundbild */
    /* background: url('/pfad/zum/bild.jpg') no-repeat center center/cover; */
    position: relative;
    z-index: 1;
}

.home-content {
    max-width: 80rem;
    z-index: 2;
    margin-bottom: 5rem; /* WICHTIG: Abstand zu den Icons unten */
}

/* Überschrift */
.home-content h1 {
    font-size: 8rem; /* Etwas kleiner als 10rem für mehr Eleganz */
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--text-color);
}

/*
.home-content h1 span {
    color: var(--main-color);
 /* Auf neuer Zeile für Impact 
    font-size: 0.6em;  Kleinerer Untertitel-Look 
    font-weight: 600;
    margin-top: 0.5rem;
    letter-spacing: 2px;
} */

/* Fließtext (Deine h2s) */
/* Tipp: Für Fließtext ist <p> besser als <h2>, aber wir stylen hier deine <h2> */
.home-content h2 {
    font-size: 1.8rem; /* Lesbare Größe für viel Text */
    font-weight: 400;
    line-height: 1.8; /* Mehr Zeilenabstand für Lesbarkeit */
    color: var(--text-color); /* Weicheres Schwarz/Grau */
    margin-bottom: 2rem; /* Abstand zwischen den Absätzen */
    max-width: 90%; /* Nicht zu breit laufen lassen */
}

/* --- SOCIAL MEDIA & KONTAKT (Der problematische Teil) --- */
.home-sci {
    /* WICHTIG: Position 'static' oder 'relative', NICHT 'absolute' */
    position: relative; 
    
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Linksbündig */
    gap: 1.5rem;
}

/* "reach us!" Link */
.home-sci .contact-heading {
    font-size: 2rem;
    font-weight: 600;
}

.contact-heading a {
    color: var(--text-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    transition: 0.3s ease;
}

/* Kleiner Pfeil-Effekt beim Hover (optional) */
.contact-heading a::after {
    content: '↓'; /* oder ein Icon */
    font-size: 1.5rem;
    transition: 0.3s;
}
.contact-heading a:hover { color: var(--text-color); }
.contact-heading a:hover::after { transform: translateY(5px); }


/* Icons Container */
.home-sci .social-icons {
    display: flex;
    gap: 2rem;
}

/* Die Icons selbst */
.home-sci .social-icons a {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background: transparent;
    border: 2px solid var(--text-color);
    border-radius: 50%;
    font-size: 2.2rem;
    color: var(--text-color);
    transition: 0.4s ease;
    overflow: hidden;
}

/* Hover Effekt: Füllen */
.home-sci .social-icons a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--text-color);
    z-index: -1;
    transition: 0.4s ease;
}

.home-sci .social-icons a:hover {
    color: var(--bg-color); /* Icon wird weiß/hell */
    transform: translateY(-5px); /* Leichtes Schweben */
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.home-sci .social-icons a:hover::before {
    width: 100%;
}


/* ========================================= */
/* ====== RESPONSIVE (Handy & Tablet) ====== */
/* ========================================= */

/* ========================================= */
/* 📱 HOME – MOBILE & TABLET HERO DESIGN     */
/* ========================================= */

@media (max-width: 991px) {

  /* ===== LAYOUT ===== */
  .home {
    min-height: 100vh;
    padding: 12rem 6% 8rem;
    align-items: center;
    text-align: center;
  }

  .home-content {
    max-width: 36rem;
    margin-bottom: 0;
  }

  /* ===== HEADLINE ===== */
  .home-content h1 {
    font-size: 4.6rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 2.5rem;
    font-weight: 800;
    position: relative;
  }

  /* dezenter Akzent unter der Headline */
  .home-content h1::after {
    content: "";
    display: block;
    width: 42px;
    height: 3px;
    background: var(--text-color);
    margin: 2.2rem auto 0;
    border-radius: 2px;
    opacity: 0.6;
  }

  /* ===== TEXT ===== */

  /* Lead-Text */
  .home-content h2:first-of-type {
    font-size: 1.9rem;
    font-weight: 500;
    line-height: 1.7;
    margin-bottom: 2.8rem;
  }

  /* erklärender Text */
  .home-content h2:not(:first-of-type) {
    font-size: 1.6rem;
    line-height: 1.8;
    opacity: 0.85;
    margin-bottom: 2.2rem;
  }

  /* ===== SOCIALS (MINIMAL VERSION) ===== */

/* ===== HOME CTA (Mobile & Tablet) ===== */

.home-sci {
  margin-top: 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.4rem;
}

/* CTA Text */
.home-sci .contact-heading {
  display: none; /* Verstecken für mobile Version */
}

/* Icons Container */
.home-sci .social-icons {
  display: flex;
  justify-content: center;
  gap: 3.2rem;
}

/* Icons – ruhig & modern */
.home-sci .social-icons a {
  border: none;
  width: auto;
  height: auto;
  padding: 0.6rem;
  font-size: 2.3rem;
  color: rgba(0, 0, 0, 0.55);
  transition: color 0.2s ease, transform 0.2s ease;
}

/* Tap Feedback (nicht Hover) */
.home-sci .social-icons a:active {
  color: var(--text-color);
  transform: translateY(-2px);
}

/* Alte Effekte deaktivieren */
.home-sci .social-icons a::before {
  display: none;
}


}

/* ========================================= */
/* 📱 EXTRA SMALL PHONES                     */
/* ========================================= */

@media (max-width: 480px) {

  .home {
    padding: 11rem 6% 7rem;
  }

  .home-content h1 {
    font-size: 4rem;
  }

  .home-content {
    max-width: 32rem;
  }

  .home-content h2:first-of-type {
    font-size: 1.75rem;
  }

  .home-content h2:not(:first-of-type) {
    font-size: 1.55rem;
  }

}