/* Austrian on Roblox: the website. Core Sans for text, Portada for headlines,
   os-iconfont for icons, Austrian red. */
@font-face { font-family: "Core Sans"; src: url("../fonts/CoreSans-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Core Sans"; src: url("../fonts/CoreSans-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Core Sans"; src: url("../fonts/CoreSans-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Portada"; src: url("../fonts/Portada-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Portada"; src: url("../fonts/Portada-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "os-iconfont"; src: url("../fonts/os-iconfont.woff2") format("woff2"); font-display: block; }

:root {
  --red: #d81e05;
  --red-dark: #ac1804;
  --red-soft: #fbe9e6;
  --ink: #1a1a1a;
  --grey: #5d5d5d;
  --line: #e3e3e3;
  --sand: #f5f3f0;
  --white: #fff;
  --navy: #05164d;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .12);
  --max: 1200px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16px/1.55 "Core Sans", system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: var(--white); }
h1, h2, h3 { font-family: "Portada", Georgia, serif; font-weight: 600; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(32px, 5vw, 56px); }
h2 { font-size: clamp(26px, 3.2vw, 38px); }
h3 { font-size: 22px; }
p { margin: 0 0 1em; }
a { color: var(--red); }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.muted { color: var(--grey); }
.eyebrow { font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 13px; color: var(--red); margin-bottom: 10px; }

/* icons (os-iconfont) */
.i { font-family: "os-iconfont"; font-style: normal; font-weight: normal; line-height: 1; display: inline-block; speak: never; -webkit-font-smoothing: antialiased; }
.i-departure::before { content: "\e90b"; } .i-arrival::before { content: "\e905"; } .i-plane::before { content: "\e904"; }
.i-calendar::before { content: "\e921"; } .i-person::before { content: "\e9fa"; } .i-swap::before { content: "\ead1"; }
.i-search::before { content: "\eaec"; } .i-menu::before { content: "\eadf"; } .i-chevron-right::before { content: "\eac7"; }
.i-chevron-down::before { content: "\eac5"; } .i-arrow-right::before { content: "\eaca"; } .i-close::before { content: "\ead5"; }
.i-check::before { content: "\ead2"; } .i-globe::before { content: "\ea21"; } .i-seat::before { content: "\e937"; }
.i-award::before { content: "\e952"; } .i-crown::before { content: "\e96f"; } .i-hanger::before { content: "\e97a"; }
.i-scales::before { content: "\e97e"; } .i-link::before { content: "\e9ec"; } .i-external::before { content: "\eace"; }
.i-info::before { content: "\eaee"; } .i-clock::before { content: "\e91b"; } .i-ticket::before { content: "\e911"; }
.i-bag::before { content: "\e9a2"; } .i-headset::before { content: "\e9e3"; } .i-power::before { content: "\e9d3"; }
.i-people::before { content: "\eaa7"; } .i-star::before { content: "\ea28"; } .i-share::before { content: "\ea06"; }
.i-news::before { content: "\e9f1"; } .i-doc::before { content: "\e9f2"; } .i-gate::before { content: "\e938"; }
.i-heart::before { content: "\e97b"; } .i-play::before { content: "\ead3"; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 700 15px "Core Sans", sans-serif; border: 0; border-radius: 999px; padding: 13px 26px; cursor: pointer; text-decoration: none; transition: background .15s, color .15s, box-shadow .15s; white-space: nowrap; }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-dark); }
.btn-outline { background: var(--white); color: var(--red); box-shadow: inset 0 0 0 2px var(--red); }
.btn-outline:hover { background: var(--red-soft); }
.btn-ghost { background: transparent; color: var(--ink); padding: 10px 14px; }
.btn-ghost:hover { color: var(--red); }
.btn-discord { background: var(--red); color: #fff; }
.btn-discord:hover { background: var(--red-dark); }
/* header login: icon + text, like the airline sites */
.login-link { display: flex; align-items: center; gap: 8px; background: none; border: 0; cursor: pointer; font: 500 15px "Core Sans", sans-serif; color: var(--ink); padding: 8px 10px; border-radius: 8px; white-space: nowrap; }
.login-link .i { font-size: 22px; }
.login-link:hover { color: var(--red); }
.btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.btn svg { width: 20px; height: 20px; }

/* header */
.top { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 76px; }
.brand { display: block; width: 168px; height: 24px; flex: 0 0 auto; background: var(--red); -webkit-mask: url("../img/logo.png") left center / contain no-repeat; mask: url("../img/logo.png") left center / contain no-repeat; }
.brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.nav { display: flex; gap: 4px; margin-left: 12px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; padding: 10px 12px; border-radius: 8px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--red); }
.top .spacer { flex: 1; }
.account { position: relative; }
.account-btn { display: flex; align-items: center; gap: 10px; background: none; border: 0; cursor: pointer; font: 500 15px "Core Sans", sans-serif; color: var(--ink); padding: 6px 8px; border-radius: 999px; }
.account-btn img { width: 34px; height: 34px; border-radius: 50%; }
.account-btn:hover { background: var(--sand); }
.menu-toggle { display: none; background: none; border: 0; font-size: 26px; cursor: pointer; color: var(--ink); padding: 6px; }

/* Miles & More panel */
.mm-panel { position: absolute; right: 0; top: calc(100% + 10px); width: 360px; max-width: calc(100vw - 32px); background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; display: none; }
.mm-panel.open { display: block; }
.mm-card { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 1000 / 630; background: var(--navy); }
.mm-card img { width: 100%; height: 100%; object-fit: cover; }
.mm-card .num { position: absolute; left: 7%; bottom: 13%; color: #fff; font: 500 15px "Core Sans", sans-serif; letter-spacing: .12em; text-shadow: 0 1px 2px rgba(0, 0, 0, .3); }
.mm-card .name { position: absolute; left: 7%; bottom: 6%; color: #fff; font: 700 13px "Core Sans", sans-serif; text-transform: uppercase; letter-spacing: .06em; }
.mm-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0; }
.mm-stats div { background: var(--sand); border-radius: 10px; padding: 12px; }
.mm-stats b { display: block; font-size: 22px; font-family: "Portada", serif; }
.mm-stats span { font-size: 13px; color: var(--grey); }
.mm-note { background: var(--sand); border-radius: 10px; padding: 14px; font-size: 14px; }
.spinner { width: 22px; height: 22px; border: 3px solid var(--red-soft); border-top-color: var(--red); border-radius: 50%; animation: spin .8s linear infinite; display: inline-block; vertical-align: middle; }
@keyframes spin { to { transform: rotate(360deg); } }

.btn-navy { background: #16333f; color: #fff; } /* Lufthansa Group Miles & More petrol */
.btn-navy:hover { background: #1c4c5c; }
.rewards-title { font-weight: 700; margin: 2px 0 8px; }
.rewards { display: grid; gap: 8px; }
.reward { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; }
.reward .i { font-size: 22px; color: var(--navy); }
.reward b { display: block; font-size: 14px; }
.reward span:not(.i) { font-size: 12px; color: var(--grey); }
.reward em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--grey); text-align: right; }
.reward.ok { border-color: #b7dcc0; background: #f1f9f3; }
.reward.ok em { color: #2e7d32; }
.mm-panel { max-height: calc(100vh - 100px); overflow-y: auto; }

/* hero + booking panel */
/* the plane photo, darkened on the left so the white text stays readable */
.hero { position: relative; overflow: hidden; color: #fff; background: #3d4a5c url("../img/hero.jpg") 62% 45% / cover no-repeat; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12, 18, 30, .72) 0%, rgba(12, 18, 30, .45) 38%, rgba(12, 18, 30, 0) 68%); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; padding-top: 72px; padding-bottom: 150px; }
.hero h1 { max-width: 720px; }
.hero p { font-size: 19px; max-width: 560px; opacity: .92; }
.booking { position: relative; z-index: 2; margin-top: -110px; }
.booking-card { background: var(--white); border-radius: 16px; box-shadow: var(--shadow); padding: 8px 24px 24px; cursor: pointer; }
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 20px; overflow-x: auto; }
.tabs button { background: none; border: 0; font: 700 15px "Core Sans", sans-serif; padding: 16px 14px 14px; color: var(--grey); cursor: pointer; border-bottom: 3px solid transparent; white-space: nowrap; display: flex; align-items: center; gap: 8px; }
.tabs button.on { color: var(--red); border-bottom-color: var(--red); }
.fields { display: grid; grid-template-columns: 1fr auto 1fr 1.1fr .9fr auto; gap: 10px; align-items: stretch; }
.field { border: 1px solid #cfcfcf; border-radius: 10px; padding: 10px 14px; display: flex; align-items: center; gap: 12px; min-height: 64px; transition: border-color .15s; }
.field:hover { border-color: var(--red); }
.field .i { font-size: 22px; color: var(--red); }
.field label { display: block; font-size: 12px; color: var(--grey); }
.field strong { display: block; font-weight: 500; font-size: 16px; }
.swap { align-self: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid #cfcfcf; background: var(--white); color: var(--red); font-size: 18px; display: grid; place-items: center; }
.fields .btn { min-height: 64px; border-radius: 10px; }

/* sections */
section.block { padding: 72px 0; }
section.alt { background: var(--sand); }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.tile { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); padding: 28px; text-decoration: none; color: var(--ink); box-shadow: 0 1px 0 var(--line), 0 0 0 1px var(--line); transition: box-shadow .15s, transform .15s; }
a.tile:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.tile .i { font-size: 34px; color: var(--red); margin-bottom: 16px; }
.tile h3 { margin-bottom: 8px; }
.tile .more { margin-top: auto; padding-top: 12px; color: var(--red); font-weight: 700; display: flex; align-items: center; gap: 6px; }
.page-head { background: var(--sand); padding: 56px 0 40px; }
.page-head p { font-size: 18px; max-width: 720px; color: var(--grey); }

/* flights */
.flight { display: grid; grid-template-columns: 150px 1fr auto; gap: 24px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin-bottom: 14px; }
.flight:hover { box-shadow: var(--shadow); }
.fn { font: 700 18px "Core Sans", sans-serif; color: var(--red); }
.flight-pic { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 8px; margin-bottom: 10px; }
.fn small { display: block; font-weight: 500; font-size: 13px; color: var(--grey); }
.route { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.route .city b { display: block; font: 600 26px "Portada", serif; }
.route .city span { color: var(--grey); font-size: 14px; }
.route .city.to { text-align: right; }
.route .path { display: flex; align-items: center; gap: 8px; color: var(--grey); font-size: 13px; }
.route .path::before, .route .path::after { content: ""; width: 48px; border-top: 2px dotted #bbb; }
.route .path .i { color: var(--red); font-size: 20px; transform: rotate(180deg); } /* the icon points left: face the destination */
.meta { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 10px; color: var(--grey); font-size: 14px; }
.meta span { display: inline-flex; align-items: center; gap: 6px; }
.meta .i { color: var(--ink); }
.pill { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--sand); color: var(--grey); }
.pill.boarding { background: #e6f4ea; color: #2e7d32; }
.flight-actions { display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
.day { font-weight: 700; margin: 30px 0 12px; display: flex; align-items: center; gap: 10px; }
.day::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.empty { text-align: center; padding: 60px 20px; background: var(--sand); border-radius: var(--radius); }
.empty .i { font-size: 46px; color: var(--red); }
.searchbar { display: flex; gap: 10px; margin: 24px 0 8px; }
.searchbar input { flex: 1; font: inherit; padding: 13px 16px; border: 1px solid #cfcfcf; border-radius: 10px; }
.searchbar input:focus { outline: 2px solid var(--red); border-color: var(--red); }

/* loading overlay (flight search) */
.loader { position: fixed; inset: 0; background: var(--white); z-index: 100; display: grid; place-items: center; text-align: center; transition: opacity .35s; }
.loader.done { opacity: 0; pointer-events: none; }
.loader .sky { position: relative; width: 300px; height: 110px; margin: 0 auto 26px; }
.loader .sky svg { position: absolute; inset: 0; }
.loader .plane { position: absolute; left: 0; top: 0; font-size: 34px; color: var(--red); offset-path: path("M 10 90 Q 150 -20 290 60"); offset-rotate: auto 180deg; /* the icon points left: turn it to fly forwards */ animation: fly 1.6s cubic-bezier(.45, 0, .25, 1) infinite; }
@keyframes fly { from { offset-distance: 0%; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } to { offset-distance: 100%; opacity: 0; } }
.loader h2 { font-size: 26px; }
.loader .bar { width: 220px; height: 4px; background: var(--red-soft); border-radius: 4px; margin: 18px auto 0; overflow: hidden; }
.loader .bar::after { content: ""; display: block; height: 100%; width: 40%; background: var(--red); border-radius: 4px; animation: slide 1.1s ease-in-out infinite; }
@keyframes slide { from { transform: translateX(-100%); } to { transform: translateX(250%); } }

/* travel classes */
.class-card { display: flex; flex-direction: column; background: var(--white); border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.class-card .band { height: 8px; background: var(--red); }
.class-card .body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.class-card .price { font: 600 30px "Portada", serif; margin: 6px 0 14px; }
.class-card ul { list-style: none; padding: 0; margin: 0 0 20px; }
.class-card li { display: flex; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.class-card li .i { color: var(--red); margin-top: 3px; }
.class-card .btn { margin-top: auto; }
.callout { display: flex; gap: 20px; background: var(--white); border-left: 5px solid var(--red); border-radius: var(--radius); padding: 24px 28px; }
.callout .i { font-size: 34px; color: var(--red); }

/* partners */
.partner { display: flex; flex-direction: column; gap: 14px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-decoration: none; color: var(--ink); }
a.partner:hover { box-shadow: var(--shadow); }
.partner .photo { height: 170px; margin: -24px -24px 4px; border-radius: var(--radius) var(--radius) 0 0; background: #eee center/cover no-repeat; }
.partner .logo { height: 64px; display: flex; align-items: center; }
.partner .logo img { max-height: 64px; max-width: 200px; object-fit: contain; }
.partner .logo .initials { width: 64px; height: 64px; border-radius: 12px; background: var(--red); color: #fff; display: grid; place-items: center; font: 600 24px "Portada", serif; }
.partner-head { display: flex; align-items: center; gap: 18px; margin: 48px 0 18px; }
.partner-head img { height: 26px; width: auto; }
.partner-head h2 { line-height: 1; }

/* social */
.socials { display: flex; flex-wrap: wrap; gap: 12px; }
.social-link { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 500; background: var(--white); }
.social-link:hover { border-color: var(--red); color: var(--red); }
.social-link svg { width: 20px; height: 20px; }
.feed { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; align-items: start; margin-top: 28px; }
.feed > * { min-width: 0; }
.feed iframe { width: 100%; border: 0; border-radius: var(--radius); }
.feed .frame { aspect-ratio: 16 / 9; }

/* appeals */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.form-card label { display: block; font-weight: 700; margin: 18px 0 6px; }
.form-card textarea { width: 100%; font: inherit; padding: 12px 14px; border: 1px solid #cfcfcf; border-radius: 10px; min-height: 130px; resize: vertical; }
.form-card textarea:focus { outline: 2px solid var(--red); border-color: var(--red); }
.status-box { border-radius: var(--radius); padding: 22px 24px; margin-bottom: 20px; border-left: 5px solid var(--grey); background: var(--sand); }
.status-box.pending { border-left-color: #b26a00; } .status-box.accepted { border-left-color: #2e7d32; background: #f1f9f3; } .status-box.denied { border-left-color: var(--red); background: var(--red-soft); }
.status-box h3 { margin-bottom: 6px; }

/* terms */
.prose { max-width: 780px; }
.prose h2 { font-size: 26px; margin-top: 1.6em; }
.prose li { margin-bottom: .4em; }

/* footer */
.foot { background: #111; color: #cfcfcf; padding: 56px 0 30px; margin-top: 0; font-size: 15px; }
.foot .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.foot h4 { color: #fff; margin: 0 0 12px; font: 700 15px "Core Sans", sans-serif; }
.foot a { color: #cfcfcf; text-decoration: none; display: block; padding: 4px 0; }
.foot a:hover { color: #fff; }
.foot .logo-white { width: 160px; margin-bottom: 14px; }
.foot .small { border-top: 1px solid #333; margin-top: 34px; padding-top: 20px; font-size: 13px; color: #9a9a9a; }

/* phones and tablets */
@media (max-width: 980px) {
  .fields { grid-template-columns: 1fr 1fr; }
  .fields .swap { display: none; }
  .fields .btn { grid-column: 1 / -1; }
  .grid3 { grid-template-columns: 1fr 1fr; }
  .foot .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .hero { background-image: url("../img/hero-small.jpg"); background-position: 70% 40%; }
  .hero::after { background: linear-gradient(180deg, rgba(12, 18, 30, .7) 0%, rgba(12, 18, 30, .35) 70%, rgba(12, 18, 30, .2) 100%); }
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 76px; background: var(--white); flex-direction: column; padding: 8px 16px 16px; border-bottom: 1px solid var(--line); margin: 0; }
  .nav.open { display: flex; }
  .top .wrap { gap: 10px; }
  .brand { width: 130px; }
  .account-btn .who { display: none; }
  .hero .wrap { padding-top: 44px; padding-bottom: 130px; }
  .fields { grid-template-columns: 1fr; }
  .grid3, .grid2 { grid-template-columns: 1fr; }
  .flight { grid-template-columns: 1fr; gap: 14px; }
  .route .city b { font-size: 22px; }
  .route .path::before, .route .path::after { width: 16px; }
  .flight-actions { flex-direction: row; }
  .flight-actions .btn { flex: 1; }
  .callout { flex-direction: column; }
  .foot .cols { grid-template-columns: 1fr; }
  section.block { padding: 48px 0; }
}

/* page headers with a picture (Website › Pictures in the personnel portal) */
.page-head.photo { position: relative; overflow: hidden; color: #fff; background: #3d4a5c center 45% / cover no-repeat; padding: 72px 0 56px; }
.page-head.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12, 18, 30, .74) 0%, rgba(12, 18, 30, .45) 45%, rgba(12, 18, 30, .1) 80%); pointer-events: none; }
.page-head.photo .wrap { position: relative; z-index: 1; }
.page-head.photo p, .page-head.photo .eyebrow { color: #fff; opacity: .9; }
.hero.custom { background-position: center 45%; }
@media (max-width: 720px) { .hero.custom { background-position: center; } }
