/* =========================================================
   PROJEKTSEITEN – HARDWARE SETUPS
   ========================================================= */

.project-hero-grid{
  display:grid;
  grid-template-columns:1.2fr 0.8fr;
  gap:40px;
  align-items:center;
}

.project-hero-image{
  width:100%;
  max-width:520px;
  display:block;
  margin-left:auto;
}

.project-highlight-list{
  display:grid;
  gap:12px;
  margin-top:28px;
}

.project-highlight-item{
  display:flex;
  align-items:flex-start;
  gap:12px;
  font-size:1rem;
  line-height:1.5;
}

.project-section{
  padding:70px 0;
}

.project-section-alt{
  background:#f7f9fc;
}

.project-intro{
  max-width:900px;
}

.project-intro p{
  margin-bottom:20px;
}

.hardware-group{
  margin-top:50px;
}

.hardware-group:first-child{
  margin-top:0;
}

.hardware-group-title{
  margin-bottom:22px;
}

.hardware-table{
  width:100%;
  border-collapse:collapse;
  overflow:hidden;
  border-radius:18px;
  background:#fff;
}

.hardware-table th{
  text-align:left;
  padding:18px 20px;
  background:#0f172a;
  color:#fff;
  font-weight:600;
  font-size:0.95rem;
}

.project-table thead th:last-child {
  text-align: left;
}

.hardware-table td{
  padding:18px 20px;
  border-bottom:1px solid #e5e7eb;
  vertical-align:middle;
}

.hardware-table tr:last-child td{
  border-bottom:none;
}

.hardware-table td strong{
  display:block;
  margin-bottom:4px;
}

.hardware-price{
  white-space:nowrap;
  font-weight:700;
}

.hardware-buy{
  white-space:nowrap;
}

.hardware-buy .btn{
  min-width:140px;
  text-align:center;
}

.project-course-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
  align-items:center;
}

.project-course-video{
  position:relative;
  overflow:hidden;
  border-radius:24px;
}

.project-course-video iframe{
  width:100%;
  aspect-ratio:16/9;
  border:none;
  display:block;
}

.project-note{
  margin:18px 0 0;

  padding:14px 18px;

  border-left:3px solid rgba(255,255,255,0.18);

  background:rgba(255,255,255,0.035);

  border-radius:0 14px 14px 0;

  font-size:0.96rem;
  line-height:1.6;

  color:rgba(255,255,255,0.78);
}

.project-note strong{
  color:#ffffff;
  font-weight:600;
}
.project-note a{
  color:#7dd3fc;
  text-decoration:none;
}

.project-note a:hover{
  text-decoration:underline;
}

@media (max-width:980px){

  .project-hero-grid,
  .project-course-grid{
    grid-template-columns:1fr;
  }

  .project-hero-image{
    margin:0 auto;
  }

  .hardware-table{
    display:block;
    overflow-x:auto;
  }

}
/* =========================================================
   HARDWARE-PROJEKTE – EINKAUFSLISTE / TABELLEN
   ========================================================= */

.project-table-block {
  margin-top: 42px;
}

.project-table-block h3 {
  margin-bottom: 18px;
  font-size: 1.45rem;
}

.table-scroll {
  width: 100%;
  overflow-x: auto;
}

.project-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 12px;
}

.project-table thead th {
  padding: 0 18px 10px;
  font-size: 0.95rem;
  color: #cbd5e1;
  text-align: left;
  white-space: nowrap;
}

.project-table thead th:last-child {
  text-align: left;
}

.project-table tbody tr {
  background: rgba(255,255,255,0.045);
  border-radius: 18px;
}

.project-table tbody td {
  padding: 18px;
  vertical-align: middle;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.project-table tbody td:first-child {
  border-left: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px 0 0 18px;
  font-weight: 600;
}

.project-table tbody td:last-child {
  border-right: 1px solid rgba(255,255,255,0.08);
  border-radius: 0 18px 18px 0;
  text-align: right;
}

.project-table td:nth-child(3),
.project-table td:nth-child(4) {
  white-space: nowrap;
}

.project-table .btn,
.project-table a.btn,
.project-table a.amazon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  padding: 11px 18px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

/* Mobil */
@media (max-width: 760px) {
  .project-table {
    min-width: 720px;
  }

  .project-table-block h3 {
    font-size: 1.25rem;
  }
}
/* AMAZON BUTTON */

.project-table .amazon-button,
.project-table .btn-amazon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  padding: 11px 18px;

  background: linear-gradient(
    180deg,
    #ffb84d 0%,
    #ff9900 100%
  );

  color: #111827;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;

  border-radius: 999px;
  border: 1px solid #d97706;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.project-table .amazon-button:hover,
.project-table .btn-amazon:hover {
  transform: translateY(-1px);

  background: linear-gradient(
    180deg,
    #ffc266 0%,
    #ffad1f 100%
  );

  box-shadow:
    0 10px 24px rgba(255,153,0,0.25);
}

.project-table .amazon-button:active,
.project-table .btn-amazon:active {
  transform: translateY(0);
}
/* =========================================================
   PROJEKT ÜBERSICHT
   ========================================================= */

.projects-grid{
  display:grid;
  gap:42px;
}

.project-card{
  display:grid;
  grid-template-columns:340px 1fr;
  gap:34px;

  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.08);

  border-radius:28px;

  overflow:hidden;
}

.project-card-image{
  background:#0b1220;

  display:flex;
  align-items:center;
  justify-content:center;

  padding:24px;
}

.project-card-image img{
  width:100%;
  max-width:260px;
  height:auto;

  object-fit:contain;
  display:block;
}

.project-card-content{
  padding:34px 34px 34px 0;
}

@media (max-width:980px){

  .project-card{
    grid-template-columns:1fr;
  }

  .project-card-image{
    padding:34px 24px 10px;
  }

  .project-card-content{
    padding:0 24px 30px;
  }

}
/* =========================================================
   STARTSEITE – PROJEKTE
   ========================================================= */

.projects-home-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:32px;
}

.project-home-card{
  background:rgba(255,255,255,0.04);

  border:1px solid rgba(255,255,255,0.08);

  border-radius:28px;

  overflow:hidden;
}

.project-home-image{
  padding:34px 34px 10px;
  display:flex;
  justify-content:center;
}

.project-home-image img{
 width:auto;
  height:200px;
  max-width:100%;
  display:block;
  object-fit:contain;
}

.project-home-content{
  padding:10px 34px 34px;
}

.project-home-content h3{
  margin-top:10px;
  margin-bottom:16px;
}

.project-home-content .btn{
  margin-top:12px;
}

@media (max-width:980px){

  .projects-home-grid{
    grid-template-columns:1fr;
  }

}