/* Irisbus Deutschland - responsive redesign of the original Flash site
   Palette taken from the original: navy #003366 family, crimson from the
   Notruf badge, silver-grey of the dolphin logo. */
:root {
  --navy-900: #061a38;
  --navy-800: #0a2a57;
  --navy-700: #103a73;
  --navy-600: #1b4f94;
  --navy-100: #e7eef8;
  --crimson: #a3123a;
  --crimson-dark: #820d2d;
  --silver: #8e99a8;
  --ink: #1c2633;
  --muted: #5b6878;
  --line: #dde3eb;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(6, 26, 56, .08);
  --max: 1180px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.65; font-size: 17px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--crimson); }
h1, h2, h3 { line-height: 1.2; color: var(--navy-800); margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 650; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--crimson); margin-bottom: .8em; }
.lead { font-size: 1.15rem; color: var(--muted); }
.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 100; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy-800); }
.brand img { height: 54px; width: auto; }
.brand span { font-size: .78rem; line-height: 1.25; color: var(--muted); border-left: 1px solid var(--line); padding-left: 12px; }
.brand strong { display: block; font-size: .98rem; color: var(--navy-800); }
.nav { display: flex; align-items: center; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--ink); font-weight: 550; font-size: .96rem; text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--navy-100); color: var(--navy-800); }
.nav .has-sub { position: relative; }
.nav .sub { position: absolute; top: 100%; left: 0; min-width: 250px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 8px; display: none; flex-direction: column; }
.nav .has-sub:hover .sub, .nav .has-sub:focus-within .sub { display: flex; }
.nav .sub a { font-weight: 500; }
.nav .sub small { display: block; color: var(--muted); font-weight: 400; font-size: .8rem; }
.nav .cta { background: var(--crimson); color: #fff; margin-left: 8px; }
.nav .cta:hover { background: var(--crimson-dark); color: #fff; }
.menu-toggle { display: none; }
.menu-btn { display: none; cursor: pointer; padding: 10px; border-radius: 10px; border: 1px solid var(--line); }
.menu-btn span { display: block; width: 22px; height: 2px; background: var(--navy-800); margin: 5px 0; }

/* ---------- hero ---------- */
.hero { position: relative; color: #fff; background: radial-gradient(1200px 500px at 85% -10%, #1f5aa6 0%, transparent 60%), linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 45%, var(--navy-700) 100%); overflow: hidden; }
.hero::before { /* the sweeping white arc of the original Flash design */
  content: ""; position: absolute; right: -25%; top: 18%; width: 75%; aspect-ratio: 1.15; border-radius: 50%; background: #fff; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding-top: 72px; padding-bottom: 96px; min-height: 560px; }
.hero h1 { color: #fff; }
.hero .lead { color: #c9d7ec; max-width: 34em; }
.hero-visual { position: relative; align-self: end; padding-left: 7%; margin: 0; }
.hero-visual img { width: 100%; filter: drop-shadow(0 18px 18px rgba(6, 26, 56, .18)); }
.hero-visual figcaption { text-align: right; font-size: .85rem; color: var(--muted); margin-top: 6px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font-weight: 650; text-decoration: none; border: 2px solid transparent; transition: .15s; }
.btn-primary { background: #fff; color: var(--navy-800); }
.btn-primary:hover { background: var(--navy-100); color: var(--navy-800); }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-ghost:hover { border-color: #fff; color: #fff; }
.btn-navy { background: var(--navy-800); color: #fff; }
.btn-navy:hover { background: var(--navy-600); color: #fff; }
.btn-crimson { background: var(--crimson); color: #fff; }
.btn-crimson:hover { background: var(--crimson-dark); color: #fff; }

/* page hero (inner pages) */
.page-hero { position: relative; overflow: hidden; color: #fff; background: linear-gradient(160deg, var(--navy-900), var(--navy-700)); }
.page-hero::before { content: ""; position: absolute; right: -10%; bottom: -150%; width: 70%; aspect-ratio: 1.6; border-radius: 50%; background: rgba(255, 255, 255, .06); }
.page-hero .wrap { position: relative; padding-top: 56px; padding-bottom: 56px; }
.page-hero h1 { color: #fff; margin-bottom: .3em; }
.page-hero p { color: #c9d7ec; max-width: 44em; margin: 0; font-size: 1.1rem; }
.crumbs { font-size: .85rem; color: #9fb3d1; margin-bottom: 14px; }
.crumbs a { color: #c9d7ec; text-decoration: none; }

/* ---------- sections ---------- */
section { padding: 84px 0; }
.soft { background: var(--bg-soft); }
.section-head { max-width: 760px; margin-bottom: 44px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.dropcap::first-letter { float: left; font-size: 3.6em; line-height: .9; padding: 4px 10px 0 0; color: var(--navy-800); font-weight: 700; }

/* product cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; transition: .2s; text-decoration: none; color: inherit; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #c8d3e2; color: inherit; }
.card .art { height: 120px; display: flex; align-items: flex-end; justify-content: center; margin-bottom: 18px; }
.card .art img { max-height: 120px; width: auto; }
.card .tag { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--crimson); }
.card h3 { margin: 4px 0 8px; font-size: 1.35rem; }
.card p { color: var(--muted); font-size: .97rem; flex: 1; }
.more { font-weight: 650; color: var(--navy-600); }
.more::after { content: " \2192"; }

/* facts band */
.facts { background: linear-gradient(160deg, var(--navy-800), var(--navy-700)); color: #fff; }
.facts h2 { color: #fff; }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.fact { border-top: 2px solid rgba(255, 255, 255, .25); padding-top: 18px; }
.fact strong { display: block; font-size: clamp(2rem, 3.6vw, 2.8rem); line-height: 1.05; font-weight: 700; }
.fact span { color: #c9d7ec; font-size: .97rem; }

/* notruf band */
.notruf { background: #fff; }
.notruf-box { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; background: var(--navy-900); color: #fff; border-radius: 22px; padding: 36px 40px; position: relative; overflow: hidden; }
.notruf-box::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .08); }
.notruf-badge { width: 74px; height: 74px; border-radius: 50%; background: var(--crimson); display: grid; place-items: center; font-weight: 800; font-size: 1.6rem; }
.notruf-box h2 { color: #fff; margin: 0 0 4px; font-size: 1.5rem; }
.notruf-box p { margin: 0; color: #c9d7ec; }
.notruf-number { text-align: right; }
.notruf-number a { color: #fff; text-decoration: none; font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 800; letter-spacing: .02em; white-space: nowrap; }
.notruf-number small { display: block; color: #9fb3d1; }

/* model list */
.models { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.model { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.model .art { background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%); border-radius: 10px; height: 170px; display: flex; align-items: center; justify-content: center; padding: 16px; margin-bottom: 20px; }
.model .art img { max-height: 138px; width: auto; }
.model h3 { margin-bottom: 12px; }
.specs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.specs li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.specs li span:first-child { color: var(--muted); }
.specs li span:last-child { font-weight: 600; text-align: right; }

/* photo frame (original photos are small - shown framed, never stretched) */
.photo { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; display: inline-block; }
.photo img { border-radius: 8px; image-rendering: auto; }
.photo figcaption { font-size: .85rem; color: var(--muted); margin-top: 8px; }
.wide-photo img { width: 100%; border-radius: var(--radius); }

.callout { border-left: 4px solid var(--crimson); background: var(--bg-soft); padding: 22px 26px; border-radius: 0 var(--radius) var(--radius) 0; font-size: 1.12rem; color: var(--navy-800); }
.cat-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.cat-nav a { padding: 9px 16px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #fff; text-decoration: none; font-weight: 550; font-size: .93rem; border: 1px solid rgba(255, 255, 255, .18); }
.cat-nav a:hover, .cat-nav a[aria-current="page"] { background: #fff; color: var(--navy-800); }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.info-card h3 { margin-bottom: 10px; }
.info-card dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; }
.info-card dt { color: var(--muted); }
.info-card dd { margin: 0; font-weight: 550; }
form.anfrage { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
form.anfrage label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .92rem; }
form.anfrage .full { grid-column: 1 / -1; }
form.anfrage input, form.anfrage textarea { font: inherit; padding: 12px 14px; border: 1px solid #c9d2de; border-radius: 10px; background: #fff; }
form.anfrage input:focus, form.anfrage textarea:focus { outline: 2px solid var(--navy-600); outline-offset: 1px; border-color: transparent; }
fieldset.modelle { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; display: flex; flex-wrap: wrap; gap: 10px 22px; }
fieldset.modelle legend { font-weight: 600; font-size: .92rem; padding: 0 6px; }
fieldset.modelle label { flex-direction: row; align-items: center; font-weight: 500; gap: 8px; }
.hint { font-size: .85rem; color: var(--muted); }
.legal h2 { font-size: 1.3rem; margin-top: 1.6em; }
.legal { max-width: 820px; }

/* footer */
.site-footer { background: var(--navy-900); color: #b9c7dc; padding: 64px 0 28px; font-size: .95rem; }
.site-footer a { color: #e3ebf6; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-brand img { height: 64px; width: auto; background: #fff; border-radius: 10px; padding: 6px 8px; margin-bottom: 14px; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .hero .wrap, .grid-2 { grid-template-columns: 1fr; }
  .hero .wrap { padding-bottom: 40px; min-height: 0; }
  .hero::before { display: none; }
  .hero-visual { padding: 18px 18px 10px; max-width: 560px; justify-self: center; background: #fff; border-radius: 18px; }
  .hero-visual img { filter: none; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .notruf-box { grid-template-columns: 1fr; text-align: left; }
  .notruf-number { text-align: left; }
}
@media (max-width: 880px) {
  .menu-btn { display: block; }
  .nav { position: absolute; top: 76px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
  .menu-toggle:checked ~ .nav { display: block; }
  .nav ul { flex-direction: column; padding: 12px 16px 18px; gap: 2px; }
  .nav .sub { position: static; display: flex; box-shadow: none; border: 0; padding: 0 0 0 14px; }
  .nav .cta { margin: 8px 0 0; text-align: center; }
  .brand span { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  section { padding: 60px 0; }
  .grid-3, .contact-grid, form.anfrage { grid-template-columns: 1fr; }
  .facts-grid, .foot-grid { grid-template-columns: 1fr; }
  .notruf-box { padding: 28px 24px; }
  .models { grid-template-columns: 1fr; }
}

.models.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px) { .models.two { grid-template-columns: 1fr; } }
.grid-2.intro { grid-template-columns: 1.5fr 1fr; align-items: start; }
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 1020px) { .grid-2.intro { grid-template-columns: 1fr; } .cols-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .cols-2, .cols-3 { grid-template-columns: 1fr; } }

/* top bar: emergency number + language switcher */
.topbar { background: var(--navy-900); color: #b9c7dc; font-size: .84rem; }
.topbar .wrap { display: flex; justify-content: flex-end; align-items: center; min-height: 38px; gap: 16px; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { color: #ff9fb5; }
.langs { display: flex; gap: 2px; }
.langs a { padding: 4px 8px; border-radius: 6px; font-weight: 600; letter-spacing: .04em; color: #b9c7dc; }
.langs a[aria-current="true"] { background: rgba(255, 255, 255, .14); color: #fff; }
@media (max-width: 1180px) and (min-width: 881px) { .nav a { padding: 10px 10px; font-size: .92rem; } .brand span { display: none; } }
@media (max-width: 880px) { .nav { top: 114px; } }
@media (max-width: 420px) { .topbar-sos { font-size: .78rem; } .langs a { padding: 4px 6px; } }
