/* A winter postcard shared by the school invitation and the children's entry. */
.winterpost {
  --tanne: #123e35;
  --tinte: #223f37;
  --papier: #fffcf3;
  --beere: #9c293c;
  color: var(--tinte);
  min-height: 100vh;
  padding: 0 clamp(12px, 4vw, 64px) 4vh;
  background: radial-gradient(ellipse at 18% 10%, #fffdf5, transparent 49%), #eeeada;
}
.postkopf, .postkarte { max-width: 1240px; margin-inline: auto; }
.postkopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 76px; }
.absender { display: inline-flex; align-items: center; gap: 8px; color: var(--tanne); font-weight: 650; }
.sternmarke { display: grid; place-items: center; width: 34px; height: 34px; background: var(--tanne); color: #f4cd78; border-radius: 50%; }
.postkopf a { display: inline-flex; align-items: center; gap: .4em; min-height: 44px; color: var(--tanne); text-underline-offset: .22em; }
.postkarte {
  display: grid;
  grid-template-columns: minmax(0, 1.13fr) minmax(0, 1fr);
  padding: 0;
  overflow: hidden;
  border: 1px solid #c9c4b4;
  border-radius: 20px;
  background: var(--papier);
  box-shadow: 0 12px 40px #3d382619;
}
.dorfmotiv { display: flex; flex-direction: column; position: relative; isolation: isolate; background: #103c3a; color: white; min-width: 0; }
.anschrift { padding: clamp(24px, 4vw, 60px) clamp(22px, 4.2vw, 66px) 8px; z-index: 1; }
.anschrift h1, .brief h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 600; letter-spacing: -.048em; line-height: 1.04; }
.anschrift h1 { color: #fff8e9; font-size: clamp(2rem, 4.4vw, 4.3rem); }
.anschrift p { max-width: 39ch; margin: .9em 0 0; color: #f3e9ce; font-size: 1.06rem; line-height: 1.45; }
.dorfmotiv img { display: block; width: 100%; height: auto; flex: 1; min-height: 230px; object-fit: cover; object-position: 63% 65%; mask-image: linear-gradient(to bottom, transparent 0, #000 20%); }
.brief { position: relative; min-width: 0; align-self: center; padding: clamp(24px, 3.7vw, 56px); }
.brief::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 2px; background: repeating-linear-gradient(to bottom,#cfbf98 0 4px,transparent 4px 11px); }
.briefkopf { display: flex; align-items: center; gap: 12px; }
.briefstern { font: 1.9rem/1 Georgia,serif; color: #a1762e; }
.brief h2 { font-size: clamp(1.65rem, 2.7vw, 2.35rem); color: var(--tanne); }
.brief .anleitung { margin: .65rem 0 1.2rem; line-height: 1.46; }
.brief label { margin: .68rem 0 .28rem; gap: .25rem; font-weight: 550; }
.brief input { width: 100%; padding: .62rem .75rem; min-height: 46px; background: #fffefa; border-color: #969d88; }
.brief button { width: 100%; margin-top: 1rem; min-height: 50px; border-color: var(--beere); background: var(--beere); font-size: 1rem; border-radius: 9px; }
.brief button:not(:disabled):hover { background: #792135; }
.brief button span { margin-left: .3em; }
@media (max-width: 960px) {
  .brief button span { display: none; }
  .dorfmotiv img { object-position: 83% 65%; }
}
.brief small { margin: .75rem 0 0; color: #4c5d54; line-height: 1.45; }
.brief a { color: var(--tanne); }
.brief #erneut { background: var(--tanne); border-color: var(--tanne); color: white; }
.brief #meldung { overflow-wrap: anywhere; }
.brief #meldung:empty { margin: 0; }
.brief #meldung:not(:empty) { border-inline-start: 4px solid #ad7932; }
#login #code { font-size: 1.3rem; letter-spacing: .1em; }
.postkopf .lehrerknopf {
  margin-block: 6px; padding: .65em 1.15em; min-height: 48px;
  border: 2px solid #d9af60; border-radius: 12px; background: #90283c;
  color: white; font-weight: 650; text-decoration: none;
}
.postkopf .lehrerknopf:hover { background: #742033; text-decoration: underline; }
.lehrerpost .brief {
  align-self: stretch; background: #fff7e1;
  box-shadow: inset 0 0 0 2px #d1b46b;
}
.lehrerpost .brief::before { display: none; }
.lehrerpost .briefkopf {
  padding: clamp(14px,2vw,28px); border-radius: 12px;
  color: #ffe3a0; background: linear-gradient(110deg,#104936,#1a5942);
  border-bottom: 4px solid #cf9d45;
}
.lehrerpost .briefstern { color: #ffe3a0; }
.lehrerpost .briefkopf h2 { color: #fff9e9; font-size: clamp(1.9rem,3.5vw,3rem); }
.lehrerpost .brief button[type=submit] { min-height: 56px; font-size: 1.08rem; }
@media (min-width: 741px) {
  .lehrerpost .postkarte { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
  .lehrerpost .anschrift { padding-inline: clamp(20px,2.5vw,36px); }
  .lehrerpost .anschrift h1 { font-size: clamp(1.65rem,3.65vw,3.1rem); hyphens: auto; }
}
@media (max-width: 740px) {
  .postkopf { min-height: 57px; font-size: .85rem; }
  .postkarte { grid-template-columns: 1fr; border-radius: 14px; }
  .dorfmotiv { min-height: 152px; justify-content: center; overflow: hidden; }
  .dorfmotiv img { position: absolute; inset: 0; z-index: -1; height: 100%; min-height: 0; object-position: 70% 58%; mask-image: linear-gradient(90deg,transparent 3%,#0003 47%,#000 95%); }
  .anschrift { width: 84%; padding: 17px; text-shadow: 0 1px 5px #081e20; }
  .anschrift h1 { font-size: clamp(1.75rem, 7.5vw, 2.5rem); }
  .anschrift p { max-width: 27ch; margin: .5em 0 0; font-size: .93rem; line-height: 1.32; }
  .brief { padding: 20px clamp(16px, 5vw, 35px) 24px; }
  .brief::before { inset: 0 0 auto; width: auto; height: 2px; background: repeating-linear-gradient(90deg,#cfbf98 0 4px,transparent 4px 11px); }
  .brief .anleitung { margin-bottom: .8rem; }
}
@media (max-width: 365px) {
  .sternmarke { width: 24px; height: 24px; }
  .postkopf { gap: 5px; font-size: .77rem; }
  .briefstern { display: none; }
}
