/* Was nur auf einzelnen Seiten vorkommt. */

/* ----------------------------------------------------- Startseite: Karten */

.karten {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 9px;
}

.karte {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.karte__bild {
  display: block;
  width: 100%;
}

/* Die Vorschaubilder sind quadratisch, die Karte ist es nicht. Im Original
   schneidet Framer sie mit object-fit:cover zu — das machen wir genauso. */
.karte__bild img {
  width: 100%;
  aspect-ratio: 603 / 650;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.karte__bild:hover img {
  transform: scale(1.02);
}

.karte h3 {
  margin-top: 50px;
  color: var(--schwarz);
}

.karte .knopf {
  margin-top: 38px;
}

/* --------------------------------------------------- Report-Landingpages */

.report-kopf {
  display: grid;
  grid-template-columns: minmax(0, 590px) minmax(0, 623px);
  align-items: center;
  gap: 40px;
  padding-block: 33px 60px;
}

.report-kopf__bild img {
  width: 100%;
}

.report-kopf__punkte {
  display: grid;
  gap: 48px;
  padding-right: 30px;
  font-family: var(--schrift-ui);
  font-size: 18px;
  line-height: 25px;
  font-weight: 500;
}

.report-kopf__punkte li {
  list-style: none;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.punkt-icon {
  flex: none;
  width: 34px;
  height: 27px;
  margin-top: 3px;
  color: var(--gelb);
}

.report-kopf__punkte strong {
  font-weight: 700;
}

.report-kopf__punkte ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 48px;
}

.report-kasten {
  display: grid;
  gap: 40px;
  padding: 56px 40px;
  border-radius: 16px;
  background: var(--creme);
  color: #000;
  text-align: center;
  justify-items: center;
}

.report-kasten h3 {
  max-width: 876px;
  font-family: var(--schrift-kasten);
  font-size: clamp(26px, 2.9vw, 36px);
  font-weight: 600;
  line-height: 1.2;
  text-transform: none;
}

.report-kasten__text {
  display: grid;
  gap: 24px;
  max-width: 680px;
  font-family: var(--schrift-ui);
  font-size: 16px;
  line-height: 21px;
}

.report-kasten__text strong {
  font-weight: 700;
}

.report-aufruf {
  display: grid;
  grid-template-columns: minmax(0, 405px) minmax(0, 563px);
  align-items: center;
  gap: 40px;
  justify-content: space-between;
}

.report-aufruf__text {
  display: grid;
  gap: 24px;
  justify-items: start;
}

.report-aufruf__text p {
  font-size: 16px;
  line-height: 24px;
}

.report-aufruf__bild img {
  width: 100%;
}

/* ------------------------------------------------------ Kontakt/Formular */

.formular {
  max-width: 864px;
  margin-inline: auto;
  padding: 40px;
  border-radius: 10px;
  background: var(--feld);
  color: var(--chip);
  font-family: var(--schrift-ui);
}

.formular__feld {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.formular label {
  font-size: 16px;
  line-height: 19px;
}

.formular input,
.formular textarea {
  width: 100%;
  padding: 15px 18px;
  border: 1px solid #d8d8d8;
  border-radius: 6px;
  background: var(--weiss);
  color: var(--chip);
  font-family: inherit;
  font-size: 16px;
  line-height: 21px;
}

.formular input:focus,
.formular textarea:focus {
  outline: 2px solid var(--schwarz);
  outline-offset: 1px;
}

.formular textarea {
  min-height: 120px;
  resize: vertical;
}

.formular button {
  width: 100%;
  padding: 14px 24px;
  border: 0;
  border-radius: 8px;
  background: var(--gelb);
  color: #000;
  font-family: inherit;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
}

.formular button:hover {
  background: var(--gelb-hell);
}

.formular__hinweis {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.5;
  color: #5a5a5a;
}

.formular__hinweis a {
  color: inherit;
}

/* Der Honigtopf gegen Spam-Roboter: fuer Menschen unsichtbar, aber nicht
   display:none — manche Roboter fuellen nur sichtbare Felder nicht aus. */
.formular__topf {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.formular__report {
  margin-bottom: 20px;
  padding: 14px 18px;
  border-radius: 6px;
  background: #e4e4e4;
  font-size: 15px;
  line-height: 1.5;
}

/* Kontaktkacheln */
.kontaktkacheln {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  justify-content: center;
}

.kontaktkachel {
  padding: 30px;
  border-radius: 10px;
  background: var(--chip);
  font-family: var(--schrift-ui);
}

.kontaktkachel h3 {
  font-family: var(--schrift-ui);
  font-size: 16px;
  font-weight: 400;
  line-height: 25px;
  text-transform: none;
}

.kontaktkachel p,
.kontaktkachel a {
  display: block;
  font-size: 18px;
  line-height: 28px;
  text-decoration: none;
}

.kontaktkachel a:hover {
  text-decoration: underline;
}

/* ------------------------------------------------------- Danke / Fehler */

.mitte {
  text-align: center;
}

.mitte .hero__text {
  align-items: center;
}

.hero__text--gross h1 {
  font-size: clamp(64px, 10vw, 140px);
  line-height: 1;
}

.danke__termin {
  width: 100%;
  max-width: 600px;
  margin-top: 40px;
}

.danke__termin iframe {
  display: block;
  width: 100%;
  height: 750px;
  border: 0;
}

/* Siehe basis.css: schmal braucht der Kalender mehr Hoehe, weil aus den zwei
   Spalten eine wird. */
@media (max-width: 700px) {
  .danke__termin iframe {
    height: 1060px;
  }
}

/* ---------------------------------------------------- Impressum/Datenschutz */

.recht {
  padding-block: 100px;
  background: var(--weiss);
  color: var(--dunkel);
}

.recht__text {
  max-width: 1100px;
  margin-inline: auto;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.6;
  color: #4a4a4a;
}

.recht__text h2 {
  margin-top: 56px;
  margin-bottom: 16px;
  font-family: var(--schrift-ui);
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.3;
  color: var(--dunkel);
  text-transform: none;
}

.recht__text h3 {
  margin-top: 36px;
  margin-bottom: 12px;
  font-family: var(--schrift-ui);
  font-size: clamp(19px, 1.8vw, 22px);
  color: var(--dunkel);
  text-transform: none;
}

.recht__text p {
  margin-bottom: 20px;
}

.recht__text ul {
  margin: 0 0 20px;
  padding-left: 24px;
}

.recht__text li {
  margin-bottom: 8px;
}

.recht__text strong {
  color: var(--dunkel);
}

.recht__text a {
  color: var(--dunkel);
}

/* ---------------------------------------------------------------- Umbrueche */

@media (max-width: 999px) {
  .report-kopf,
  .report-aufruf {
    grid-template-columns: minmax(0, 1fr);
  }

  .report-kopf__punkte {
    padding-right: 0;
  }

  .kontaktkacheln {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}

@media (max-width: 639px) {
  .karten {
    grid-template-columns: minmax(0, 1fr);
    gap: 60px;
  }

  .karte h3 {
    margin-top: 30px;
  }

  .kontaktkacheln {
    grid-template-columns: minmax(0, 1fr);
  }

  .report-kasten {
    padding: 32px 24px;
  }

  .formular {
    padding: 24px;
  }

  .report-kopf__punkte {
    gap: 32px;
  }

  .report-kopf__punkte ul {
    gap: 32px;
  }
}
