/* ===========================================================================
   Amorazza - DAS STARTFENSTER (V749)
   ---------------------------------------------------------------------------
   Der Nachbau von Christians Entwurf. Die Farben sind AUS DER VORLAGE
   AUSGEMESSEN, nicht geschaetzt:
       Grund der Karte   #fefaf8
       Rot               #7b091b   Marke, Kopfzeilen, Knopf
       Kreis hinter Icon #faf0ed
       Trennlinien       #f2ded9
   Sie stehen woertlich und NICHT als var(): keiner dieser Werte ist in
   tokens.css definiert. Ein erfundener Variablenname faellt still auf
   seinen Rueckfallwert zurueck - siehe --ci-dunkel und --flaeche.

   DIE SCHRIFT ist Georgia mit Times als Rueckfall. Die Vorlage benutzt
   eine feinere Serifenschrift; ohne einen nachgeladenen Webfont ist sie
   nicht zu treffen. Georgia liegt auf jedem Geraet und kommt der Form am
   naechsten - siehe Changelog.
   =========================================================================== */

.sf-grund {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  /* teildurchsichtig, wie beauftragt: die Startseite bleibt sichtbar */
  background: rgba(40, 12, 20, 0.55);
  overflow-y: auto;
}
.sf-grund[hidden] { display: none; }

.sf-karte {
  position: relative;
  width: 100%;
  max-width: 460px;
  margin: auto;
  padding: 26px 26px 24px;
  background: #fefaf8;
  border-radius: 18px;
  box-sizing: border-box;
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
}

.sf-herz {
  display: block;
  width: 78px;
  height: auto;
  margin: 0 auto 6px;
}

.sf-marke {
  margin: 0;
  font-size: 46px;
  line-height: 1.05;
  font-weight: 400;
  color: #7b091b;
}

.sf-spruch {
  margin: 5px 0 0;
  font-size: 16px;
  line-height: 1.3;
  color: #1e1e1c;
}

/* Die Haarlinie mit dem Herzchen in der Mitte. Zwei Linien links und
   rechts statt einer durchgehenden - sonst laege das Herz darauf. */
.sf-teiler {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0 6px;
}
.sf-teiler::before,
.sf-teiler::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #f2ded9;
}
.sf-teiler-herz {
  font-size: 17px;
  line-height: 1;
  color: #7b091b;
}

/* --- eine Stufe ---------------------------------------------------------- */
.sf-zeile {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  text-align: left;
  border-bottom: 1px solid #f2ded9;
}
.sf-zeile-letzte { border-bottom: 0; }
.sf-zeile-allein { padding-top: 20px; }

.sf-mal {
  flex: 0 0 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 2px;
}

/* Erste Stufe: Person mit Haken in einem rosa Kreis. */
.sf-mal-person {
  width: 62px;
  height: 62px;
  padding: 13px;
  box-sizing: border-box;
  color: #7b091b;
  background: #faf0ed;
  border-radius: 50%;
}

/* Kalenderblatt: Rahmen, zwei Ringe oben, Datum darin. */
.sf-kalender {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 56px;
  margin-top: 5px;
  border: 2.5px solid #7b091b;
  border-radius: 7px;
}
.sf-kalender::before,
.sf-kalender::after {
  content: "";
  position: absolute;
  top: -7px;
  width: 5px;
  height: 9px;
  border: 2.5px solid #7b091b;
  border-bottom: 0;
  border-radius: 3px 3px 0 0;
  background: #fefaf8;
}
.sf-kalender::before { left: 12px; }
.sf-kalender::after  { right: 12px; }
.sf-kalender-tag {
  font-size: 15px;
  line-height: 1;
  color: #7b091b;
}

.sf-text { flex: 1 1 auto; min-width: 0; }

.sf-kopf {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 700;
  color: #7b091b;
}
.sf-was {
  margin: 2px 0 0;
  font-size: 19px;
  line-height: 1.3;
  color: #1e1e1c;
}
.sf-dazu {
  margin: 6px 0 0;
  /* Der kleine Text ist in der Vorlage serifenlos - der einzige Bruch
     im Satzbild, und er ist Absicht: er soll leiser sein. */
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.45;
  color: #3a3a38;
}

/* --- der Knopf ----------------------------------------------------------- */
.sf-knopf {
  display: block;
  width: 100%;
  margin: 20px 0 0;
  padding: 15px 20px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  font-size: 19px;
  color: #ffffff;
  background: #7b091b;
  border: 0;
  border-radius: 14px;
  cursor: pointer;
}
.sf-knopf:hover { background: #620715; }

/* --- schmale Schirme ------------------------------------------------------ */
@media (max-width: 400px) {
  .sf-karte  { padding: 20px 18px 18px; }
  .sf-marke  { font-size: 42px; }
  .sf-spruch { font-size: 15px; }
  .sf-herz   { width: 72px; }
  .sf-zeile  { gap: 12px; padding: 13px 0; }
  .sf-mal    { flex-basis: 54px; }
  .sf-mal-person { width: 54px; height: 54px; padding: 11px; }
  .sf-kalender   { width: 54px; height: 49px; }
  .sf-kalender-tag { font-size: 13px; }
  .sf-kopf   { font-size: 18px; }
  .sf-was    { font-size: 17px; }
  .sf-dazu   { font-size: 13px; }
  .sf-knopf  { font-size: 17px; padding: 13px 18px; }
}
