/* =========================================
   NETZWERKTECHNIK (netzwerktechnik.html)
   ========================================= */
main {
  display: block;
  padding-top: var(--header-height-desktop);
}

/* --- 1. HEADER + HERO + FEATURES --- */
#pv21-network-section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  font-family: inherit;
  padding: 60px 20px;
}

#pv21-network-section .network-hero-image {
  margin-bottom: 60px;
  width: 100%;
}

#pv21-network-section .hero-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 20 / 9;
  max-height: 450px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
}

#pv21-network-section .hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.8s ease;
}

#pv21-network-section .hero-frame:hover .hero-img {
  transform: scale(1.03);
}

#pv21-network-section .hero-badge {
  position: absolute;
  bottom: 25px;
  left: 25px;
  background: rgba(0, 43, 69, 0.9);
  backdrop-filter: blur(5px);
  color: #fff;
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 700;
  border: 1px solid #00b0ff;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
  box-shadow: 0 0 15px rgba(0, 176, 255, 0.3);
}

#pv21-network-section .pulse-dot {
  width: 12px;
  height: 12px;
  background-color: #00ff41;
  border-radius: 50%;
  box-shadow: 0 0 10px #00ff41;
  animation: blink 2s infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

#pv21-network-section .network-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  align-items: stretch;
}

#pv21-network-section .net-feature-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 35px 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  height: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

#pv21-network-section .net-feature-card:hover {
  transform: translateY(-8px);
  border-color: #00b0ff;
  box-shadow: 0 15px 40px rgba(0, 176, 255, 0.15);
}

#pv21-network-section .net-icon-box {
  width: 60px;
  height: 60px;
  background: rgba(0, 176, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  flex-shrink: 0;
  transition: all 0.3s ease;
  font-size: 2rem;
}

#pv21-network-section .net-feature-card:hover .net-icon-box {
  background: #00b0ff;
  box-shadow: 0 0 20px rgba(0, 176, 255, 0.4);
  transform: scale(1.1);
}

#pv21-network-section .net-content h2 {
  margin: 0 0 15px 0;
  color: #1e293b;
  font-size: 1.3rem;
  font-weight: 700;
  transition: color 0.3s;
}

#pv21-network-section .net-feature-card:hover h2 {
  color: #00b0ff;
}

#pv21-network-section .net-content p {
  margin: 0;
  color: #475569;
  line-height: 1.6;
  font-size: 1rem;
}

@media (max-width: 768px) {
  #pv21-network-section {
    padding: 30px 20px;
  }
  #pv21-network-section .hero-frame {
    aspect-ratio: 16 / 9;
    max-height: 250px;
  }
  #pv21-network-section .network-features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  #pv21-network-section .net-feature-card {
    flex-direction: row;
    align-items: flex-start;
    padding: 25px;
  }
  #pv21-network-section .net-icon-box {
    margin-bottom: 0;
    margin-right: 20px;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
  #pv21-network-section .section-title {
    font-size: 1.8rem;
  }
}

/* --- 2. KABEL-GESCHWINDIGKEIT --- */
#pv21-speed-section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  padding: 0 20px 60px;
  font-family: inherit;
}

#pv21-speed-section .speed-widget {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 50px 30px;
  width: 100%;
  color: #1e293b;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

#pv21-speed-section h2 {
  text-align: center;
  margin: 0 0 10px 0;
  color: #1e293b;
  font-size: 2.2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}

#pv21-speed-section .intro-text {
  text-align: center;
  color: #475569;
  margin-bottom: 50px;
  font-size: 1.1rem;
  line-height: 1.6;
}

#pv21-speed-section .cable-card {
  background: #f8fafc;
  border-radius: 12px;
  padding: 20px 25px;
  margin-bottom: 25px;
  border: 1px solid #e2e8f0;
  transition: transform 0.3s;
}

#pv21-speed-section .cable-card:hover {
  transform: translateY(-3px);
  background: #ffffff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

#pv21-speed-section .card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

#pv21-speed-section .title-group h3 {
  margin: 0;
  font-size: 1.4rem;
  color: #1e293b;
  display: inline-block;
  margin-right: 15px;
  font-weight: 700;
}

#pv21-speed-section .badge {
  font-size: 0.75rem;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  background: #e2e8f0;
  color: #475569;
  font-weight: bold;
}

#pv21-speed-section .badge.highlight {
  background: #dcfce7;
  color: #15803d;
}

#pv21-speed-section .badge.server {
  background: #fef9c3;
  color: #a16207;
}

#pv21-speed-section .badge.future {
  background: #fce7f3;
  color: #be185d;
}

