/* oestreicher GmbH – static rebuild of the 2026-08-08 homepage */

@font-face { font-family: "Roboto"; font-style: normal; font-weight: 100 900; font-stretch: 100%; font-display: swap; src: url("../fonts/roboto.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: italic; font-weight: 100 900; font-stretch: 100%; font-display: swap; src: url("../fonts/roboto-italic.woff2") format("woff2"); }
@font-face { font-family: "Roboto Condensed"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/roboto-condensed.woff2") format("woff2"); }

:root {
  --navy: #2a3577;
  --navy-dark: #1b2250;
  --navy-soft: #eef0f8;
  --grey: #a6a6a6;
  --ink: #1d1d1f;
  --muted: #5c5f6b;
  --line: #d9dbe3;
  --bg: #ffffff;
  --bg-alt: #f6f7fa;
  --accent: #b0e572;
  --header-h: 72px;
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 48px);
  --font: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-head: "Roboto Condensed", "Roboto", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--navy-dark); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; height: var(--header-h); z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(8px); -webkit-backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 24px; max-width: 1440px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); min-width: 0; }
.brand img { width: 44px; height: 44px; }
.brand-name { font-family: var(--font-head); font-size: 26px; font-weight: 700; color: var(--navy); letter-spacing: .01em; line-height: 1; }
.brand-tag { display: block; font-size: 12.5px; color: var(--muted); letter-spacing: .04em; margin-top: 3px; white-space: nowrap; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.main-nav a { display: block; padding: 8px 12px; font-family: var(--font-head); font-size: 16.5px; text-decoration: none; color: var(--ink); border-radius: 4px; white-space: nowrap; }
.main-nav a:hover, .main-nav a[aria-current="true"] { color: var(--navy); background: var(--navy-soft); }
.social { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; margin-left: 6px; color: var(--navy); border-radius: 4px; }
.social:hover { background: var(--navy-soft); }
.social svg { width: 20px; height: 20px; fill: currentColor; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 10px; }
.menu-btn span { display: block; height: 2px; background: var(--navy); margin: 5px 0; transition: transform .25s, opacity .25s; }
.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: 1100px) {
  .brand-tag { display: none; }
  .menu-btn { display: block; }
  .main-nav { position: fixed; top: var(--header-h); right: 0; bottom: 0; width: min(340px, 100%); flex-direction: column; align-items: stretch; background: #fff; border-left: 1px solid var(--line); padding: 16px; transform: translateX(100%); transition: transform .3s ease; visibility: hidden; }
  .main-nav.open { transform: none; visibility: visible; }
  .main-nav ul { flex-direction: column; }
  .main-nav a { font-size: 19px; padding: 12px 14px; white-space: normal; }
  .social { margin: 12px 0 0 8px; }
}

/* ---------- Sections ---------- */
.section { min-height: 100vh; min-height: 100svh; padding: calc(var(--header-h) + 24px) 0 64px; display: flex; flex-direction: column; justify-content: center; }
.section.alt { background: var(--bg-alt); }
.section-nav { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 10px 0; margin-bottom: 40px; font-family: var(--font-head); font-size: 15px; letter-spacing: .03em; text-transform: uppercase; }
.section-nav a { text-decoration: none; color: var(--muted); }
.section-nav a:hover { color: var(--navy); }
.section-head { max-width: 860px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(34px, 5vw, 58px); }
.section-head p { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); }
.divider { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }

/* ---------- Hero ---------- */
.hero { background: radial-gradient(ellipse at 15% 60%, var(--navy-soft) 0%, #fff 60%); }
.hero .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero-logo { width: 100%; max-width: 560px; }
.hero-deep { font-family: var(--font-head); font-size: clamp(36px, 5.2vw, 72px); font-weight: 700; line-height: 1.05; margin: 0 0 28px; }
.hero-deep a { display: block; text-decoration: none; color: var(--navy); }
.hero-deep a:nth-child(2) { color: #4a5596; }
.hero-deep a:nth-child(3) { color: var(--grey); }
.hero-deep a:hover { color: var(--navy-dark); }
.hero-sub { font-size: clamp(19px, 1.8vw, 24px); font-weight: 500; margin: 0 0 4px; }
.hero-claim { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); margin: 0 0 32px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border: 2px solid var(--navy); color: var(--navy); background: transparent; font-family: var(--font-head); font-size: 17px; letter-spacing: .02em; text-decoration: none; border-radius: 2px; transition: background .2s, color .2s; }
.btn:hover { background: var(--navy); color: #fff; }
.btn.solid { background: var(--navy); color: #fff; }
.btn.solid:hover { background: var(--navy-dark); border-color: var(--navy-dark); }

/* ---------- Grids & cards ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.service h3 { font-size: 23px; padding-top: 16px; border-top: 3px solid var(--navy); }
.service p { color: var(--muted); font-size: 16px; }
.service .more { font-size: 15.5px; font-weight: 500; }
.card { background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.card-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 22px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.eyebrow { font-family: var(--font-head); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--grey); margin: 0 0 6px; }
.card h3 { font-size: 21px; }
.card p { font-size: 15.5px; color: var(--muted); }
.card .links { margin-top: auto; display: flex; flex-direction: column; gap: 4px; font-size: 15.5px; font-weight: 500; }
.placeholder-media { position: relative; display: flex; align-items: flex-end; padding: 18px; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%); color: #fff; font-family: var(--font-head); font-size: 26px; font-weight: 700; overflow: hidden; }
.placeholder-media::before { content: ""; position: absolute; right: -12%; top: -18%; width: 80%; aspect-ratio: 906 / 595; background: url("../img/logo-hero.png") center / contain no-repeat; opacity: .18; filter: grayscale(1) brightness(3); }
.placeholder-media span { position: relative; }

/* ---------- Slider ---------- */
.slider { position: relative; }
.slides { display: grid; }
.slide { grid-area: 1 / 1; display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: center; opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility .5s; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide-media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--navy-dark); }
.slide-media img { width: 100%; height: 100%; object-fit: cover; }
.slide-text h3 { font-size: clamp(26px, 2.6vw, 34px); }
.slide-text p { color: var(--muted); }
.slide-text .note { font-size: 15.5px; padding: 12px 14px; background: var(--navy-soft); border-left: 3px solid var(--navy); color: var(--ink); }
.slider-controls { display: flex; align-items: center; gap: 16px; margin-top: 28px; }
.slider-btn { width: 44px; height: 44px; border: 1px solid var(--navy); background: #fff; color: var(--navy); cursor: pointer; font-size: 20px; line-height: 1; border-radius: 50%; }
.slider-btn:hover { background: var(--navy); color: #fff; }
.dots { display: flex; gap: 8px; }
.dots button { min-width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 0 4px; font-family: var(--font-head); font-size: 15px; color: var(--muted); border-bottom: 3px solid var(--line); }
.dots button[aria-selected="true"] { color: var(--navy); border-bottom-color: var(--navy); font-weight: 700; }
/* without JS: stack all slides */
.no-js .slide { grid-area: auto; opacity: 1; visibility: visible; margin-bottom: 48px; }
.no-js .slider-controls { display: none; }

/* ---------- Über uns ---------- */
.about-claim h3 { font-size: clamp(24px, 2.4vw, 32px); }
.about-claim p { font-size: 19px; }
.steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line); counter-reset: step; }
.step { padding: 28px 32px 24px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 72px 1fr; gap: 16px; }
.step:nth-child(odd) { border-right: 1px solid var(--line); }
.step:nth-child(even) { padding-left: 32px; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--font-head); font-size: 44px; font-weight: 700; color: var(--grey); line-height: 1; }
.step p { margin-bottom: .5em; }
.step p:last-child { font-weight: 500; color: var(--navy); }
.tagline { font-family: var(--font-head); font-size: clamp(24px, 3vw, 36px); color: var(--navy); text-align: center; margin: 56px 0; }
.cta-band { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 32px; background: var(--navy); color: #fff; }
.cta-band h3 { color: #fff; font-size: 28px; margin-bottom: 4px; }
.cta-band p { margin: 0; opacity: .9; }
.cta-band .btn { border-color: #fff; color: #fff; }
.cta-band .btn:hover { background: #fff; color: var(--navy); }

/* ---------- Karriere ---------- */
.intro-cols { columns: 2; column-gap: 48px; margin-bottom: 40px; }
.intro-cols p { break-inside: avoid; }
.intro-cols strong { color: var(--navy); }
.role { background: #fff; border-top: 4px solid var(--navy); padding: 26px 24px; box-shadow: 0 1px 0 var(--line), 0 8px 24px rgba(27,34,80,.06); }
.role p:first-child { font-family: var(--font-head); font-size: 21px; font-weight: 700; color: var(--navy); line-height: 1.25; }
.role p { font-size: 15.5px; color: var(--muted); }
.role:nth-child(2) { border-top-color: #4a5596; }
.role:nth-child(3) { border-top-color: var(--grey); }

/* ---------- Partner marquee ---------- */
.partners { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.partners ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 64px; width: max-content; animation: marquee 50s linear infinite; }
.partners:hover ul, .partners:focus-within ul { animation-play-state: paused; }
.partners li { flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; height: 120px; }
.partners img { max-height: 80px; max-width: 200px; width: auto; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.partners li:hover img { filter: none; opacity: 1; }
.partners small { font-size: 12.5px; color: var(--muted); }
@keyframes marquee { to { transform: translateX(calc(-50% - 32px)); } }
@media (prefers-reduced-motion: reduce) { .partners ul { flex-wrap: wrap; width: auto; justify-content: center; } .partners li[aria-hidden="true"] { display: none; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: #d6d9ea; padding: 64px 0 32px; }
.site-footer h2 { color: #fff; font-size: 22px; margin-bottom: 14px; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--accent); }
.footer-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; }
.footer-grid address { font-style: normal; }
.footer-bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.15); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14.5px; }
.footer-bottom nav { display: flex; gap: 20px; }

/* ---------- Legal / sub pages ---------- */
.page { padding: calc(var(--header-h) + 48px) 0 80px; }
.page .wrap { max-width: 860px; }
.page h1 { font-size: clamp(36px, 5vw, 52px); margin-bottom: 32px; }
.page h2 { font-size: 26px; margin-top: 1.6em; }
.page h3 { font-size: 20px; margin-top: 1.4em; }
.page h4 { font-size: 17px; margin-top: 1.2em; }
.page p, .page li { overflow-wrap: anywhere; }
.doc-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .slide { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 768px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 24px; }
  .hero-logo { max-width: 300px; }
  .grid-3 { grid-template-columns: 1fr; }
  .intro-cols { columns: 1; }
  .steps { grid-template-columns: 1fr; }
  .step, .step:nth-child(even) { padding: 24px 0; border-right: 0; grid-template-columns: 56px 1fr; }
  .step::before { font-size: 34px; }
  .cta-band { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .section { min-height: 0; padding-bottom: 48px; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .grid-4 { grid-template-columns: 1fr; }
  .section-nav { margin-bottom: 28px; font-size: 13.5px; }
  .brand-name { font-size: 22px; }
  .brand img { width: 36px; height: 36px; }
}
.page table { border-collapse: collapse; margin: 0 0 1.2em; }
.page td, .page th { padding: 6px 16px 6px 0; vertical-align: top; text-align: left; }
.page ul, .page ol { padding-left: 1.3em; }
