/* Romteca SAP page. Standalone: does not load or share site.css. */
:root {
  --bg: #F3F4F1; --white: #FFFFFF; --band: #E9EBE5;
  --ink: #10181F; --ink-2: #1A2631; --ink-3: #1E2B36;
  --text: #39444D; --faint: #5D6871;
  --line: #D9DCD5; --line-2: #C7CCC3; --row: #E3E5DF;
  --teal: #2B5F75; --amber: #E8A317; --amber-tint: #FBF3E1; --coral: #E07A5F;
  --on-dark: #F3F4F1; --on-dark-2: #C9D3DA; --on-dark-3: #9FB0BC; --on-dark-4: #8496A3;
  --dark-line: #2A3743; --dark-line-2: #3A4956;
  --logo-signal: #E39A1F;
  --sans: Archivo, system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
h1, h2, h3, p { margin: 0; }
a { color: var(--ink); }
a:hover { color: var(--teal); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--on-dark); padding: 8px 12px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }

.swrap { max-width: 1200px; margin: 0 auto; padding-inline: 24px; }
.sec { padding-block: 96px; }
.sec-head { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); }
.h2 { font-size: clamp(30px, 4.2vw, 42px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 800; }
.intro { font-size: 18px; line-height: 1.55; color: var(--text); }
.dark { background: var(--ink); color: var(--on-dark); }
.dark .eyebrow { color: var(--amber); }
.dark .intro { color: var(--on-dark-2); }
.band { background: var(--band); border-block: 1px solid var(--line); }
.white { background: var(--white); border-top: 1px solid var(--line); }

/* Buttons */
.sbtn { display: inline-block; text-decoration: none; border-radius: 8px; font-weight: 700; font-size: 17px; padding: 16px 24px; background: var(--amber); color: var(--ink); border: 1.5px solid var(--amber); transition: transform .15s ease, background .15s ease; cursor: pointer; font-family: var(--sans); }
.sbtn:hover { color: var(--ink); transform: translateY(-1px); }
.sbtn.ghost { background: transparent; border-color: var(--ink); font-weight: 600; }
.sbtn.dark { background: var(--ink); border-color: var(--ink); color: var(--on-dark); font-size: 15px; font-weight: 600; padding: 12px 18px; }
.sbtn.dark:hover { color: var(--on-dark); }
.sbtn.small { font-size: 15px; padding: 13px 20px; }

/* Logo (same mark as romteca.eu) */
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.logo svg { height: 30px; width: auto; display: block; overflow: visible; }
.logo text { font-family: "JetBrains Mono", ui-monospace, monospace; font-weight: 800; font-size: 100px; letter-spacing: -2px; }
.logo .lg-prompt, .logo .cursor { fill: var(--logo-signal); }
.logo .lg-word { fill: var(--ink); }
.logo-tag { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .1em; color: var(--teal); border: 1.5px solid var(--teal); border-radius: 4px; padding: 4px 8px; line-height: 1; }
.logo:hover .cursor { animation: blink 1s steps(1, end) 2; }
@keyframes blink { 50% { opacity: 0; } }

/* Header */
.sbar { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.sbar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 16px; }
.snav { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; font-size: 15px; font-weight: 500; }
.snav a:not(.sbtn) { text-decoration: none; }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); cursor: pointer; padding: 12px 11px; flex-direction: column; justify-content: space-between; }
.menu-btn span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 980px) {
  .menu-btn { display: flex; }
  .snav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; }
  .snav.open { display: flex; }
  .snav a:not(.sbtn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .snav .sbtn { margin-top: 16px; text-align: center; }
}

