@font-face {
  font-family: "Playfair Display";
  src: url("schrift/PlayfairDisplay.ttf") format("truetype");
  font-weight: 400 900;
  font-display: swap;
}

:root {
  --tinte: #00375D;
  --tinte-tief: #002C4E;
  --siegel: #D84A2F;
  --papier: #F6F1E7;
  --papier-hell: #FBF8F2;
  --text: #1E2A33;
  --grau: #5B6670;
  --linie: #E4DCCB;
  --karte: #FFFFFF;
  --breite: 1080px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--papier);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

a { color: var(--tinte); }
a:hover { color: var(--siegel); }

h1, h2, h3 {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--tinte);
  line-height: 1.2;
  margin: 0 0 .5em;
}

h1 { font-size: clamp(34px, 5vw, 54px); font-weight: 700; }
h2 { font-size: clamp(28px, 3.6vw, 38px); font-weight: 700; }
h3 { font-size: 21px; font-weight: 700; }

.innen { max-width: var(--breite); margin: 0 auto; padding: 0 24px; }

header.kopf {
  position: sticky; top: 0; z-index: 10;
  background: rgba(246, 241, 231, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--linie);
}

.kopf .innen { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.kopf img { height: 30px; display: block; }
.kopf nav { display: flex; gap: 22px; align-items: center; }
.kopf nav a { text-decoration: none; color: var(--text); font-size: 15px; }
.kopf nav a:hover { color: var(--siegel); }

.knopf {
  display: inline-block;
  background: var(--tinte);
  color: #fff !important;
  text-decoration: none;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  transition: background .15s;
}
.knopf:hover { background: var(--siegel); }
.knopf.klein { padding: 7px 16px; font-size: 14px; }
.knopf.hell { background: transparent; color: var(--tinte) !important; box-shadow: inset 0 0 0 1.5px var(--tinte); }
.knopf.hell:hover { background: var(--tinte); color: #fff !important; }

.held { padding: 72px 0 56px; }
.held .innen { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.held p.lead { font-size: 20px; color: var(--grau); max-width: 34em; }
.held .aktionen { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.held .hinweis { margin-top: 16px; font-size: 14px; color: var(--grau); }
.marke { font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--siegel); font-weight: 600; margin-bottom: 14px; }

.symbol { text-align: center; }
.symbol img { width: min(320px, 80%); filter: drop-shadow(0 24px 40px rgba(0, 55, 93, .25)); }

section { padding: 64px 0; }
section.hell { background: var(--papier-hell); border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); }
.mitte { text-align: center; max-width: 46em; margin: 0 auto 40px; }
.mitte p { color: var(--grau); }

.raster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.karte {
  background: var(--karte);
  border: 1px solid var(--linie);
  border-radius: 16px;
  padding: 24px;
}
.karte p { margin: 0; color: var(--grau); font-size: 16px; }
.karte .zeichen {
  width: 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(0, 55, 93, .08); color: var(--tinte);
  margin-bottom: 14px;
}
.karte .zeichen svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
ul.haken { list-style: none; padding: 0; margin: 0; }
ul.haken li { padding-left: 30px; position: relative; margin: 0 0 10px; }
ul.haken li::before {
  content: ""; position: absolute; left: 0; top: .45em;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--siegel);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M3.5 8.5l3 3 6-7" stroke="black" stroke-width="2.2" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>') center/16px no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M3.5 8.5l3 3 6-7" stroke="black" stroke-width="2.2" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>') center/16px no-repeat;
}

.fenster {
  background: #fff; border: 1px solid var(--linie); border-radius: 14px; overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(0, 44, 78, .35);
  font-size: 14px;
}
.fenster .leiste { display: flex; gap: 7px; padding: 12px 14px; background: #F1ECE2; border-bottom: 1px solid var(--linie); }
.fenster .leiste i { width: 11px; height: 11px; border-radius: 50%; background: #E0D6C4; display: block; }
.fenster table { width: 100%; border-collapse: collapse; }
.fenster td { padding: 10px 14px; border-bottom: 1px solid #F0EBE1; }
.fenster td.betrag { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fenster td:first-child { white-space: nowrap; color: var(--grau); font-variant-numeric: tabular-nums; }
.etikett { font-size: 12px; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.etikett.bezahlt { background: #E3F1E6; color: #2D6A3A; }
.etikett.offen { background: #FCEBD9; color: #9A4B12; }
.etikett.mahnung { background: #FBE3DE; color: #A2311C; }

.kontakt { background: var(--tinte); color: #E8EEF3; }
.kontakt h2 { color: #fff; }
.kontakt p { color: #C9D6E1; }
.kontakt .knopf { background: var(--siegel); }
.kontakt .knopf:hover { background: #fff; color: var(--tinte) !important; }

footer.fuss { padding: 28px 0 40px; font-size: 14px; color: var(--grau); }
footer.fuss .innen { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer.fuss a { color: var(--grau); margin-left: 18px; }

.text { max-width: 760px; margin: 0 auto; padding: 56px 24px 72px; }
.text h1 { font-size: 40px; }
.text h2 { font-size: 24px; margin-top: 1.6em; }
.platzhalter { background: #FFF3C4; padding: 0 4px; border-radius: 4px; }

@media (max-width: 860px) {
  .held .innen, .zwei { grid-template-columns: 1fr; }
  .symbol { order: -1; }
  .symbol img { width: 180px; }
  .raster { grid-template-columns: 1fr 1fr; }
  .kopf nav a:not(.knopf) { display: none; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .raster { grid-template-columns: 1fr; }
  .held { padding: 40px 0 32px; }
  .fenster td:first-child { display: none; }
  footer.fuss a { margin: 0 14px 0 0; }
}
