/* Header and footer in the look of www.fpoe.at (logo and colours only, no fpoe.at links), 24.11.2026.
   Loaded after the calendar CSS, so the body padding of the calendar is moved to the shell. */
@font-face { font-family: VisbyCF; font-weight: 400; font-style: normal; font-display: swap; src: url("VisbyCF-Regular.woff2?v=c039b17a7c") format("woff2"); }
@font-face { font-family: VisbyCF; font-weight: 700; font-style: normal; font-display: swap; src: url("VisbyCF-Bold.woff2?v=49c44bc3ba") format("woff2"); }
@font-face { font-family: VisbyCF; font-weight: 800; font-style: normal; font-display: swap; src: url("VisbyCF-ExtraBold.woff2?v=7701540b63") format("woff2"); }

:root {
  --fpoe-blue: #0056a2;
  --fpoe-navy: #003b6f;
  --fpoe-font: VisbyCF, system-ui, -apple-system, "Segoe UI", sans-serif;
}
body { padding: 0; min-height: 100vh; display: flex; flex-direction: column; }
#app.shell { margin: clamp(1rem, 3vw, 2.5rem) auto; width: min(100% - 2 * clamp(.65rem, 2.8vw, 2rem), 73rem); }

.fpoe-container { width: min(100% - 2rem, 73rem); margin: 0 auto; }

/* Main navigation */
.fpoe-header { background: var(--fpoe-blue); box-shadow: 0 1px 10px -4px rgb(0 0 0 / .64); font-family: var(--fpoe-font); position: relative; z-index: 10; }
.fpoe-header .fpoe-container { display: flex; align-items: center; justify-content: space-between; min-height: 79px; gap: 1rem; }
.fpoe-brand img { display: block; height: 52px; width: auto; }
.fpoe-header .fpoe-container { justify-content: flex-start; }
@media (max-width: 560px) {
  .fpoe-brand img { height: 42px; }
  .fpoe-header .fpoe-container { min-height: 66px; }
}