/* Hero */
.hero { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-block: 72px 56px; }
.hero-copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-size: clamp(38px, 5.2vw, 58px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 800; }
.lede { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; color: var(--text); max-width: 560px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.ticks { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 15px; color: var(--text); }
.ticks li { display: flex; align-items: center; gap: 8px; }
.ticks svg { flex: none; }
.hero-fig { flex: 1 1 420px; min-width: 0; margin: 0; }
.pcard { background: var(--ink); color: var(--on-dark); border-radius: 14px; padding: 28px; box-shadow: 0 24px 60px rgba(16, 24, 31, .18); display: flex; flex-direction: column; gap: 14px; }
.pc-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.pc-head > div { display: flex; flex-direction: column; gap: 4px; }
.pc-meta { font-family: var(--mono); font-size: 12px; color: var(--on-dark-3); letter-spacing: .06em; }
.pc-title { font-size: 20px; font-weight: 700; }
.pc-kick { font-family: var(--mono); font-size: 12px; background: var(--ink-3); padding: 6px 10px; border-radius: 6px; color: var(--amber); }
.pc-rule { height: 1px; background: var(--dark-line); }
.slot { position: relative; min-height: 46px; }
.slot > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 14px; border-radius: 8px; min-height: 46px; font-size: 14px; }
.slot .code { font-family: var(--mono); font-weight: 600; width: 92px; flex: none; }
.slot .what { flex: 1 1 0%; min-width: 0; }
.slot .st { font-size: 13px; white-space: nowrap; }
.slot.team > div { background: var(--ink-3); }
.slot.team .what { color: var(--on-dark-2); }
.slot.team .st { color: var(--on-dark-3); }
.slot.open .base { border: 1.5px dashed #4A5A67; color: var(--on-dark-4); }
.slot.open .base .st { color: var(--coral); }
.slot .fill { position: absolute; inset: 0; background: var(--amber); color: var(--ink); opacity: 0; animation: rtFill 10s ease-in-out infinite; }
.slot .fill .what { font-weight: 500; }
.slot .fill .st { font-weight: 700; }
.d1 .fill { animation-delay: .6s; } .d2 .fill { animation-delay: 1.8s; } .d3 .fill { animation-delay: 3s; } .d4 .fill { animation-delay: 4.2s; }
@keyframes rtFill { 0%, 4% { opacity: 0; transform: translateX(18px); } 10%, 88% { opacity: 1; transform: translateX(0); } 96%, 100% { opacity: 0; transform: translateX(0); } }
.pc-foot { position: relative; min-height: 40px; margin-top: 4px; }
.pc-foot > span { position: absolute; inset: 0; display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--on-dark-4); }
.pc-foot .done { font-size: 15px; font-weight: 600; color: var(--on-dark); background: var(--ink); opacity: 0; animation: rtDone 10s ease-in-out infinite; animation-delay: 5.2s; }
@keyframes rtDone { 0% { opacity: 0; } 6%, 40% { opacity: 1; } 48%, 100% { opacity: 0; } }
.pulse { animation: rtPulse 2.4s ease-in-out infinite; }
@keyframes rtPulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.hero-fig figcaption { margin-top: 12px; font-size: 13px; color: var(--faint); }
@media (max-width: 520px) { .slot .code { width: 64px; font-size: 12px; } .slot > div { gap: 8px; padding: 0 10px; font-size: 13px; } .pcard { padding: 20px; } }

