/* =============================================================
   07-content-sections.css – Alcedo Media
   -------------------------------------------------------------
   Die inhaltlichen Sections der Startseite, die jeweils nur
   einmal vorkommen: Leistungs-Karten, Über-mich, Partner-Logos
   und der CTA-/Kontaktformular-Bereich.

   Die zugehörigen Keyframes (cardFadeIn, titleFadeIn, fadeIn)
   liegen zentral in 02-animations.css.
   ============================================================= */

/* ── Leistungs-Karten (Section "Leistungen") ──────────────── */

.leist-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 0.5rem;
}

.leist-card {
  background: rgba(255, 255, 255, 0.04);
  border: 0.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 1.4rem 1.4rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: border-color 0.2s, background 0.2s;
  /* Die Scroll-Animation verknüpfen */
  animation: titleFadeIn 5s linear 1s both;
  will-change: opacity;
}

/* Hinweis: Der Kommentar in der Originaldatei sprach davon, dass
   diese Regel "Karte 2" verzögert – der Selektor greift aber auf
   das 1. Kind zu (nth-child(1)). Unverändert übernommen; bei
   Gelegenheit einmal prüfen, ob eigentlich nth-child(2) gemeint
   war. */
.leist-card:nth-child(1) {
  animation-delay: 0.1s;
}

.leist-card:hover {
  background: rgba(180, 80, 180, 0.08);
  border-color: rgba(180, 80, 180, 0.35);
}

.leist-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(180, 80, 180, 0.18);
  border: 1px solid rgba(180, 80, 180, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: rgb(200, 120, 200);
}

.leist-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  margin: 0;
}

.leist-card-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
  line-height: 1.6;
  flex: 1;
}

/* Alternative Listen-Darstellung für Leistungen – wird in den
   aktuellen HTML-Dateien nicht mehr verwendet (die Leistungen
   werden über .leist-cards oben als Karten dargestellt). Falls
   nirgends mehr referenziert, kann dieser Block irgendwann
   entfernt werden. Vorerst unverändert übernommen. */
.leist-list {
  margin-top: 1rem;
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.leist-list li {
  padding-left: 1.2rem;
  position: relative;
}

.leist-list li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: rgb(180, 80, 180);
}

/* ── Über-mich Bereich ─────────────────────────────────────── */

.about-grid {
  display: grid;
  /* Asymmetrisches Grid: Textbereich etwas breiter als der Bildbereich */
  grid-template-columns: 1.3fr 1fr;
  gap: 4rem;
  align-items: center;

  /* Sanfter Karten-Effekt (Glassmorphism-Ansatz) */
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* Überschreibt das globale Center-Alignment für diesen Bereich */
.about-title {
  text-align: left;
  margin-top: 0;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.8rem;
}

/* Eleganter violetter Akzentstrich unter der Überschrift */
.about-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 3px;
  background: rgb(180, 80, 180);
  border-radius: 2px;
}

.text-bio p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1rem;
}

.about-img-wrapper {
  display: flex;
  justify-content: center;
}

.about-img {
  width: 100%;
  max-width: 320px; /* Kontrollierte Maximalbreite, damit es nicht zu riesig wird */
  display: block;
  border-radius: 12px;
  box-shadow: 0 0 30px rgb(20, 4, 20);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: 1px solid rgba(180, 80, 180, 0.3); /* Sanfter Rand passend zum Theme */
}

.about-img:hover {
  transform: scale(1.03) translateY(-5px);
  box-shadow: 0 15px 40px rgba(180, 80, 180, 0.25);
}

/* ── Partner-Logos ("Zufriedene Kunden") ──────────────────── */

.gallery-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  padding: 20px;
  width: 100%;
  margin: 0 auto;
}

.rahmen-firmen {
  width: clamp(80px, 12vw, 150px);
  height: auto;
  border-radius: 5px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  filter: brightness(100%);
}

.rahmen-firmen:hover {
  transform: scale(1.1);
  box-shadow: 0 0 40px rgb(87, 38, 87);
}

/* ── CTA-Bereich ("Projekt starten?") ─────────────────────── */

.cta-section {
  text-align: center;
}

.cta-section p {
  font-size: clamp(1rem, 3vw, 1.3rem);
  color: rgb(255, 255, 255);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.cta-btn {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  background: #2a0e29;
  border: 1px solid rgba(180, 80, 180, 0.4);
  border-radius: 8px;
  color: white;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.2s;
}

.cta-btn:hover {
  background: #3d1540;
  transform: translateY(-2px);
}

.cta-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 3rem 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

/* ── Kontaktformular (liegt inhaltlich innerhalb der .cta-card) ── */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

/* Eigener, zweiter Block für dasselbe Element, weil hier
   zusätzlich die Einblend-Animation gesetzt wird (siehe Hinweis
   zum doppelten "fadeIn"-Keyframe in 02-animations.css) */
.contact-form {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 0.8s ease forwards;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.9rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.39);
  background: rgba(255,255,255,0.05);
  color: white;
  font-size: 1rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgb(255, 255, 255);
}

.contact-form button {
  padding: 0.9rem;
  background: #2a0e29;
  border: 1px solid rgba(180, 80, 180, 0.4);
  color: white;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.2s;
}

.contact-form button:hover {
  background: #3d1540;
}
