/* Gemeinsame Stile der Homepage autofibu.com. Alles liegt lokal: keine Schrift, kein Bild und
   kein Skript von fremden Servern. */

/* DM Sans ist eine Datei für alle Stärken (400, 500, 700) */
@font-face {
  font-family: "DM Sans";
  font-weight: 100 1000;
  font-display: swap;
  src: url("schrift/dm-sans.woff2") format("woff2");
}
@font-face {
  font-family: Shrikhand;
  font-weight: 400;
  font-display: swap;
  src: url("schrift/shrikhand.woff2") format("woff2");
}

:root {
  --pink: #b3134f;
  --orange: #f26a1b;
  --gelb: #f2b705;
  --gelb-hell: #ffd966;
  --gruen: #0b6e65;
  --braun: #3b1a0b;
  --creme: #fff3d6;
  --schrift-schmuck: Shrikhand, Georgia, serif;
}

body {
  margin: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--braun);
  background: var(--creme);
  font-size: 19px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}
a {
  color: var(--braun);
}
a:hover {
  color: var(--pink);
}
h1,
h2,
h3,
p {
  margin: 0;
}

/* ---------- Bewegung: Sonne und Blumen drehen sich, nur per CSS ---------- */

@keyframes drehen {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.sonne {
  animation: drehen 90s linear infinite;
}
.blume {
  animation: drehen 40s linear infinite;
}
/* Wer weniger Bewegung eingestellt hat, sieht beides still */
@media (prefers-reduced-motion: reduce) {
  .sonne,
  .blume {
    animation: none;
  }
}

/* ---------- Bausteine ---------- */

.breite {
  width: 100%;
  max-width: 1120px;
  box-sizing: border-box;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
.schmuck {
  font-family: var(--schrift-schmuck);
  font-weight: 400;
}
.titel {
  font-family: var(--schrift-schmuck);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1;
  text-align: center;
}
.titel.links {
  text-align: left;
}
.farbe-pink {
  color: var(--pink);
}
.farbe-gruen {
  color: var(--gruen);
}
.farbe-gelb-hell {
  color: var(--gelb-hell);
}
.regenbogen {
  height: 88px;
  background: linear-gradient(
    var(--pink) 0 25%,
    var(--orange) 25% 50%,
    var(--gelb) 50% 75%,
    var(--gruen) 75% 100%
  );
}
.regenbogen.schmal {
  height: 40px;
}

/* ---------- Kopf und Fuß ---------- */

.kopf {
  padding-top: 20px;
  padding-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 2;
}
.marke {
  text-decoration: none;
  font-family: var(--schrift-schmuck);
  font-size: 30px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
}
.hauptmenue {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 26px;
  font-weight: 700;
  font-size: 17px;
}
.hauptmenue a,
.zurueck {
  padding: 12px 0;
}
.zurueck {
  font-weight: 700;
  font-size: 17px;
}

.fuss {
  background: var(--braun);
  color: var(--creme);
}
.fuss-innen {
  padding-top: 22px;
  padding-bottom: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  justify-content: space-between;
  font-size: 16px;
}
.fuss-links {
  display: flex;
  gap: 24px;
}
.fuss-links a,
.fuss-links a:hover {
  color: var(--creme);
  padding: 12px 0;
}

/* ---------- Auftakt mit Sonne ---------- */

.auftakt {
  position: relative;
  padding: 40px 24px 120px;
  text-align: center;
  overflow: hidden;
}
.sonne {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 1500px;
  height: 1500px;
  margin: -750px 0 0 -750px;
  border-radius: 50%;
  background: repeating-conic-gradient(var(--gelb) 0deg 10deg, var(--gelb-hell) 10deg 20deg);
  opacity: 0.75;
}
.auftakt-inhalt {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.schild {
  background: var(--gruen);
  color: var(--creme);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 999px;
}
.auftakt h1 {
  font-family: var(--schrift-schmuck);
  font-weight: 400;
  font-size: clamp(52px, 10.5vw, 148px);
  line-height: 0.95;
  color: var(--pink);
  text-shadow:
    4px 4px 0 var(--creme),
    8px 8px 0 var(--orange);
}
.auftakt-text {
  font-size: 24px;
  font-weight: 500;
  max-width: 24em;
  background: var(--creme);
  padding: 14px 22px;
  border-radius: 28px;
}
.knopf-gross,
.knopf-gross:hover {
  display: inline-flex;
  align-items: center;
  min-height: 56px;
  padding: 0 32px;
  border-radius: 999px;
  background: var(--braun);
  color: var(--creme);
  text-decoration: none;
  font-weight: 700;
  font-size: 20px;
}

/* ---------- Loslassen: drei Schritte ---------- */

.loslassen {
  padding-top: 88px;
  padding-bottom: 88px;
  display: flex;
  flex-direction: column;
  gap: 48px;
  align-items: center;
}
.kreise {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
}
.kreise li {
  width: 300px;
  max-width: 100%;
  aspect-ratio: 1;
  box-sizing: border-box;
  border-radius: 50%;
  padding: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
}
.kreis-zahl {
  font-family: var(--schrift-schmuck);
  font-size: 44px;
  line-height: 1;
}
.kreise h3,
.karten h3 {
  font-size: 24px;
  font-weight: 700;
}
.kreise p {
  font-size: 17px;
  font-weight: 500;
}

/* Flächenfarben für Kreise und Karten */
.auf-orange {
  background: var(--orange);
}
.auf-gelb {
  background: var(--gelb);
}
.auf-gelb-hell {
  background: var(--gelb-hell);
}
.auf-pink {
  background: var(--pink);
  color: var(--creme);
}
.auf-gruen {
  background: var(--gruen);
  color: var(--creme);
}
.auf-creme {
  background: var(--creme);
}

/* ---------- Was es kann ---------- */

.kann {
  padding-bottom: 96px;
  display: flex;
  flex-direction: column;
  gap: 44px;
}
.karten {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
}
.karten > div {
  border-radius: 40px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.karten p {
  font-weight: 500;
}

/* ---------- Karma ---------- */

.karma {
  background: var(--gruen);
  color: var(--creme);
  border-radius: 80px 80px 0 0;
}
.abschnitt {
  padding-top: 88px;
  padding-bottom: 88px;
}
.karma-innen {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.karma-konten {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.karma-konten > div {
  color: var(--braun);
  border-radius: 40px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 24px;
}
.karma-seite {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.karma-soll {
  font-weight: 500;
  text-decoration: line-through;
}
.karma-haben {
  font-weight: 700;
}
.saldo {
  text-align: center;
  font-family: var(--schrift-schmuck);
  font-size: clamp(26px, 3.5vw, 40px);
  line-height: 1.1;
}

/* ---------- Sag's einfach ---------- */

.sags-innen {
  display: flex;
  flex-wrap: wrap;
  gap: 48px 64px;
  align-items: center;
}
.sags-text {
  flex: 1 1 340px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sags-text p {
  font-size: 22px;
  font-weight: 500;
  max-width: 20em;
}
.sags-beispiel {
  flex: 1 1 380px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.gesagt {
  align-self: flex-start;
  background: var(--creme);
  border-radius: 32px 32px 32px 6px;
  padding: 18px 24px;
  font-size: 21px;
  font-weight: 700;
}
.vorschlag {
  align-self: flex-end;
  width: 100%;
  max-width: 420px;
  box-sizing: border-box;
  background: var(--braun);
  color: var(--creme);
  border-radius: 32px 32px 6px 32px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 18px;
}
.vorschlag > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.vorschlag button {
  margin-top: 8px;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  background: var(--gelb-hell);
  color: var(--braun);
  font-family: inherit;
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
}

/* ---------- Im Ernst ---------- */

.ernst {
  background: var(--braun);
  color: var(--creme);
}
.ernst-innen {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.ernst-kopf {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 36em;
}
.ernst-dach {
  font-family: var(--schrift-schmuck);
  font-size: 26px;
  color: var(--gelb-hell);
}
.ernst-kopf h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 700;
}
.ernst-kopf p:last-child {
  font-size: 20px;
}
.ernst-punkte {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px 48px;
}
.ernst-punkte > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 20px;
  border-top: 2px solid var(--gelb-hell);
}
.ernst-punkte h3 {
  font-size: 21px;
  font-weight: 700;
}
.ernst-punkte p {
  font-size: 18px;
}
.stand {
  font-size: 16px;
  color: var(--gelb-hell);
}

/* ---------- Kontakt ---------- */

.kontakt {
  position: relative;
  padding: 96px 24px 88px;
  text-align: center;
  overflow: hidden;
}
.blume {
  position: absolute;
}
.blume.links {
  left: -70px;
  top: 30px;
}
.blume.rechts {
  right: -50px;
  bottom: 20px;
}
.kontakt-innen {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.kontakt h2 {
  font-family: var(--schrift-schmuck);
  font-weight: 400;
  font-size: clamp(44px, 8vw, 104px);
  line-height: 0.98;
  color: var(--pink);
}
.kontakt-einladung {
  font-size: 22px;
  font-weight: 500;
}
.kontakt-mail {
  font-size: 19px;
  font-weight: 500;
}
.kontakt-mail a {
  font-weight: 700;
  overflow-wrap: anywhere;
}
.formular {
  width: 100%;
  max-width: 560px;
  box-sizing: border-box;
  text-align: left;
  background: #ffffff;
  border: 3px solid var(--braun);
  border-radius: 40px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.feld {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.feld label {
  font-size: 16px;
  font-weight: 700;
}
.feld input,
.feld textarea {
  border: 2px solid var(--braun);
  font-family: inherit;
  font-size: 17px;
  color: var(--braun);
  background: var(--creme);
  box-sizing: border-box;
  width: 100%;
}
.feld input {
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
}
.feld textarea {
  padding: 14px 18px;
  border-radius: 24px;
  line-height: 1.5;
  resize: vertical;
}
.formular-hinweis {
  font-size: 15px;
}
.formular button {
  align-self: flex-start;
  min-height: 52px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  background: var(--gruen);
  color: var(--creme);
  font-family: inherit;
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
}
/* Zusatzfeld gegen Müll: für Menschen nicht zu sehen und nicht zu erreichen */
.nicht-ausfuellen {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Textseiten: Impressum, Datenschutz, Danke, Fehler ---------- */

body.textseite {
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.text {
  flex: 1;
  width: 100%;
  max-width: 760px;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 72px 24px 96px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.text h1 {
  font-family: var(--schrift-schmuck);
  font-weight: 400;
  font-size: clamp(44px, 7vw, 80px);
  line-height: 1;
  color: var(--pink);
}
.text h2 {
  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;
  margin-top: 12px;
  margin-bottom: -16px;
}
.text a {
  overflow-wrap: anywhere;
}
.fett {
  font-weight: 700;
}

/* ---------- Handy ---------- */

@media (max-width: 640px) {
  .breite {
    padding-left: 20px;
    padding-right: 20px;
  }
  .hauptmenue {
    gap: 0 20px;
  }
  .auftakt {
    padding: 24px 20px 88px;
  }
  .auftakt-text {
    font-size: 21px;
  }
  .loslassen,
  .abschnitt {
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .kann {
    padding-bottom: 72px;
  }
  .karma {
    border-radius: 48px 48px 0 0;
  }
  .karten > div,
  .karma-konten > div,
  .formular {
    padding: 26px;
    border-radius: 32px;
  }
  .karma-konten > div {
    font-size: 21px;
  }
  /* etwas mehr Platz im Kreis, damit er rund bleibt */
  .kreise li {
    padding: 34px;
  }
  /* Blumen kleiner und in die Ecken, damit kein Text auf ihnen steht */
  .kontakt {
    padding: 116px 20px 124px;
  }
  .blume {
    width: 110px;
    height: 110px;
  }
  .blume.links {
    left: -30px;
    top: 0;
  }
  .blume.rechts {
    right: -30px;
    bottom: 4px;
  }
  .text {
    padding: 48px 20px 72px;
  }
}