/* Module marquee */
.marquee { border-block: 1px solid var(--line); background: var(--band); overflow: hidden; padding: 16px 0; }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: rtScroll 46s linear infinite; font-family: var(--mono); font-size: 15px; font-weight: 500; }
.marquee-track span { padding: 6px 14px; border: 1px solid var(--line-2); border-radius: 999px; white-space: nowrap; }
@keyframes rtScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Cards */
.stack { display: flex; flex-direction: column; gap: 40px; }
.cards { display: flex; flex-wrap: wrap; gap: 20px; }
.card { flex: 1 1 250px; min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.card .num { font-family: var(--mono); font-size: 13px; color: var(--teal); font-weight: 600; }
.card h3 { font-size: 21px; line-height: 1.25; font-weight: 700; }
.card p { font-size: 16px; line-height: 1.55; color: var(--text); }

/* Modules */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips button { min-height: 44px; padding: 10px 18px; border-radius: 999px; cursor: pointer; font-family: var(--mono); font-size: 15px; font-weight: 600; background: transparent; color: var(--on-dark); border: 1.5px solid var(--dark-line-2); transition: background .18s ease, color .18s ease, border-color .18s ease; }
.chips button:hover { border-color: var(--on-dark); }
.chips button[aria-pressed="true"] { background: var(--amber); color: var(--ink); border-color: var(--amber); }
.mod { display: flex; flex-wrap: wrap; gap: 32px; background: var(--ink-2); border-radius: 14px; padding: clamp(24px, 3.5vw, 36px); }
.mod[hidden] { display: none; }
.mod > div { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.mod .tag { font-family: var(--mono); font-size: 15px; color: var(--amber); font-weight: 600; }
.mod h3 { font-size: clamp(24px, 3vw, 30px); line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; }
.mod p { font-size: 17px; line-height: 1.55; color: var(--on-dark-2); }
.mod .lbl { font-size: 14px; font-weight: 600; color: var(--on-dark-3); text-transform: uppercase; letter-spacing: .06em; }
.mod ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.mod li { display: flex; gap: 10px; font-size: 16px; line-height: 1.45; }
.mod li::before { content: "→"; color: var(--amber); font-weight: 700; }
.mod .sbtn { align-self: flex-start; margin-top: 8px; }

/* Talent pool */
.split { display: flex; flex-wrap: wrap; gap: 56px; }
.split > .copy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.split .copy p:not(.eyebrow) { font-size: 18px; line-height: 1.6; color: var(--text); }
.facts4 { flex: 1 1 480px; min-width: 0; display: flex; flex-wrap: wrap; gap: 16px; align-content: flex-start; }
.facts4 > div { flex: 1 1 220px; min-width: 0; border-top: 3px solid var(--ink); padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.facts4 h3 { font-size: 19px; font-weight: 700; }
.facts4 p { font-size: 15px; line-height: 1.55; color: var(--text); }
.map { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.map > .copy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.map .copy p:not(.eyebrow) { font-size: 18px; line-height: 1.6; color: var(--text); max-width: 52ch; }
.map h2 em, .hero h1 em { font-style: normal; color: var(--teal); }
.map .copy .sbtn { align-self: flex-start; margin-top: 6px; }
.map-fig { flex: 1 1 420px; min-width: 0; margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: clamp(10px, 2vw, 20px); }
.map-fig img { display: block; width: 100%; height: auto; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 20px; }
.steps li { flex: 1 1 230px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.steps .num { font-family: var(--mono); font-size: 40px; font-weight: 600; color: var(--teal); line-height: 1.2; }
.steps h3 { font-size: 20px; font-weight: 700; }
.steps p { font-size: 15px; line-height: 1.55; color: var(--text); }

/* Models */
.model { flex: 1 1 300px; min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.model h3 { font-size: 23px; font-weight: 700; }
.model p { font-size: 16px; line-height: 1.55; color: var(--text); }
.model .use { margin-top: auto; font-family: var(--mono); font-size: 14px; color: var(--teal); }
.model.feat { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.model.feat p { color: var(--on-dark-2); }
.model.feat .use { color: var(--amber); }
.badge { align-self: flex-start; font-size: 12px; font-weight: 700; background: var(--amber); color: var(--ink); padding: 4px 10px; border-radius: 999px; }
.cmp-h { font-size: clamp(26px, 3vw, 32px); line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; margin-top: 56px; }
.cmp-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--white); margin-top: 28px; }
.cmp { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 15px; text-align: left; }
.cmp th, .cmp td { padding: 16px 20px; }
.cmp thead tr { background: var(--band); }
.cmp th { font-weight: 600; }
.cmp thead .us { font-weight: 700; background: var(--ink); color: var(--on-dark); }
.cmp tbody tr { border-top: 1px solid var(--row); }
.cmp td { color: var(--text); }
.cmp td.us { color: var(--ink); font-weight: 600; background: var(--amber-tint); }

/* Founder */
.about { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.about-who { flex: 0 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.portrait { width: 100%; max-width: 180px; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; display: block; margin-bottom: 14px; background: var(--band); }
.who-name { font-size: 20px; font-weight: 700; }
.who-role { font-family: var(--mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.about-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.about-copy > p:not(.eyebrow) { font-size: 18px; line-height: 1.6; color: var(--text); max-width: 60ch; }
.about-facts { list-style: none; margin: 6px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 32px; font-size: 15px; color: var(--text); }
.about-facts b { font-family: var(--mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--teal); margin-right: 8px; }
.about-copy .sbtn { align-self: flex-start; }

/* Offices */
.offices { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.offices > .copy { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.offices .copy > p:not(.eyebrow) { font-size: 18px; line-height: 1.6; color: var(--text); }
.places { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 8px; }
.places > div { flex: 1 1 200px; border-top: 3px solid var(--ink); padding-top: 16px; display: flex; flex-direction: column; gap: 6px; }
.places b { font-size: 19px; }
.places span { font-size: 15px; line-height: 1.55; color: var(--text); }
.off-fig { flex: 1 1 420px; min-width: 0; margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: clamp(10px, 2vw, 18px); }
.off-fig svg { display: block; width: 100%; height: auto; }
.off-fig .grid { fill: none; stroke: var(--line); stroke-width: 1; }
.off-fig .t { font-family: var(--mono); font-size: 11px; fill: var(--faint); }
.off-fig .tb { font-family: var(--sans); font-size: 13px; font-weight: 700; fill: var(--ink); }
.off-fig .arc { fill: none; stroke: var(--teal); stroke-width: 1.5; stroke-dasharray: 4 4; }
.off-fig .pt { fill: var(--amber); }
.off-fig .ping { fill: var(--amber); transform-box: fill-box; transform-origin: center; animation: ping 2.4s ease-out infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(3); opacity: 0; } }

/* FAQ */
.faq-in { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 32px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { min-height: 64px; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-size: 19px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); font-size: 22px; color: var(--teal); flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 24px; font-size: 17px; line-height: 1.6; color: var(--text); max-width: 720px; }

/* Contact */
.contact { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.contact > .copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.contact h2 { font-size: clamp(32px, 4.4vw, 46px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 800; }
.contact .copy > p:not(.eyebrow) { font-size: 18px; line-height: 1.55; color: var(--on-dark-2); max-width: 48ch; }
.mailbox { flex: 1 1 420px; min-width: 0; background: var(--ink-2); border: 1px solid var(--dark-line); border-radius: 14px; padding: clamp(22px, 3vw, 32px); display: flex; flex-direction: column; gap: 16px; }
.mailbox .lbl { font-size: 14px; font-weight: 600; color: var(--on-dark-3); text-transform: uppercase; letter-spacing: .06em; }
.mail { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; background: var(--ink); border: 1px solid var(--dark-line-2); border-radius: 10px; padding: 14px 16px; }
.mail code { flex: 1; min-width: 0; font-family: var(--mono); font-size: 18px; color: var(--on-dark); overflow-wrap: anywhere; user-select: all; }
.mailbox .note { font-size: 13px; color: var(--on-dark-4); }

/* Footer */
.sfoot { background: var(--ink); color: var(--on-dark-2); border-top: 1px solid var(--dark-line); padding-block: 40px 28px; font-size: 14px; }
.sfoot a { color: var(--on-dark); }
.sfoot .logo .lg-word { fill: var(--on-dark); }
.sfoot .logo svg { height: 24px; }
.sfoot-in { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; }
.sfoot-in > div:first-child { display: flex; flex-direction: column; gap: 12px; max-width: 360px; }
.sfoot-addr { display: flex; flex-wrap: wrap; gap: 32px; }
.sfoot-addr div { display: flex; flex-direction: column; gap: 4px; }
.sfoot-addr b { color: var(--on-dark); }
.sfoot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--dark-line); font-size: 12.5px; color: var(--on-dark-4); }

@media (max-width: 640px) { .sec { padding-block: 64px; } .hero { padding-block: 40px 40px; gap: 40px; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slot .fill, .pc-foot .done { animation: none; opacity: 1; transform: none; }
  .marquee-track, .pulse, .off-fig .ping, .logo:hover .cursor { animation: none; }
}
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Talentpool: facts row below the map */
.facts-row { margin-top: 56px; }
.facts-row > div { flex: 1 1 230px; }
/* Footer social link */
.sfoot .social { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--on-dark); }
.sfoot .social svg { color: var(--on-dark); transition: color .15s ease; }
.sfoot .social:hover svg, .sfoot .social:hover { color: var(--amber); }
/* Impressum */
.legal { max-width: 760px; }
.legal h1 { font-size: clamp(34px, 4.6vw, 48px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 800; margin-top: 14px; }
.legal h2 { font-size: 21px; font-weight: 700; margin-top: 40px; }
.legal p, .legal address { font-style: normal; font-size: 17px; line-height: 1.6; color: var(--text); margin-top: 12px; }
.legal .back { display: inline-block; margin-top: 48px; font-weight: 600; }
/* Talentpool: facts 2x2 under the text, top-aligned with the map */
.map-top { align-items: center; }
.facts-2x2 { flex: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; margin-top: 16px; }
.facts-2x2 > div { flex: none; }
@media (max-width: 520px) { .facts-2x2 { grid-template-columns: minmax(0, 1fr); } }
.map .copy .facts-2x2 p { font-size: 15px; line-height: 1.55; max-width: none; }