#pv21-speed-section .tech-specs {
  display: flex;
  gap: 15px;
}

#pv21-speed-section .spec-tag {
  background: #ffffff;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.85rem;
  color: #475569;
  font-family: monospace;
  border: 1px solid #e2e8f0;
}

#pv21-speed-section .cable-track {
  height: 24px;
  background: #ffffff;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  padding-left: 15px;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.03);
}

#pv21-speed-section .lwl-track {
  height: 16px;
  margin-top: 8px;
}

#pv21-speed-section .energy-pulse {
  width: 120px;
  height: 100%;
  position: absolute;
  left: -150px;
  filter: blur(8px);
  opacity: 0.6;
  z-index: 1;
}

#pv21-speed-section .speed-overlay {
  position: relative;
  z-index: 2;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 1px;
}

@keyframes flow {
  0% {
    left: -150px;
  }
  100% {
    left: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  #pv21-speed-section .energy-pulse,
  #pv21-speed-section .laser-beam,
  #pv21-network-section .pulse-dot {
    animation: none;
  }
}

#pv21-speed-section .cat6-theme {
  border-left: 4px solid #3498db;
}
#pv21-speed-section .cat6-theme .energy-pulse {
  background: linear-gradient(90deg, transparent, #3498db, transparent);
  animation: flow 3.5s linear infinite;
}
#pv21-speed-section .cat6-theme .speed-overlay {
  color: #1f6fb2;
}

#pv21-speed-section .cat7-theme {
  border-left: 4px solid #2ecc71;
}
#pv21-speed-section .cat7-theme .energy-pulse {
  background: linear-gradient(90deg, transparent, #2ecc71, transparent);
  animation: flow 1.5s linear infinite;
}
#pv21-speed-section .cat7-theme .speed-overlay {
  color: #1e7e46;
}

#pv21-speed-section .cat8-theme {
  border-left: 4px solid #f1c40f;
}
#pv21-speed-section .cat8-theme .energy-pulse {
  background: linear-gradient(90deg, transparent, #f1c40f, transparent);
  animation: flow 0.5s linear infinite;
}
#pv21-speed-section .cat8-theme .speed-overlay {
  color: #866a00;
}

#pv21-speed-section .lwl-theme {
  border-left: 4px solid #ff00ff;
}
#pv21-speed-section .lwl-glow {
  color: #a300a3;
}
#pv21-speed-section .laser-beam {
  position: absolute;
  left: -150px;
  width: 50px;
  height: 100%;
  background: #ff00ff;
  box-shadow: 0 0 10px #ff00ff;
  animation: flow 0.2s linear infinite;
}

#pv21-speed-section .expert-advice-section {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid #e2e8f0;
}

#pv21-speed-section .advice-title {
  text-align: center;
  color: #1e293b;
  font-size: 1.4rem;
  margin-bottom: 30px;
  font-weight: 700;
}

#pv21-speed-section .advice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

#pv21-speed-section .advice-box {
  background: #f8fafc;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  border-bottom-width: 4px;
  transition: transform 0.3s;
  height: 100%;
}

#pv21-speed-section .advice-box:hover {
  background: #ffffff;
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

#pv21-speed-section .advice-box h4 {
  margin: 0 0 10px 0;
  color: #1e293b;
  font-size: 1.1rem;
  font-weight: 700;
}

#pv21-speed-section .advice-box p {
  margin: 0;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.5;
}

#pv21-speed-section .blue-border {
  border-bottom-color: #3498db;
}
#pv21-speed-section .green-border {
  border-bottom-color: #2ecc71;
}
#pv21-speed-section .gold-border {
  border-bottom-color: #f1c40f;
}
#pv21-speed-section .pink-border {
  border-bottom-color: #ff00ff;
}

#pv21-speed-section .widget-footer {
  text-align: center;
  margin-top: 40px;
  color: #475569;
  font-size: 0.85rem;
}

@media (max-width: 1100px) {
  #pv21-speed-section .card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  #pv21-speed-section .tech-specs {
    width: 100%;
    justify-content: flex-start;
  }
  #pv21-speed-section .advice-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  #pv21-speed-section {
    padding: 0 20px 40px;
  }
  #pv21-speed-section .advice-grid {
    grid-template-columns: 1fr;
  }
  #pv21-speed-section .speed-widget {
    padding: 30px 20px;
  }
  #pv21-speed-section h2 {
    font-size: 1.8rem;
  }
}

/* --- 3. NETZWERK-FUNNEL --- */
.pv-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 60px;
  box-sizing: border-box;
}

.funnel-widget {
  background: var(--white);
  width: 100%;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  position: relative;
  padding-bottom: 20px;
}

