/* ===================================================================
   KI x Manderscheider Burgen
   Schriften: Überschriften "Canva Sans" (Fallback: Poppins),
              Fließtext "TT Norms" (Fallback: Montserrat).
   Sind die Originalschriften installiert, werden sie automatisch
   verwendet – sonst greifen die Google-Fonts-Fallbacks.
   =================================================================== */

/* Lokal gehostete Schriften (DSGVO: keine Verbindung zu Google-Servern) */

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/poppins-700.woff2') format('woff2');
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/montserrat-var.woff2') format('woff2');
}

:root {
  --coral: #ff5757;          /* Roter Akzent (Hinweis-Pill, BLOG, Kosten) */
  --gray: #d9d9d9;           /* Grauer Hintergrund im Konzept-Bereich */
  --text: #000000;
  --font-heading: 'Canva Sans', 'Poppins', Arial, sans-serif;
  --font-body: 'TT Norms', 'TT Norms Pro', 'Montserrat', Arial, sans-serif;
}

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

body {
  font-family: var(--font-body);
  color: var(--text);
  background: #ffffff;
  font-size: 15px;
  line-height: 1.55;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
}

.container {
  max-width: 1304px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.centered {
  text-align: center;
}

/* ---------- Hero ----------------------------------------------------- */

.hero {
  position: relative;
  height: 670px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #77796f url('../assets/hero-burgen.png') center / cover no-repeat;
}

.hero h1 {
  color: #ffffff;
  font-size: 52px;
  text-align: center;
  max-width: 620px;
  margin-top: 20px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

/* ---------- Die Idee / Die Manderscheider Burgen --------------------- */

.intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 48px;
  padding-top: 65px;
}

.intro-col h2 {
  font-size: 27px;
  max-width: 380px;
  margin-bottom: 18px;
}

.intro-col p {
  max-width: 370px;
}

/* ---------- Die Vorteile eines Chatbots ------------------------------ */

.vorteile {
  padding-top: 210px;
}

.vorteile-heading {
  font-size: 28px;
  text-align: center;
  max-width: 340px;
  margin: 0 auto 42px;
}

.vorteile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 60px;
  max-width: 1140px;
  margin: 0 auto;
}

.vorteil {
  text-align: center;
}

.vorteil-img {
  display: block;
  width: 100%;
  height: 235px;
  object-fit: cover;
  margin: 0 auto 22px;
}

.vorteil h3 {
  font-size: 13px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.vorteil p {
  font-size: 13.5px;
  line-height: 1.5;
  margin: 0 auto;
}

/* Textbreiten wie in der Vorlage (unterschiedlich breite Textboxen) */
.vorteil:nth-child(1) p { max-width: 260px; }
.vorteil:nth-child(2) p { max-width: 230px; }
.vorteil:nth-child(3) p { max-width: 185px; }

/* ---------- Konzept (grauer Bereich) --------------------------------- */

.konzept {
  background: var(--gray);
  margin-top: 13px;
  padding: 18px 0;
}

.konzept-inner {
  display: grid;
  grid-template-columns: 48% 1fr;
  column-gap: 60px;
  align-items: center;
}

.konzept-text h2 {
  font-size: 28px;
  text-align: center;
  max-width: 420px;
  margin-bottom: 24px;
}

.konzept-text p {
  max-width: 420px;
}

.konzept-media {
  display: flex;
  justify-content: center;
  align-items: center;
}

.konzept-media img {
  display: block;
  height: 415px;
  width: auto;
  max-width: 100%;
}

/* ---------- Über das Projekt ----------------------------------------- */

.ueberblick {
  padding-top: 60px;
}

.ueberblick h2 {
  font-size: 28px;
  margin-bottom: 30px;
}

.ueberblick-text {
  text-align: justify;
  max-width: 1110px;
  margin: 0 auto;
}

.proto-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 60px;
  align-items: end;
  max-width: 1120px;
  margin: 110px auto 0;
}

