/* PGC-cam Website — Stilvorgaben */

:root {
  --navy: #1E3A8A;
  --navy-dark: #15296b;
  --grau-bg: #F5F6FA;
  --grau-text: #555;
  --grau-line: #E5E7EB;
  --schwarz: #1F2937;
  --weiss: #FFFFFF;
  --rot: #D62828;
  --gruen: #2A9D52;
  --gelb: #F7B500;
}

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

body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--schwarz);
  background: var(--weiss);
}

a {
  color: var(--navy);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ============================================================ */
/* HEADER + NAVIGATION                                          */
/* ============================================================ */

header {
  background: var(--weiss);
  border-bottom: 2px solid var(--grau-line);
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  font-size: 22px;
  font-weight: bold;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
}

.logo-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--rot);
  border-radius: 50%;
  margin: 0 4px 0 2px;
  position: relative;
  top: -8px;
}

.logo-sub {
  font-size: 12px;
  font-weight: normal;
  color: var(--grau-text);
  margin-left: 8px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}

nav a {
  color: var(--schwarz);
  font-weight: 500;
  font-size: 15px;
}

nav a:hover, nav a.aktiv {
  color: var(--navy);
}

/* ============================================================ */
/* HERO                                                         */
/* ============================================================ */

.hero {
  background: linear-gradient(135deg, rgba(30,58,138,0.92) 0%, rgba(21,41,107,0.96) 100%),
              url('images/mann-pc-schloss.png') center/cover no-repeat;
  color: var(--weiss);
  padding: 80px 0 90px;
  text-align: center;
}

.hero.beratung-bg {
  background: linear-gradient(135deg, rgba(30,58,138,0.85) 0%, rgba(21,41,107,0.92) 100%),
              url('images/beratung-schloss-fenster.png') center/cover no-repeat;
}

.hero h1 {
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 16px;
}

.hero .untertitel {
  font-size: 20px;
  font-weight: 300;
  margin-bottom: 32px;
  opacity: 0.92;
}

.hero .tagline {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 13px;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.cta-btn {
  display: inline-block;
  background: var(--weiss);
  color: var(--navy);
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 16px;
  border: 2px solid var(--weiss);
  margin: 8px 6px;
  transition: all 0.2s;
}

.cta-btn:hover {
  background: transparent;
  color: var(--weiss);
  text-decoration: none;
}

.cta-btn-secondary {
  background: transparent;
  color: var(--weiss);
}

.cta-btn-secondary:hover {
  background: var(--weiss);
  color: var(--navy);
}

/* ============================================================ */
/* SEKTIONEN                                                    */
/* ============================================================ */

section {
  padding: 70px 0;
}

section.alt {
  background: var(--grau-bg);
}

h2 {
  font-size: 32px;
  font-weight: bold;
  color: var(--navy);
  margin-bottom: 16px;
  text-align: center;
}

h2 .untertitel {
  display: block;
  font-size: 16px;
  font-weight: normal;
  color: var(--grau-text);
  margin-top: 8px;
}

h3 {
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 12px;
}

p {
  margin-bottom: 14px;
}

/* ============================================================ */
/* FEATURES (3 Spalten)                                         */
/* ============================================================ */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-top: 40px;
}

.feature {
  text-align: center;
  padding: 20px;
}

.feature-icon {
  font-size: 40px;
  margin-bottom: 12px;
}

/* ============================================================ */
/* METAPHER-SEKTION (Bild + Text nebeneinander)                 */
/* ============================================================ */

.metapher-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 40px;
}

.metapher-block.umgekehrt {
  grid-template-columns: 1fr 1fr;
}

.metapher-block img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.metapher-text h2 {
  text-align: left;
}

.metapher-text p {
  font-size: 17px;
  line-height: 1.7;
}

.metapher-text blockquote {
  border-left: 4px solid var(--navy);
  padding: 12px 20px;
  margin: 20px 0;
  font-style: italic;
  font-size: 18px;
  color: var(--navy);
}