.widget-header {
  padding: 30px;
  text-align: center;
  border-bottom: 1px solid #e2e8f0;
  background: #fafafa;
}
.widget-header h2 {
  margin: 0;
  color: var(--text-dark);
  font-size: 1.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}

.progress-container {
  background-color: #e2e8f0;
  height: 6px;
  width: 100%;
}
.progress-bar {
  background-color: var(--blue-tech);
  height: 100%;
  width: 0%;
  transition: width 0.4s ease;
  box-shadow: 0 0 10px rgba(0, 176, 255, 0.4);
}

.step-container {
  padding: 50px 40px;
  display: none;
  text-align: center;
  animation: fadeIn 0.4s;
  width: 100%;
  box-sizing: border-box;
}
.step-container.active {
  display: block;
}

.step-title {
  margin-top: 0;
  color: var(--text-dark);
  font-size: 2rem;
  margin-bottom: 15px;
  font-weight: 700;
}
.step-title:focus-visible {
  outline: 2px solid var(--blue-tech);
  outline-offset: 4px;
}
p.subtitle {
  color: var(--text-grey);
  font-size: 1.1rem;
  margin-bottom: 50px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.options-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  width: 100%;
}

.option-card {
  background: var(--bg-color-solid);
  border: 1px solid #e2e8f0;
  border-radius: 15px;
  padding: 30px 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  height: 100%;
  position: relative;
  font-family: inherit;
}
.option-card:hover,
.option-card:focus-visible {
  border-color: var(--blue-tech);
  background-color: var(--white);
  box-shadow: 0 10px 25px rgba(0, 176, 255, 0.15);
  transform: translateY(-5px);
  z-index: 2;
}

.option-card.selected {
  border-color: var(--blue-tech) !important;
  background-color: var(--blue-tech) !important;
  color: var(--white) !important;
  transform: scale(0.98);
}
.option-card.selected::after {
  content: "✓";
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--white);
  color: var(--blue-tech);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}
.option-card.selected * {
  color: var(--white) !important;
}

.option-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}
.option-label {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 1.1rem;
  margin-bottom: 5px;
}
.option-sub {
  font-size: 0.9rem;
  color: var(--text-grey);
  opacity: 0.9;
}

.nav-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}
.btn-next {
  background-color: var(--blue-tech);
  color: var(--white);
  border: none;
  padding: 15px 40px;
  font-size: 1rem;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s;
  box-shadow: 0 5px 15px rgba(0, 176, 255, 0.3);
}
.btn-next:hover,
.btn-next:focus-visible {
  background-color: #0284c7;
  transform: translateY(-2px);
}

.btn-back {
  background: none;
  border: 2px solid #e2e8f0;
  color: var(--text-grey);
  padding: 15px 30px;
  font-size: 1rem;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
}
.btn-back:hover,
.btn-back:focus-visible {
  border-color: var(--text-dark);
  color: var(--text-dark);
}

.contact-form {
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
}
.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}
.form-group {
  width: 100%;
  margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 18px;
  background: var(--input-bg, #f1f5f9);
  border: 1px solid var(--input-border, #cbd5e1);
  color: var(--text-dark);
  border-radius: 8px;
  font-size: 1rem;
  box-sizing: border-box;
  font-family: inherit;
}
.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--blue-tech);
  background: var(--white);
}

.btn-submit {
  background-color: var(--blue-tech);
  color: var(--white);
  border: none;
  padding: 20px 30px;
  font-size: 1.2rem;
  border-radius: 50px;
  cursor: pointer;
  width: 100%;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s;
  margin-top: 10px;
  box-shadow: 0 5px 15px rgba(0, 176, 255, 0.3);
}
.btn-submit:hover,
.btn-submit:focus-visible {
  background-color: #0284c7;
  transform: translateY(-2px);
}
.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

@media (max-width: 768px) {
  .pv-wrapper {
    padding: 0 15px 40px;
  }
  .step-container {
    padding: 30px 15px;
  }
  .widget-header h2 {
    font-size: 1.4rem;
  }
  .options-row {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .option-card {
    padding: 15px 5px;
    min-height: 120px;
  }
  .option-icon {
    font-size: 2rem;
    margin-bottom: 8px;
  }
  .option-label {
    font-size: 0.9rem;
    margin-bottom: 2px;
  }
  .option-sub {
    font-size: 0.75rem;
  }
  .nav-buttons {
    flex-direction: column-reverse;
    gap: 10px;
  }
  .btn-next,
  .btn-back {
    width: 100%;
  }
  .form-row {
    flex-direction: column;
    gap: 0;
  }
  .form-group {
    margin-bottom: 15px;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
