@font-face {
  font-family: "Caveat";
  src: url("fonts/caveat-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap
}

@font-face {
  font-family: "Open Sans";
  src: url("fonts/open-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap
}

@font-face {
  font-family: "Open Sans";
  src: url("fonts/open-sans-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap
}

:root {
  --gelb: #FAB700;
  --blau: #4084A1;
  --blau-dunkel: #2F6680;
  --orange: #F28C00;
  --weiss: #fff;
  --text: #3a3a3a;
}

* {
  box-sizing: border-box
}

html,
body {
  margin: 0
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--weiss);
  font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  line-height: 1.6;
}

.topbar {
  height: 8px;
  background: var(--blau)
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center
}

.karte {
  position: relative;
  width: 100%;
  background: var(--weiss);
  text-align: center;
  padding: 4rem 1.5rem 0;
}

.karte>*:not(.band) {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto
}

.logo {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
  margin: 0 auto
}

h1 {
  font-family: "Caveat", cursive;
  font-weight: 700;
  font-size: clamp(2.6rem, 7vw, 3.6rem);
  line-height: 1.1;
  color: var(--blau);
  margin: 2rem 0 .75rem;
}

.unterzeile {
  font-family: "Caveat", cursive;
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1.2;
  color: var(--orange);
  margin: 0 0 3rem;
}

p {
  margin: 0 0 1rem
}

.intro {
  max-width: 30rem;
  margin: 0 auto 2rem
}

/* Kontaktband im Stil der blauen "Pinselstrich"-Bänder der alten Seite */
.band {
  position: relative;
  margin: 1rem -1.5rem 0;
  background: var(--blau);
  color: var(--weiss);
  padding: 3.5rem 1.5rem 3.25rem;
}

.band::before,
.band::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 14px;
  background: var(--blau);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 14' preserveAspectRatio='none'%3E%3Cpath d='M0 14V9l40-3 55 4 70-6 60 5 80-7 65 6 70-4 60 5 55-6 50 4 55-3V14z'/%3E%3C/svg%3E") center/100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 14' preserveAspectRatio='none'%3E%3Cpath d='M0 14V9l40-3 55 4 70-6 60 5 80-7 65 6 70-4 60 5 55-6 50 4 55-3V14z'/%3E%3C/svg%3E") center/100% 100% no-repeat;
}

.band::before {
  top: -13px
}

.band::after {
  bottom: -13px;
  transform: scaleY(-1)
}

.firma {
  font-family: "Caveat", cursive;
  font-weight: 700;
  font-size: 2rem;
  margin: 0 0 1rem;
  line-height: 1.2
}

.kontakt {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  align-items: center
}

.kontakt a {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  min-height: 48px;
  padding: .6rem 1.4rem;
  background: var(--weiss);
  color: var(--blau-dunkel);
  font-weight: 700;
  text-decoration: none;
  font-size: 1.05rem;
  border-radius: 999px;
  transition: background .2s, color .2s, transform .2s;
}

.kontakt a:hover {
  background: var(--orange);
  color: var(--weiss);
  transform: translateY(-2px)
}

.kontakt a:focus-visible {
  outline: 3px solid var(--gelb);
  outline-offset: 3px
}

.kontakt svg {
  width: 20px;
  height: 20px;
  flex: none;
  fill: currentColor
}

.danke {
  padding: 2.5rem 0 3rem;
  margin: 0 auto
}

.danke span {
  font-family: "Caveat", cursive;
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--orange)
}

footer {
  text-align: center;
  font-size: .85rem;
  padding: 1rem;
  color: #555;
  border-top: 6px solid var(--gelb);
}

footer a {
  color: var(--blau-dunkel)
}

footer a:hover {
  color: var(--orange)
}

/* Unterseite Impressum */
.karte.text {
  text-align: left;
  padding-bottom: 3rem
}

.karte.text h1 {
  text-align: center
}

.karte.text h2 {
  font-size: 1.1rem;
  color: var(--blau-dunkel);
  margin: 2rem auto .5rem
}

.karte.text a {
  color: var(--blau-dunkel)
}

.zurueck {
  display: block;
  margin-top: 2rem;
  font-weight: 700
}

@media (max-width:480px) {
  .karte {
    padding: 2.5rem 1.25rem 0
  }

  .band {
    margin: 1rem -1.25rem 0;
    padding: 2.75rem 1.25rem 2.5rem
  }
}

/* Breiten innerhalb der vollflächigen Seite */
.karte>.logo {
  max-width: 420px
}

.karte>.intro {
  max-width: 30rem
}

.karte.text h3 {
  font-size: 1rem;
  color: var(--blau-dunkel);
  margin: 1.25rem auto .4rem
}

.karte.text {
  overflow-wrap: break-word;
  hyphens: auto
}

.karte.text>* {
  max-width: 760px
}