/* Footer */
.fpoe-footer { margin-top: auto; background: var(--fpoe-blue); color: #fff; font-family: var(--fpoe-font); padding: 1.6rem 0 2rem; text-align: center; }
.fpoe-footer ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: .5rem 2.5rem; }
.fpoe-footer-nav a { color: #fff; text-decoration: none; font-weight: 700; font-size: 1rem; }
.fpoe-footer-nav a:hover { text-decoration: underline; }

.fpoe-header a:focus-visible, .fpoe-footer a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* Short rules below the calendar (wish Joachim, 24.11.2026) */
.advent-rules { width: min(100% - 2 * clamp(.65rem, 2.8vw, 2rem), 73rem); margin: 0 auto clamp(1.5rem, 4vw, 3rem); padding: clamp(1.1rem, 3vw, 1.75rem) clamp(1.1rem, 3vw, 2rem); background: #fff; border: 1px solid #cddfe9; border-radius: 1rem; color: #142b40; }
.advent-rules h2 { font: 700 1.2rem/1.2 Georgia, serif; margin: 0 0 .9rem; }
.advent-rules ol { list-style: none; counter-reset: r; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: .9rem 1.25rem; }
.advent-rules li { counter-increment: r; position: relative; padding-left: 2.6rem; line-height: 1.5; }
.advent-rules li::before { content: counter(r); position: absolute; left: 0; top: -.1rem; width: 1.9rem; height: 1.9rem; border-radius: 50%; display: grid; place-items: center; background: #075d91; color: #fff; font-weight: 700; font-size: .95rem; }
.advent-rules p { margin: 1rem 0 0; font-size: .95rem; }
.advent-rules a { color: #075d91; }
#app.shell { margin-bottom: 1.25rem; }

/* Demo mode banner (only in the mock build behind /demo) */
.demo-banner { background: #fff4d6; color: #5c4300; border-bottom: 1px solid #e8c46a; padding: .6rem 1rem; text-align: center; font-size: .95rem; }
.demo-banner a { color: #5c4300; font-weight: 600; }

/* Christmas header above the calendar (image generated 24.11.2026) */
.advent-hero { position: relative; display: grid; place-items: center; min-height: clamp(170px, 22vw, 320px); padding: 1.5rem 1rem 3.2rem; background: #0b2a4a url("header-weihnacht.jpg?v=bb25b95431") center / cover no-repeat; text-align: center; color: #fff; }
.advent-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgb(11 42 74 / .55) 0%, rgb(11 42 74 / 0) 62%); pointer-events: none; }
.advent-hero-text { position: relative; z-index: 1; }
.advent-hero-title { margin: 0; font: 700 clamp(1.9rem, 5.2vw, 3.6rem)/1.08 Georgia, "Times New Roman", serif; letter-spacing: .01em; text-shadow: 0 2px 18px rgb(0 0 0 / .45); }
.advent-hero-kicker { margin: 0 0 .5rem; font: 700 clamp(.78rem, 1.6vw, .95rem)/1.3 var(--fpoe-font); letter-spacing: .14em; text-transform: uppercase; color: #f6d58e; text-shadow: 0 1px 8px rgb(0 0 0 / .5); }

/* Red satin ribbon with bow, wrapping the calendar like a present */
#app.shell { position: relative; overflow: visible; margin-top: -2.2rem; }
#app.shell::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 14px; border-radius: 1rem 1rem 0 0; z-index: 3; pointer-events: none;
  background: linear-gradient(180deg, #e0303f 0%, #b3101f 45%, #8e0b17 100%); box-shadow: 0 2px 6px rgb(80 0 10 / .35); }
#app.shell::after { content: ""; position: absolute; left: 50%; top: -52px; width: clamp(150px, 20vw, 230px); aspect-ratio: 640 / 329; transform: translateX(-50%); z-index: 4; pointer-events: none;
  background: url("schleife.png?v=23f5731624") center top / contain no-repeat; filter: drop-shadow(0 4px 6px rgb(60 0 10 / .35)); }
.shell > :first-child { border-top-left-radius: 1rem; border-top-right-radius: 1rem; padding-top: calc(.85rem + 14px); }
@media (max-width: 640px) {
  #app.shell::after { top: -34px; width: 128px; }
  .advent-hero { padding-bottom: 4.6rem; }
}

/* Customer banner with lettering (Joachim 01.12.2026, 1600 x 396): image only, the calendar no longer overlaps it,
   so the ribbon bow sits in the gap below instead of covering the bottom line of text. */
.advent-hero-banner { display: block; min-height: 0; padding: 0; background: #0b1c35; }
.advent-hero-banner::after { content: none; }
.advent-banner { display: block; width: 100%; max-width: 1600px; height: auto; margin: 0 auto; }
.advent-hero-banner + #app.shell { margin-top: 64px; }
@media (max-width: 640px) {
  .advent-hero-banner { padding: 0; }
  .advent-banner { max-width: 480px; }
  .advent-hero-banner + #app.shell { margin-top: 44px; }
}

/* Christkindl main prizes (Joachim 26.11.2026): line in the hero banner and block below the calendar. */
.advent-hero-grand { margin: 1rem 0 0; }
.advent-hero-grand-link { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .2rem .6rem; padding: .5rem 1.1rem; border: 1px solid #f6d58e; border-radius: 99px; background: rgb(11 42 74 / .72); color: #fff; text-decoration: none; font: 700 clamp(.85rem, 1.7vw, 1.05rem)/1.3 var(--fpoe-font); box-shadow: 0 4px 18px rgb(0 0 0 / .3); backdrop-filter: blur(2px); }
.advent-hero-grand-link:hover, .advent-hero-grand-link:focus-visible { background: rgb(11 42 74 / .9); }
.advent-hero-grand-label { color: #f6d58e; letter-spacing: .08em; text-transform: uppercase; font-size: .85em; }
.advent-hero-grand-label::before { content: "🎁 "; }
.advent-hero-grand-name::after { content: " ›"; color: #f6d58e; }
html { scroll-behavior: smooth; }
.grand-prizes { width: min(100% - 2 * clamp(.65rem, 2.8vw, 2rem), 73rem); margin: 0 auto 1.25rem; padding: clamp(1.2rem, 3.2vw, 2rem); border-radius: 1rem; scroll-margin-top: 1rem; color: #fff;
  background: radial-gradient(ellipse at top right, rgb(217 169 63 / .28), transparent 55%), linear-gradient(160deg, #0b2a4a, #123d6b); border: 1px solid #d9a93f; box-shadow: 0 7px 35px #17364c24; }
.grand-intro { max-width: 46rem; }
.grand-kicker { margin: 0 0 .35rem; font: 700 .85rem/1.3 var(--fpoe-font); letter-spacing: .14em; text-transform: uppercase; color: #f6d58e; }
.grand-prizes h2 { margin: 0; font: 700 clamp(1.4rem, 3.4vw, 2rem)/1.15 Georgia, serif; }
.grand-intro p:last-child { margin: .6rem 0 0; color: #dbe8f3; }
.grand-list { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1rem; }
.grand-prize { display: grid; grid-template-rows: auto 1fr; overflow: hidden; border-radius: .75rem; background: #fff; color: #142b40; }
.grand-prize img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.grand-text { padding: .9rem 1rem 1.05rem; }
.grand-text h3 { margin: 0; font: 700 1.2rem/1.25 Georgia, serif; }
.grand-text p { margin: .4rem 0 0; color: #45627a; }
.grand-single .grand-prize { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); grid-template-rows: none; }
.grand-single .grand-prize img { height: 100%; aspect-ratio: auto; min-height: 14rem; }
.grand-single .grand-text { align-self: center; padding: 1.2rem 1.4rem; }
.grand-single .grand-text h3 { font-size: clamp(1.3rem, 2.6vw, 1.75rem); }
.grand-cta { margin-top: 1.1rem; background: #d9a93f !important; border-color: #d9a93f !important; color: #142b40 !important; }
/* Phones: photo above the text. height:auto is needed, the desktop height:100% let Safari stretch the photo under the text (01.12.2026). */
@media (max-width: 43rem) { .grand-single .grand-prize { grid-template-columns: 1fr; grid-template-rows: auto auto; }
  .grand-single .grand-prize img { height: auto; min-height: 0; aspect-ratio: 4 / 3; object-position: center 20%; } }

/* Banner without lettering (30.11.2026): text is part of the customer's banner image. */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.fpoe-footer-note { margin: 1rem 0 0; font-size: .85rem; opacity: .8; }
.grand-text p { white-space: pre-line; }
