/* =========================================================================
   MH IT Consulting GmbH — Design System
   Brand: Navy #001E45 · Orange #FF633E · White
   Type:  Rubik (Display) · Inter (Body)
   ========================================================================= */

/* ----- Fonts ----- */
@font-face {
  font-family: "Rubik";
  src: url("assets/fonts/Rubik-Variable.ttf") format("truetype");
  font-weight: 300 900;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/Inter-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

/* ----- Tokens ----- */
:root {
  --navy:        #001E45;
  --navy-900:    #00142f;
  --navy-800:    #062a5c;
  --navy-700:    #123a72;
  --orange:      #FF633E;
  --orange-600:  #ec4f29;
  --white:       #ffffff;

  --paper:       #f4f6fa;
  --paper-2:     #e9eef5;
  --ink:         #001E45;
  --muted:       #57667e;
  --muted-light: rgba(255,255,255,0.72);
  --line:        rgba(0,30,69,0.12);
  --line-light:  rgba(255,255,255,0.16);

  --maxw: 1240px;
  --pad: clamp(20px, 5vw, 64px);
  --radius: 6px;
  --radius-lg: 12px;
  --shadow-sm: 0 2px 10px rgba(0,30,69,0.06);
  --shadow-md: 0 18px 50px -22px rgba(0,30,69,0.35);
  --shadow-lg: 0 40px 90px -40px rgba(0,30,69,0.55);

  --ff-display: "Rubik", system-ui, sans-serif;
  --ff-body: "Inter", system-ui, sans-serif;

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--orange); color: #fff; }

/* ----- Typography ----- */
h1, h2, h3, h4 { font-family: var(--ff-display); font-weight: 700; line-height: 1.08; letter-spacing: -0.015em; color: var(--navy); }
.display {
  font-weight: 800;
  font-size: clamp(2.6rem, 6.2vw, 5.1rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.h-section { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 700; letter-spacing: -0.025em; }
.h-card { font-size: 1.35rem; font-weight: 600; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.3rem); color: var(--muted); line-height: 1.6; }
p { text-wrap: pretty; }

/* Eyebrow / kicker with diagonal accent (logo motif) */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
}
.eyebrow::before {
  content: "";
  width: 30px; height: 2px;
  background: var(--orange);
  transform: skewX(-32deg);
  transform-origin: left;
  display: inline-block;
}
.on-dark .eyebrow, .eyebrow.on-dark { color: var(--orange); }
.eyebrow--nodash::before { display: none; }
.eyebrow--nodash { gap: 0; }

/* ----- Layout ----- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(72px, 10vw, 132px); }
.section--tight { padding-block: clamp(56px, 7vw, 92px); }
.bg-paper { background: var(--paper); }
.bg-navy { background: var(--navy); color: #fff; }
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4 { color: #fff; }
.bg-navy .lead { color: var(--muted-light); }

.grid { display: grid; gap: clamp(24px, 3vw, 40px); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .cols-2, .cols-3 { grid-template-columns: 1fr; } }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head .eyebrow { margin-bottom: 20px; }
.section-head p { margin-top: 18px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

/* ----- Buttons ----- */
.btn {
  --bg: var(--orange); --fg: #fff;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--bg); color: var(--fg);
  font-family: var(--ff-body); font-weight: 600; font-size: 0.98rem;
  padding: 15px 28px; border: 1.5px solid var(--bg); border-radius: var(--radius);
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn svg { transition: transform .25s var(--ease); }
.btn:hover { background: var(--orange-600); border-color: var(--orange-600); transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(255,99,62,0.6); }
.btn:hover svg { transform: translateX(4px); }
.btn--ghost { --bg: transparent; --fg: var(--navy); border-color: var(--line); }
.btn--ghost:hover { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: none; }
.btn--on-dark { --bg: transparent; --fg: #fff; border-color: rgba(255,255,255,0.32); }
.btn--on-dark:hover { background: #fff; border-color: #fff; color: var(--navy); box-shadow: none; }
.btn--lg { padding: 18px 34px; font-size: 1.05rem; }

.textlink {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 600; color: var(--orange);
  transition: gap .25s var(--ease);
}
.textlink:hover { gap: 15px; }

/* ----- Header ----- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; }
.brand img { height: 64px; width: auto; transition: opacity .3s var(--ease); }
.brand .logo-on-dark { position: absolute; opacity: 1; }
.brand .logo-on-light { opacity: 0; pointer-events: none; }
.brand { position: relative; display: inline-flex; }

.site-header.scrolled { background: rgba(255,255,255,0.92); backdrop-filter: blur(14px); border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.site-header.scrolled .logo-on-dark { opacity: 0; }
.site-header.scrolled .logo-on-light { opacity: 1; }

/* solid header variant for interior pages (no hero video) */
.site-header.solid { background: rgba(255,255,255,0.92); backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.site-header.solid .logo-on-dark { opacity: 0; }
.site-header.solid .logo-on-light { opacity: 1; }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); }
.nav a.navlink {
  font-weight: 500; font-size: 0.98rem; color: #fff;
  position: relative; padding-block: 6px; transition: color .25s var(--ease);
}
.nav a.navlink::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--orange); transition: width .28s var(--ease);
}
.nav a.navlink:hover::after, .nav a.navlink.active::after { width: 100%; }
.nav a.navlink.active { color: #fff; }
.scrolled .nav a.navlink, .solid .nav a.navlink { color: var(--navy); }
.scrolled .nav a.navlink:hover, .solid .nav a.navlink:hover { color: var(--orange); }

.header-cta { display: inline-flex; align-items: center; gap: 18px; }
.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; position: relative; }
.menu-toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: #fff; transition: .3s var(--ease); }
.scrolled .menu-toggle span, .solid .menu-toggle span { background: var(--navy); }
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 27px; }
body.menu-open .menu-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
body.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .menu-toggle span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 980px) {
  .menu-toggle { display: block; z-index: 110; }
  .scrolled .menu-toggle span, .solid .menu-toggle span, body.menu-open .menu-toggle span { background: var(--navy); }
  .nav-wrap {
    position: fixed; inset: 0; background: var(--white);
    flex-direction: column; justify-content: center; align-items: flex-start;
    padding: 96px var(--pad) 48px; gap: 8px;
    transform: translateX(100%); transition: transform .4s var(--ease);
    display: flex; z-index: 105;
  }
  body.menu-open .nav-wrap { transform: translateX(0); }
  /* Fix: offenes Menü darf nicht im Header (backdrop-filter) gefangen sein */
  body.menu-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav { flex-direction: column; align-items: flex-start; gap: 4px; width: 100%; }
  .nav a.navlink { color: var(--navy); font-family: var(--ff-display); font-size: 1.8rem; font-weight: 600; padding-block: 10px; }
  .header-cta .btn { margin-top: 20px; }
  .header-cta { flex-direction: column; align-items: flex-start; }
}

