/* Contrium Version 1: hell, typografisch, eine Aussage pro Bildschirm */
@font-face { font-family: "Sora"; src: url("/images/sora-variablefont_wght.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Heebo"; src: url("/images/heebo-variablefont_wght.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }

:root {
  --paper: #ffffff; --ink: #111417; --mut: #4b5557; --line: #e3e6e3; --soft: #f3f4f2;
  --f-disp: "Sora", "Segoe UI", Arial, sans-serif;
  --f-body: "Heebo", "Segoe UI", Arial, sans-serif;
  --gut: clamp(20px, 5vw, 72px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--f-body); font-size: 18px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--ink); color: var(--paper); padding: 8px 14px; z-index: 20; }

/* Kopfzeile */
.top { position: sticky; top: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center; padding: 18px var(--gut); background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px); }
.top img { height: 22px; width: auto; filter: brightness(0); }
.btn { display: inline-block; font-family: var(--f-body); font-weight: 500; font-size: 16px; text-decoration: none; background: var(--ink); color: var(--paper); padding: 11px 22px; border-radius: 999px; transition: opacity 0.2s ease; }
.btn:hover { opacity: 0.8; }
.btn:focus-visible, a:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* Bildschirme */
.screen { min-height: calc(100vh - 62px); padding: clamp(48px, 9vh, 110px) var(--gut); display: flex; flex-direction: column; justify-content: center; }
.big { font-family: var(--f-disp); font-weight: 600; letter-spacing: -0.03em; line-height: 1.04; margin: 0; text-wrap: balance; }
.sub { color: var(--mut); margin: 0; max-width: 34em; }

/* Bildschirm 1 */
.s1 { justify-content: flex-start; padding-bottom: 0; gap: clamp(32px, 6vh, 64px); }
.s1 .big { font-size: clamp(2.6rem, 7.2vw, 6.4rem); max-width: 11em; }
.s1 .tri { font-family: var(--f-disp); font-weight: 300; font-size: clamp(1.3rem, 3vw, 2.5rem); color: var(--mut); margin: clamp(16px, 2.5vh, 28px) 0 clamp(24px, 4vh, 40px); }
.s1 .pic { flex: 1; min-height: 240px; border-radius: 24px 24px 0 0; background: var(--soft) center 40% / cover no-repeat; }

/* Bildschirme 2 bis 4: Wort links, Bild rechts */
.word { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.word .big { font-size: clamp(2.8rem, 7.5vw, 6.8rem); margin-bottom: clamp(16px, 2.5vh, 28px); }
.word .sub { font-size: clamp(1.05rem, 1.5vw, 1.35rem); }
.word .pic { aspect-ratio: 4 / 5; max-height: 72vh; width: 100%; border-radius: 24px; background: var(--soft) center / cover no-repeat; }
.word.flip .pic { order: -1; }

/* Bildschirm 5 und Kontaktseite */
.talk { align-items: flex-start; gap: clamp(20px, 3vh, 32px); background: var(--soft); }
.talk .big { font-size: clamp(2.8rem, 7.5vw, 6.8rem); }
.talk .sub { font-size: clamp(1.05rem, 1.5vw, 1.35rem); }
.lines { display: flex; flex-wrap: wrap; gap: 8px 32px; font-family: var(--f-disp); font-size: clamp(1.1rem, 2vw, 1.6rem); }
.lines a { text-decoration: none; border-bottom: 1px solid var(--ink); }
.addr { color: var(--mut); margin: 0; }

/* Fusszeile */
.foot { padding: 28px var(--gut) 36px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-size: 15px; color: var(--mut); border-top: 1px solid var(--line); }
.foot nav { display: flex; gap: 22px; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }

/* Sanftes Einblenden, sichtbar auch ohne Skript */
.js [data-r] { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js [data-r].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js [data-r] { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

@media (max-width: 760px) {
  body { font-size: 17px; }
  .top .btn { font-size: 14px; padding: 9px 16px; }
  .screen { min-height: auto; }
  .word { grid-template-columns: 1fr; }
  .word .pic, .word.flip .pic { order: 0; aspect-ratio: 4 / 3; max-height: none; }
  .s1 .pic { min-height: 200px; }
}

/* Rechtstexte */
.legalpage { padding: clamp(40px, 7vh, 90px) var(--gut) 80px; }
.legalpage > .big { font-size: clamp(2.2rem, 5.5vw, 4.4rem); margin-bottom: clamp(28px, 5vh, 56px); overflow-wrap: anywhere; }
.legalpage .rich { max-width: 46em; font-size: 16.5px; color: var(--mut); overflow-wrap: anywhere; }
.legalpage .rich h2, .legalpage .rich h3, .legalpage .rich h4, .legalpage .rich strong { font-family: var(--f-disp); color: var(--ink); }
.legalpage .rich h2 { font-size: 1.35rem; margin: 2em 0 0.5em; }
.legalpage .rich h3, .legalpage .rich h4 { font-size: 1.1rem; margin: 1.6em 0 0.4em; }

/* Menue */
.menu { display: flex; align-items: center; gap: clamp(14px, 2.5vw, 32px); }

/* Leistungen: Einleitung und drehbare Texthaelfte (das Bild bleibt stehen) */
main { overflow-x: clip; }
.intro { padding: clamp(40px, 8vh, 96px) var(--gut) 0; }
.eyebrow { font-family: var(--f-disp); font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mut); margin: 0 0 14px; }
.lede { font-family: var(--f-disp); font-weight: 400; font-size: clamp(1.5rem, 3.2vw, 2.8rem); line-height: 1.2; letter-spacing: -0.01em; margin: 0; max-width: 22em; text-wrap: balance; }
.flipbox { perspective: 1800px; cursor: pointer; }
.flipbox .inner { display: grid; transform-style: preserve-3d; transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.flipbox.turned .inner { transform: rotateY(180deg); }
.face { grid-area: 1 / 1; backface-visibility: hidden; -webkit-backface-visibility: hidden; background: var(--paper); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.face.back { transform: rotateY(180deg); gap: 16px; }
.face.back p { margin: 0; color: var(--mut); font-size: clamp(1rem, 1.3vw, 1.2rem); max-width: 32em; }
.face.back .eyebrow { margin: 0; }
.eg { font-size: 15px; color: var(--mut); margin: clamp(14px, 2vh, 22px) 0 0; }
.more { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-family: var(--f-body); font-weight: 500; font-size: 16px; background: none; border: 0; padding: 0 0 2px; margin-top: clamp(18px, 3vh, 30px); color: var(--ink); cursor: pointer; border-bottom: 1px solid var(--ink); }
.more svg { width: 18px; height: 18px; transition: transform 0.4s ease; }
.flipbox:hover .more svg { transform: rotate(180deg); }
.more:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.face.back .more { margin-top: 8px; }
@media (prefers-reduced-motion: reduce) { .flipbox .inner, .more svg { transition: none; } }

/* Kopfzeile auf schmalen Bildschirmen */
.btn { white-space: nowrap; }
@media (max-width: 760px) {
  .top { padding: 14px 16px; }
  .top img { height: 18px; }
  .top .long { display: none; }
  .menu { gap: 14px; }
}

/* Bildnachweis im Foto */
.word .pic { position: relative; }
.credit { position: absolute; right: 14px; bottom: 10px; font-size: 11px; color: rgba(255, 255, 255, 0.75); margin: 0; }

/* Menue: am Handy Seiten hinter einem Symbol */
.menu .mlink { text-decoration: none; font-weight: 500; font-size: 16px; }
.menu .mlink:hover, .menu .mlink[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.drill { display: none; position: relative; }
.drill summary { list-style: none; cursor: pointer; display: flex; padding: 6px; border-radius: 8px; }
.drill summary::-webkit-details-marker { display: none; }
.drill summary svg { width: 26px; height: 26px; }
.drill summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.drill-list { position: absolute; right: 0; top: calc(100% + 10px); min-width: 190px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 8px; display: flex; flex-direction: column; box-shadow: 0 16px 40px rgba(17, 20, 23, 0.12); }
.drill-list a { text-decoration: none; padding: 12px 14px; border-radius: 8px; font-weight: 500; font-size: 16px; }
.drill-list a:hover, .drill-list a[aria-current="page"] { background: var(--soft); }
@media (max-width: 760px) {
  .menu .mlink { display: none; }
  .drill { display: block; }
  .menu { gap: 10px; }
}

/* Lange Woerter duerfen am Handy nicht abgeschnitten werden */
.big { hyphens: auto; overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .s1 .big { font-size: clamp(1.6rem, 8vw, 2.6rem); }
  .word .big, .talk .big { font-size: clamp(1.8rem, 8.6vw, 2.8rem); }
}

/* Sprachumschalter */
.menu .lang { text-decoration: none; font-weight: 500; font-size: 14px; letter-spacing: 0.06em; color: var(--mut); }
.menu .lang:hover { color: var(--ink); }


/* Englische Hauptzeile: etwas kleiner, damit sie auf zwei Zeilen passt */
html[lang="en"] .s1 .big { font-size: clamp(2.4rem, 6.2vw, 5.6rem); max-width: 14em; }
@media (max-width: 760px) { html[lang="en"] .s1 .big { font-size: clamp(1.6rem, 8vw, 2.6rem); } }

/* Spezialgebiet Triebwerks-MRO: eigene Seite und abgesetzter Block auf der Branchenseite */
.mro .word .big, .mro .talk .big, .qs .big, .proof .big, .special .big { font-size: clamp(2.2rem, 5vw, 4.4rem); }
.mro .word .big { font-size: clamp(2rem, 4vw, 3.6rem); }
.cta { margin: clamp(22px, 3.5vh, 36px) 0 0; }
.qs { gap: clamp(24px, 4vh, 44px); }
.qlist { list-style: none; margin: 0; padding: 0; max-width: 44em; border-bottom: 1px solid var(--line); }
.qlist li { font-family: var(--f-disp); font-size: clamp(1.15rem, 2vw, 1.7rem); line-height: 1.3; padding: clamp(14px, 2.2vh, 22px) 0; border-top: 1px solid var(--line); }
.proof { align-items: flex-start; }
.proof .big { max-width: 14em; margin-bottom: clamp(16px, 2.5vh, 28px); }
.proof .sub { font-size: clamp(1.05rem, 1.5vw, 1.35rem); max-width: 38em; }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 24px clamp(32px, 6vw, 96px); margin: clamp(30px, 5vh, 52px) 0 clamp(24px, 4vh, 40px); padding: 0; }
.facts b { display: block; font-family: var(--f-disp); font-weight: 600; font-size: clamp(2.4rem, 5vw, 4.2rem); letter-spacing: -0.03em; line-height: 1; }
.facts span { display: block; margin-top: 8px; color: var(--mut); font-size: 15px; }
.spec { margin: 6px 0 0; color: var(--mut); font-size: 16px; }
.spec b { color: var(--ink); font-weight: 500; }
.special { min-height: auto; background: var(--ink); color: var(--paper); align-items: flex-start; gap: clamp(14px, 2.2vh, 22px); padding-top: clamp(56px, 10vh, 120px); padding-bottom: clamp(56px, 10vh, 120px); }
.special .eyebrow { color: rgba(255, 255, 255, 0.7); margin: 0; }
.special .sub { color: rgba(255, 255, 255, 0.82); font-size: clamp(1.05rem, 1.5vw, 1.35rem); }
.special .more { color: var(--paper); border-bottom-color: var(--paper); text-decoration: none; margin-top: clamp(10px, 2vh, 18px); }
.special .more:focus-visible { outline-color: var(--paper); }
@media (max-width: 760px) {
  .mro .word .big, .mro .talk .big, .qs .big, .proof .big, .special .big { font-size: clamp(1.7rem, 7.4vw, 2.6rem); }
}

.legalpage .rich ul { padding-left: 1.2em; margin: 0.6em 0 1em; }
.legalpage .rich p { margin: 0 0 1em; }