@media (max-width: 768px) {
  .metapher-block {
    grid-template-columns: 1fr;
  }
}

/* ============================================================ */
/* PORTRAIT-BLOCK (Über uns)                                    */
/* ============================================================ */

.portrait-block {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: center;
  max-width: 900px;
  margin: 30px auto 0;
}

.portrait-block img {
  width: 100%;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.portrait-block .text p {
  font-size: 17px;
}

@media (max-width: 768px) {
  .portrait-block {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .portrait-block img {
    max-width: 240px;
    margin: 0 auto;
  }
}

.feature h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.feature p {
  color: var(--grau-text);
  font-size: 15px;
}

/* ============================================================ */
/* PRODUKT-KARTEN                                               */
/* ============================================================ */

.produkte {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.produkt {
  background: var(--weiss);
  border: 2px solid var(--grau-line);
  border-radius: 12px;
  padding: 32px 28px;
  text-align: center;
  transition: all 0.2s;
}

.produkt:hover {
  border-color: var(--navy);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.produkt.empfohlen {
  border-color: var(--navy);
  position: relative;
}

.produkt.empfohlen::before {
  content: "Beliebt";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: var(--weiss);
  padding: 4px 14px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: bold;
}

.produkt h3 {
  margin-bottom: 8px;
}

.produkt .preis {
  font-size: 36px;
  font-weight: bold;
  color: var(--navy);
  margin: 16px 0;
}

.produkt .preis-sub {
  font-size: 13px;
  color: var(--grau-text);
  font-weight: normal;
  display: block;
}

.produkt ul {
  list-style: none;
  text-align: left;
  margin: 20px 0;
  padding: 0;
}

.produkt ul li {
  padding: 6px 0;
  font-size: 14px;
  color: var(--schwarz);
  position: relative;
  padding-left: 24px;
}

.produkt ul li::before {
  content: "✓";
  color: var(--gruen);
  font-weight: bold;
  position: absolute;
  left: 0;
}

.produkt .btn-kauf {
  display: block;
  background: var(--navy);
  color: var(--weiss);
  padding: 12px 0;
  border-radius: 8px;
  text-align: center;
  font-weight: bold;
  margin-top: 16px;
}

.produkt .btn-kauf:hover {
  background: var(--navy-dark);
  text-decoration: none;
}

/* ============================================================ */
/* ÜBER UNS                                                     */
/* ============================================================ */

.ueber-uns {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.ueber-uns p {
  font-size: 17px;
  color: var(--schwarz);
}

/* ============================================================ */
/* KONTAKT                                                      */
/* ============================================================ */

.kontakt-box {
  background: var(--weiss);
  max-width: 600px;
  margin: 30px auto 0;
  padding: 30px;
  border: 2px solid var(--grau-line);
  border-radius: 12px;
  text-align: center;
}

.kontakt-box p {
  font-size: 17px;
}

.kontakt-box strong {
  color: var(--navy);
}

/* ============================================================ */
/* FOOTER                                                       */
/* ============================================================ */

footer {
  background: var(--schwarz);
  color: #ccc;
  padding: 40px 0 24px;
  font-size: 14px;
}

footer .footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 28px;
}

footer h4 {
  color: var(--weiss);
  font-size: 16px;
  margin-bottom: 12px;
}

footer ul {
  list-style: none;
  padding: 0;
}

footer ul li {
  padding: 4px 0;
}

footer a {
  color: #ccc;
}

footer a:hover {
  color: var(--weiss);
  text-decoration: underline;
}

.footer-copyright {
  border-top: 1px solid #444;
  padding-top: 16px;
  text-align: center;
  font-size: 13px;
  color: #888;
}

/* ============================================================ */
/* INHALTSSEITEN (Impressum, AGB, DSE)                          */
/* ============================================================ */

.inhalt {
  max-width: 800px;
  margin: 0 auto;
}

.inhalt h2 {
  text-align: left;
  margin-top: 30px;
}

.inhalt h3 {
  margin-top: 22px;
  margin-bottom: 8px;
  font-size: 18px;
}

.inhalt p, .inhalt li {
  font-size: 15px;
  color: var(--schwarz);
}

.inhalt ul, .inhalt ol {
  margin-left: 24px;
  margin-bottom: 14px;
}

.inhalt li {
  padding: 4px 0;
}

.hinweis-box {
  background: #FFF8E1;
  border-left: 4px solid var(--gelb);
  padding: 16px 20px;
  margin: 20px 0;
  border-radius: 4px;
  font-size: 14px;
}

/* ============================================================ */
/* RESPONSIVE                                                   */
/* ============================================================ */

@media (max-width: 768px) {
  .features, .produkte {
    grid-template-columns: 1fr;
  }

  .nav-wrap {
    flex-direction: column;
    gap: 12px;
  }

  nav ul {
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero .untertitel {
    font-size: 17px;
  }

  h2 {
    font-size: 26px;
  }

  footer .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Kontaktformular ===== */
.kontakt-form { max-width: 680px; margin: 34px auto 0; text-align: center; }
.kontakt-form .form-row { margin-bottom: 18px; display: flex; flex-direction: column; }
.kontakt-form label { font-weight: 600; margin-bottom: 7px; color: var(--navy); font-size: 16px; text-align: center; }
.kontakt-form input[type="text"],
.kontakt-form input[type="email"],
.kontakt-form textarea {
  font-family: inherit; font-size: 16px; padding: 14px 16px;
  border: 1px solid #cdd5e0; border-radius: 8px; background: #fff; color: #222;
  width: 100%; box-sizing: border-box;
}
.kontakt-form input:focus, .kontakt-form textarea:focus {
  outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(30,58,138,0.12);
}
.kontakt-form textarea { resize: vertical; min-height: 170px; }
.kontakt-form .form-check { display: flex; align-items: flex-start; gap: 10px; margin: 6px 0 22px; text-align: left; }
.kontakt-form .form-check input { margin-top: 4px; flex-shrink: 0; }
.kontakt-form .form-check label { font-weight: 400; font-size: 14px; color: #444; margin-bottom: 0; text-align: left; }
.kontakt-form button.cta-btn { cursor: pointer; border: none; font-size: 16px; padding: 14px 32px; }
.hp-feld { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ===== Kauf-Button auf der Produktseite (außerhalb der Karten) ===== */
.inhalt .btn-kauf {
  display: inline-block;
  background: var(--navy);
  color: var(--weiss);
  padding: 14px 38px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
  transition: background 0.15s;
}
.inhalt .btn-kauf:hover { background: var(--navy-dark); text-decoration: none; }

/* ===== Kauf-Box mit Pflicht-Zustimmung (Widerruf-Erlöschen) ===== */
.kauf-box {
  max-width: 480px; margin: 24px auto 0;
  background: var(--weiss); border: 1px solid var(--grau-line); border-radius: 12px;
  padding: 22px 24px; text-align: center;
}
.kauf-consent-label {
  display: flex; gap: 10px; align-items: flex-start;
  text-align: left; font-size: 13px; color: #444; margin-bottom: 16px; line-height: 1.5;
}
.kauf-consent-label input { margin-top: 4px; flex-shrink: 0; width: 18px; height: 18px; }
.inhalt .btn-kauf.gesperrt { opacity: 0.5; }
.kauf-hinweis { font-size: 13px; color: #777; margin-top: 10px; }
.sys-voraussetzung { font-size: 13.5px; color: #444; background: #f3f6fb; border: 1px solid #d6e0ee; border-left: 4px solid var(--navy); border-radius: 6px; padding: 11px 14px; margin: 18px 0 0; line-height: 1.5; }
.video-wrap { max-width: 600px; width: 100%; margin: 0 auto; border-radius: 12px; overflow: hidden; box-shadow: 0 12px 32px rgba(0,0,0,0.15); background: #000; }
.demo-player { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 16 / 9; }
