/* Aerospace 147 Technical Training GmbH – colours taken from the logo */
:root {
  --navy: #192e4b;      /* logo navy */
  --navy-deep: #12233b;
  --accent: #7f9cc4;    /* logo light blue */
  --accent-ink: #4f6f9c; /* light blue, readable on white */
  --ink: #1c2530;
  --muted: #5b6673;
  --line: #dfe4ea;
  --bg: #ffffff;
  --bg-soft: #f5f7f9;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Helvetica Neue", Helvetica, Arial, "Segoe UI", sans-serif;
  font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased;
}
a { color: var(--navy); }
img { max-width: 100%; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand img { height: 52px; width: auto; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 22px; letter-spacing: .04em; font-weight: 800; }
.brand-text small { font-size: 10.5px; letter-spacing: .1em; font-weight: 600; text-transform: uppercase; color: var(--muted); }
nav.main { display: flex; align-items: center; gap: 28px; }
nav.main a { text-decoration: none; color: var(--ink); font-size: 15px; letter-spacing: .02em; }
nav.main a:hover { color: var(--accent-ink); }

/* Hero */
.hero { background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%); border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; padding-top: 84px; padding-bottom: 84px; }
.hero-logo { width: 100%; max-width: 440px; height: auto; justify-self: end; }
.eyebrow { font-size: 13px; letter-spacing: .26em; text-transform: uppercase; color: var(--accent-ink); font-weight: 600; margin: 0 0 18px; }
.hero h1 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.1; font-weight: 300; margin: 0 0 24px; letter-spacing: -.01em; color: var(--navy); }
.hero h1 b { font-weight: 700; }
.hero p.lead { font-size: 19px; max-width: 34em; color: var(--muted); margin: 0 0 36px; }
.btn { display: inline-block; padding: 14px 28px; text-decoration: none; font-size: 15px; letter-spacing: .06em; border-radius: 2px; border: 1px solid transparent; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-deep); }
.btn-ghost { border-color: var(--navy); color: var(--navy); margin-left: 12px; }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.contact .btn-primary { background: #fff; color: var(--navy); }
.contact .btn-primary:hover { background: #e8eef6; }

/* Facts */
.facts { border-bottom: 1px solid var(--line); }
.facts .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 30px 24px 30px 0; }
.fact + .fact { padding-left: 24px; border-left: 1px solid var(--line); }
.fact strong { display: block; font-size: 20px; color: var(--navy); font-weight: 600; }
.fact span { font-size: 14px; color: var(--muted); }

/* Sections */
section.block { padding: 88px 0; }
section.soft { background: var(--bg-soft); }
h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 300; color: var(--navy); margin: 0 0 20px; line-height: 1.2; }
h2::after { content: ""; display: block; width: 48px; height: 2px; background: var(--accent); margin-top: 18px; }
h3 { font-size: 18px; color: var(--navy); margin: 0 0 8px; font-weight: 600; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.intro { max-width: 46em; color: var(--muted); margin-bottom: 44px; }
p { margin: 0 0 16px; }

/* Courses */
.courses { border-top: 1px solid var(--line); }
.course { display: grid; grid-template-columns: 1.3fr 1.5fr 1.2fr auto; gap: 24px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.course .type { font-weight: 600; color: var(--navy); font-size: 18px; }
.course .name, .course .kind { color: var(--muted); font-size: 15.5px; }
.tags { display: flex; gap: 6px; }
.tag { border: 1px solid var(--navy); color: var(--navy); font-size: 12.5px; font-weight: 600; letter-spacing: .06em; padding: 3px 9px; border-radius: 2px; }
.note { font-size: 14px; color: var(--muted); margin-top: 20px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card { background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--navy); padding: 28px; }
.card p { color: var(--muted); font-size: 15.5px; margin: 0; }
ul.check { list-style: none; padding: 0; margin: 0; }
ul.check li { padding: 10px 0 10px 28px; border-bottom: 1px solid var(--line); position: relative; }
ul.check li::before { content: ""; position: absolute; left: 2px; top: 20px; width: 12px; height: 2px; background: var(--accent); }

/* Contact */
.contact { background: var(--navy-deep); color: #fff; }
.contact h2 { color: #fff; }
.contact a { color: #fff; }
.contact address { font-style: normal; color: #d5dde6; }
.contact dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 22px; }
.contact dt { color: var(--accent); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; padding-top: 3px; }
.contact dd { margin: 0; }

/* Footer */
footer { background: #06131f; color: #8d99a6; font-size: 14px; padding: 28px 0; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a { color: #c3ccd6; text-decoration: none; margin-left: 20px; }
footer a:first-child { margin-left: 0; }
footer a:hover { color: #fff; }

/* Legal page */
.legal { padding: 64px 0 88px; max-width: 760px; }
.legal h1 { font-weight: 300; color: var(--navy); font-size: 36px; margin: 0 0 32px; }
.legal h2 { font-size: 24px; margin-top: 48px; }
.legal h3 { margin-top: 28px; }

@media (max-width: 860px) {
  nav.main a { display: none; }
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; padding-top: 48px; padding-bottom: 56px; }
  .hero-logo { order: -1; max-width: 260px; justify-self: center; }
  .facts .wrap { grid-template-columns: 1fr 1fr; }
  .fact, .fact + .fact { padding: 20px 12px 20px 0; border-left: 0; }
  .two { grid-template-columns: 1fr; gap: 36px; }
  .cards { grid-template-columns: 1fr; }
  .course { grid-template-columns: 1fr; gap: 4px; }
  .tags { margin-top: 8px; }
  section.block { padding: 60px 0; }
  .btn-ghost { margin: 12px 0 0; }
  .brand-text small { display: none; }
}

/* Hotels */
h3.sub { margin-top: 32px; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); }
ul.hotels { list-style: none; padding: 0; margin: 0; }
ul.hotels li { padding: 10px 0; border-bottom: 1px solid var(--line); }
ul.hotels a { font-weight: 600; text-decoration: none; }
ul.hotels a:hover { text-decoration: underline; }
ul.hotels a::after { content: " \2197"; font-weight: 400; color: var(--accent-ink); }
ul.hotels span { display: block; font-size: 14.5px; color: var(--muted); }

.notice { border-left: 3px solid var(--accent); background: #fff; padding: 14px 18px; font-size: 15.5px; margin: -20px 0 36px; max-width: 46em; }