.proto-row figure {
  text-align: center;
}

.proto-img-chat {
  display: block;
  height: 330px;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
}

.proto-img-slide {
  display: block;
  width: 100%;
  height: auto;
}

.proto-row figcaption {
  font-size: 13px;
  margin-top: 12px;
}

/* ---------- Rote Bänder (BLOG / Kosten) ------------------------------ */

.band {
  background: var(--coral);
  border-radius: 18px;
  padding: 14px 40px;
  margin-left: -20px;
  margin-right: -20px;
}

.band-blog {
  margin-top: 40px;
}

.band-blog h2 {
  color: #ffffff;
  font-size: 26px;
}

.band-kosten {
  text-align: center;
  padding-top: 19px;
  padding-bottom: 19px;
}

.band-kosten h2 {
  color: var(--text);
  font-size: 22px;
}

/* ---------- Blog ------------------------------------------------------ */

.post {
  padding: 38px 28px 0;
}

.post h3 {
  font-size: 17px;
  margin-bottom: 12px;
}

.post p {
  font-size: 14.5px;
  text-align: justify;
}

/* Plan-Grafik (20.09.2025) */

.plan-img {
  display: block;
  height: 350px;
  width: auto;
  max-width: 100%;
  margin: 35px auto 0;
}

/* ---------- Zukünftige Kosten/Transparenz ---------------------------- */

.kosten {
  padding-top: 60px;
}

.kosten-item {
  padding-left: 4px;
  margin-top: 45px;
  max-width: 545px;
}

.kosten-item:first-of-type {
  margin-top: 32px;
}

.kosten-item h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.kosten-item p {
  font-size: 14.5px;
}

/* ---------- Footer ---------------------------------------------------- */

.footer {
  padding-top: 60px;
  padding-bottom: 40px;
  text-align: right;
}

.footer p {
  font-size: 12.5px;
}

.footer-links {
  margin-bottom: 6px;
}

.footer-links a {
  color: var(--text);
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* ---------- Unterseiten (Impressum / Datenschutz) -------------------- */

.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 20px 70px;
}

.legal h1 {
  font-size: 30px;
  margin-bottom: 28px;
}

.legal h2 {
  font-size: 19px;
  margin: 34px 0 10px;
}

.legal p,
.legal ul {
  font-size: 14.5px;
  margin-bottom: 10px;
}

.legal ul {
  padding-left: 20px;
}

.legal a {
  color: var(--text);
}

/* Markiert Stellen, die noch ergänzt werden müssen */
.offen {
  background: #fff3cd;
  border-radius: 4px;
  padding: 1px 6px;
}

.back-link {
  display: inline-block;
  font-size: 13.5px;
  color: var(--text);
  text-decoration: none;
  margin-bottom: 34px;
}

.back-link:hover {
  text-decoration: underline;
}

/* ---------- Responsive ------------------------------------------------ */

@media (max-width: 900px) {
  .hero {
    height: 480px;
  }

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

  .intro,
  .konzept-inner,
  .proto-row {
    grid-template-columns: 1fr;
    row-gap: 45px;
  }

  .intro-col p,
  .intro-col h2 {
    max-width: none;
  }

  .vorteile {
    padding-top: 90px;
  }

  .vorteile-grid {
    grid-template-columns: 1fr;
    row-gap: 45px;
    max-width: 420px;
  }

  .konzept {
    padding: 45px 0;
  }

  .konzept-media img {
    height: auto;
    max-height: 350px;
  }

  .vorteil-img,
  .proto-img-chat,
  .plan-img {
    height: auto;
    max-height: 340px;
  }

  .proto-row {
    margin-top: 55px;
  }

  .plan {
    grid-template-columns: 1fr 1fr;
    row-gap: 35px;
  }

  .post {
    padding-left: 10px;
    padding-right: 10px;
  }
}

@media (max-width: 560px) {
  .hero h1 {
    font-size: 30px;
  }

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