/* ----- Footer ----- */
.site-footer { background: var(--navy-900); color: var(--muted-light); padding-block: clamp(56px, 7vw, 84px) 36px; }
.site-footer .foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(32px, 5vw, 72px); }
@media (max-width: 820px) { .site-footer .foot-top { grid-template-columns: 1fr; gap: 40px; }
  .site-footer .foot-col { text-align: center; }
  .site-footer .foot-col a:hover { padding-left: 0; }
  .site-footer .foot-col p { margin-left: auto; margin-right: auto; }
  .site-footer .foot-col .textlink { display: inline-flex; }
}
.site-footer .foot-brand { display: flex; align-items: center; justify-content: center; }
.site-footer .foot-logo { height: clamp(76px, 8vw, 104px); width: auto; }
.site-footer p { font-size: 0.97rem; max-width: 36ch; }
.foot-col h4 { color: #fff; font-family: var(--ff-body); font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 18px; font-weight: 600; }
.foot-col a { display: block; padding: 7px 0; color: var(--muted-light); transition: color .2s var(--ease), padding-left .2s var(--ease); font-size: 0.98rem; }
.foot-col a:hover { color: #fff; padding-left: 6px; }
.foot-contact a { color: var(--muted-light); }
.foot-contact a:hover { color: var(--orange); }
.foot-bottom {
  margin-top: clamp(40px, 5vw, 64px); padding-top: 28px;
  border-top: 1px solid var(--line-light);
  display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between;
  font-size: 0.9rem;
}
.foot-bottom .legal-links { display: flex; gap: 24px; flex-wrap: wrap; }
.foot-bottom a:hover { color: #fff; }

/* ----- Interior page hero ----- */
.page-hero { position: relative; padding-top: clamp(140px, 18vw, 210px); padding-bottom: clamp(56px, 7vw, 96px); background: var(--navy); color: #fff; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; right: -8%; top: -30%; width: 60%; height: 160%;
  background: linear-gradient(135deg, transparent 46%, rgba(255,99,62,0.14) 47%, rgba(255,99,62,0.14) 50%, transparent 51%);
  pointer-events: none;
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-weight: 800; font-size: clamp(2.4rem, 5.4vw, 4.2rem); letter-spacing: -0.03em; color: #fff; }
.page-hero .lead { max-width: 60ch; margin-top: 22px; color: rgba(255,255,255,0.82); }
.breadcrumb { display: flex; gap: 10px; align-items: center; font-size: 0.86rem; color: var(--muted-light); margin-bottom: 22px; letter-spacing: 0.02em; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: var(--orange); }

/* ----- Reusable cards ----- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(26px, 3vw, 38px);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card .card-num { font-family: var(--ff-display); font-weight: 800; font-size: 0.95rem; color: var(--orange); letter-spacing: 0.05em; }
.card .card-icon { height: 62px; width: auto; margin-bottom: 22px; }
.card h3 { margin: 10px 0 12px; }
.card p { color: var(--muted); font-size: 1rem; }
.card .card-arrow { margin-top: 22px; color: var(--orange); display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.95rem; transition: gap .25s var(--ease); }
.card:hover .card-arrow { gap: 14px; }

/* utility */
.stack-sm > * + * { margin-top: 14px; }
.stack > * + * { margin-top: 22px; }
.divider-diagonal { height: 3px; width: 64px; background: var(--orange); transform: skewX(-32deg); margin: 0 0 26px; }
.text-orange { color: var(--orange); }

/* =========================================================================
   PAGE COMPONENTS
   ========================================================================= */

/* ----- Home hero (video) ----- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; background: var(--navy); }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(0,15,38,0.92) 0%, rgba(0,20,50,0.72) 42%, rgba(0,20,50,0.30) 100%),
    linear-gradient(0deg, rgba(0,15,38,0.85) 0%, rgba(0,20,50,0.05) 45%);
}
.hero-overlay::after {
  content: ""; position: absolute; right: -6%; top: -20%; width: 55%; height: 150%;
  background: linear-gradient(135deg, transparent 47%, rgba(255,99,62,0.20) 48%, rgba(255,99,62,0.20) 50.5%, transparent 51.5%);
}
.hero-inner { position: relative; z-index: 2; color: #fff; padding-top: 96px; padding-bottom: 64px; max-width: 920px; }
.hero-inner .eyebrow { margin-bottom: 26px; }
.hero .display { color: #fff; }
.hero-slogan { font-family: var(--ff-display); font-weight: 500; font-size: clamp(1.3rem, 2.6vw, 2rem); color: #fff; margin-top: 22px; letter-spacing: -0.01em; }
.hero-slogan::before { content: ""; display: inline-block; width: 34px; height: 3px; background: var(--orange); transform: skewX(-32deg); margin-right: 16px; vertical-align: middle; }
.hero-lead { color: rgba(255,255,255,0.82); max-width: 56ch; margin-top: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }
.hero-scroll {
  position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); z-index: 3;
  color: rgba(255,255,255,0.7); font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.hero-scroll .line { width: 1px; height: 46px; background: linear-gradient(rgba(255,255,255,0.6), transparent); animation: scrolldot 2s var(--ease) infinite; }
@keyframes scrolldot { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 50.1% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (max-width: 700px), (max-height: 780px) { .hero-scroll { display: none; } }

/* ----- Split (image + text) ----- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.split--reverse .split-media { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--reverse .split-media { order: 0; } }
.split-media { position: relative; }
.split-media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.split-media .media-badge {
  position: absolute; left: -22px; bottom: -22px; background: var(--orange); color: #fff;
  padding: 20px 26px; border-radius: var(--radius); box-shadow: var(--shadow-md); max-width: 250px;
}
.split-media .media-badge strong { font-family: var(--ff-display); font-size: 2.2rem; font-weight: 800; display: block; line-height: 1; }
.split-media .media-badge span { font-size: 0.9rem; opacity: 0.92; }
@media (max-width: 540px) { .split-media .media-badge { left: 12px; bottom: 12px; } }

/* ----- Value / pillar list ----- */
.pillar { padding: clamp(28px,3vw,38px); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); height: 100%; }
.bg-navy .pillar { background: var(--navy-800); border-color: var(--line-light); }
.pillar .pillar-no { font-family: var(--ff-display); font-weight: 800; font-size: 2.6rem; color: var(--orange); line-height: 1; opacity: .9; }
.pillar h3 { margin: 16px 0 12px; }
.pillar p { color: var(--muted); font-size: 1rem; }
.bg-navy .pillar p { color: var(--muted-light); }

/* ----- Branchen chips ----- */
.branchen { display: flex; flex-wrap: wrap; gap: 14px; }
.branchen .chip {
  display: inline-flex; align-items: center; gap: 12px;
  border: 1px solid var(--line-light); border-radius: 100px; padding: 12px 22px;
  font-weight: 500; color: #fff; font-size: 1rem; background: rgba(255,255,255,0.04);
}
.branchen .chip b { color: var(--orange); font-family: var(--ff-display); }

/* ----- Logo strip ----- */
.logo-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
@media (max-width: 760px) { .logo-strip { grid-template-columns: 1fr; } }
.logo-cell {
  display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 38px 30px; min-height: 150px; transition: box-shadow .3s var(--ease), transform .3s var(--ease);
  overflow: hidden;
}
.logo-cell:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.logo-cell img { max-height: 78px; width: auto; object-fit: contain; }
.logo-cell.is-image { padding: 0; }
.logo-cell.is-image img { max-height: none; height: 100%; width: 100%; object-fit: cover; }

/* ----- CTA band ----- */
.cta-band { position: relative; overflow: hidden; }
.cta-band::after {
  content: ""; position: absolute; right: -4%; top: -40%; width: 50%; height: 180%;
  background: linear-gradient(135deg, transparent 47%, rgba(255,99,62,0.16) 48%, rgba(255,99,62,0.16) 50.5%, transparent 51.5%);
  pointer-events: none;
}
.cta-band .cta-inner { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.cta-band h2 { max-width: 18ch; }
.cta-band .cta-actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* ----- Service rows (Leistungen) ----- */
.service-row { display: grid; grid-template-columns: 86px 1fr; gap: clamp(24px,3vw,48px); padding: clamp(34px,4vw,56px) 0; border-top: 1px solid var(--line); align-items: start; scroll-margin-top: 110px; }
.service-row:last-child { border-bottom: 1px solid var(--line); }
.service-row .service-icon { width: 86px; height: 86px; }
.service-row .service-icon img { width: 100%; height: 100%; object-fit: contain; }
.service-row .service-no { font-family: var(--ff-display); font-weight: 800; color: var(--orange); font-size: 0.95rem; letter-spacing: 0.08em; margin-bottom: 10px; }
.service-row h2 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); margin-bottom: 18px; }
.service-row .service-body { max-width: 70ch; }
.service-row .service-body p { color: var(--muted); }
.service-row .service-body p + p { margin-top: 16px; }
@media (max-width: 680px) { .service-row { grid-template-columns: 1fr; } .service-row .service-icon { width: 66px; height: 66px; } }

/* service quick-nav */
.service-nav { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.service-nav a {
  border: 1px solid var(--line-light); border-radius: 100px; padding: 10px 18px;
  font-size: 0.92rem; font-weight: 500; color: rgba(255,255,255,0.85); transition: .25s var(--ease);
}
.service-nav a:hover { background: var(--orange); border-color: var(--orange); color: #fff; }

/* ----- Profile (Geschäftsführer) ----- */
.profile { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(36px,5vw,72px); align-items: center; }
@media (max-width: 900px) { .profile { grid-template-columns: 1fr; } }
.profile-photo { position: relative; }
.profile-photo img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.profile-photo::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--orange); border-radius: var(--radius-lg); z-index: -1; }
.profile .role { color: var(--orange); font-weight: 600; letter-spacing: 0.04em; margin-bottom: 8px; }
.profile blockquote { font-family: var(--ff-display); font-weight: 500; font-size: clamp(1.3rem,2vw,1.7rem); line-height: 1.3; color: var(--navy); margin: 0 0 24px; letter-spacing: -0.01em; }
.bg-navy .profile blockquote { color: #fff; }
.profile .bio { color: var(--muted); }
.bg-navy .profile .bio { color: var(--muted-light); }

/* ----- Contact ----- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px,5vw,72px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; }
  .contact-grid > :nth-child(2) { order: -1; }
}
.contact-item { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-item .ci-icon { flex: none; width: 46px; height: 46px; border-radius: var(--radius); background: rgba(255,99,62,0.1); color: var(--orange); display: grid; place-items: center; }
.contact-item h4 { font-family: var(--ff-body); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; font-weight: 600; }
.contact-item a, .contact-item p { font-size: 1.12rem; color: var(--navy); font-weight: 500; }
.contact-item a:hover { color: var(--orange); }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px,3.5vw,44px); box-shadow: var(--shadow-sm); }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--navy); margin-bottom: 8px; letter-spacing: 0.01em; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--navy);
  border: 1.5px solid var(--line); border-radius: var(--radius); padding: 13px 15px; background: var(--paper);
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--orange); background: #fff; }
.field textarea { resize: vertical; min-height: 130px; }
.form .form-note { font-size: 0.84rem; color: var(--muted); margin-top: 8px; }

/* ----- Job cards (Karriere) ----- */
.job { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 28px clamp(24px,3vw,36px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; transition: .3s var(--ease); }
.job:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: transparent; }
.job .job-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.job .tag { font-size: 0.82rem; font-weight: 500; color: var(--muted); background: var(--paper-2); border-radius: 100px; padding: 5px 14px; }
.job h3 { font-size: 1.3rem; }

/* perks */
.perk .perk-icon { width: 44px; height: 44px; border-radius: var(--radius); background: rgba(255,99,62,0.1); color: var(--orange); display: grid; place-items: center; margin-bottom: 18px; }
.perk h3 { font-size: 1.15rem; margin-bottom: 8px; }
.perk p { color: var(--muted); font-size: 0.98rem; }

/* ----- Prose (Impressum / Datenschutz) ----- */
.prose { max-width: 78ch; }
.prose h2 { font-size: 1.5rem; margin: 44px 0 14px; }
.prose h3 { font-size: 1.15rem; margin: 28px 0 10px; font-weight: 600; }
.prose h4 { font-size: 1rem; margin: 20px 0 8px; font-weight: 600; font-family: var(--ff-body); color: var(--navy); }
.prose p, .prose li { color: var(--muted); margin-bottom: 12px; }
.prose ul { padding-left: 22px; margin-bottom: 16px; }
.prose a { color: var(--orange); }
.prose a:hover { text-decoration: underline; }
.prose strong { color: var(--navy); }
.prose .placeholder { background: rgba(255,99,62,0.12); color: var(--orange-600); border-radius: 4px; padding: 1px 7px; font-weight: 600; font-size: 0.92em; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
