/* Rechert & König – statische Kopie der Wix-Seite (Stand 26.11.2026) */

@font-face { font-family: "Playfair Display"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/playfair-display-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/playfair-display-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/instrument-sans-latin-400-normal.woff2") format("woff2"); }

:root {
  --bg: #fdfdfd;
  --grey: #f2f2f2;
  --dark: #2a2a2a;
  --ink: #1a1a1a;
  --text-2: #333333;
  --pill: #fcf6f3;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
  --ui: "Instrument Sans", "Inter", Arial, sans-serif;
  --pad: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 89px; }
body { margin: 0; background: var(--bg); color: var(--dark); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, h5, p { margin: 0; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; height: 89px; background: var(--bg); border-bottom: 1px solid var(--dark); }
.site-header .inner { position: relative; height: 88px; display: flex; align-items: center; }
.logo { position: absolute; left: 58px; top: 11px; }
.logo img { width: 135px; height: 65px; object-fit: contain; }
.main-nav { position: absolute; left: 485px; top: 29px; display: flex; gap: 28px; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; }
.main-nav a { display: block; padding: 9.5px 22.5px; border-radius: 999px; background: var(--pill); font-family: var(--ui); font-size: 15.75px; line-height: 21.26px; color: var(--dark); text-decoration: none; }
.main-nav li:first-child a { padding-left: 22.5px; padding-right: 22.5px; }
.header-phone { position: absolute; right: 99px; top: 38px; font-family: var(--ui); font-size: 15.75px; line-height: 21.26px; color: var(--dark); }
.burger { display: none; }

/* ---------- Gemeinsame Bausteine ---------- */
.section { position: relative; }
.bg-grey { background: var(--grey); }
.bg-dark { background: var(--dark); }
.h2 { font-family: var(--serif); font-weight: 700; font-size: 41.625px; line-height: 1.1; color: var(--dark); }
.h2-xl { font-family: var(--serif); font-weight: 700; font-size: 69.75px; line-height: 1.1; color: var(--dark); }
.body { font-size: 16.875px; line-height: 1.3; }

/* ---------- Hero ---------- */
.hero { height: 587px; overflow: hidden; }
.hero .media { position: absolute; inset: 0; opacity: .39; }
.hero .media img { width: 100%; height: 100%; object-fit: cover; }
.hero h1 { position: absolute; left: 90px; top: 166px; font-family: var(--serif); font-size: 99px; line-height: 99px; font-weight: 700; color: var(--bg); white-space: nowrap; }
.hero h1 .light { font-weight: 400; }
.hero .lead { position: absolute; left: 90px; top: 292px; width: 831px; font-size: 18px; line-height: 23.4px; color: var(--bg); }
.hero .badge { position: absolute; left: 653px; top: 434px; width: 133px; height: 133px; }

/* ---------- Kennzahlen ---------- */
.stats { height: 277px; display: grid; grid-template-columns: repeat(3, 420px); column-gap: 45px; padding: 90px 0 0 45px; }
.stats h2 { font-family: var(--serif); font-weight: 700; font-size: 60.75px; line-height: 66.8px; color: var(--ink); text-align: center; }
.stats p { margin-top: 9px; font-family: var(--ui); font-size: 15.75px; line-height: 21.26px; letter-spacing: .05em; text-transform: uppercase; color: var(--text-2); text-align: center; }

/* ---------- Über uns ---------- */
.about { height: 808px; }
.about .intro { position: absolute; left: 68px; top: 90px; width: 486px; }
.about .intro p { margin-top: 45px; }
.team { position: absolute; top: 135px; left: 644px; display: grid; grid-template-columns: repeat(2, 338px); column-gap: 53px; }
.member img { width: 270px; height: 360px; object-fit: cover; margin: 0 auto; }
.member h5 { margin-top: 52px; font-size: 36px; line-height: 39.6px; font-weight: 500; }
.member p { margin-top: 9px; font-family: var(--ui); font-size: 15.75px; line-height: 21.26px; }
.member a { text-decoration: none; }

/* ---------- Leistungen ---------- */
.services { padding: 90px var(--pad) 88px; }
.services .grid { margin-top: 67px; display: grid; grid-template-columns: repeat(2, 633px); column-gap: 44px; row-gap: 45px; align-items: start; }
.card { background: var(--grey); padding: 36px 36px 36px; min-height: 283px; }
.card h5 { font-size: 36px; line-height: 39.6px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.card p { margin-top: 18px; max-width: 561px; }
.services .grid .card:nth-child(3) { min-height: 301px; }
.services .grid .card:nth-child(4) { min-height: 302px; }

/* ---------- Referenzen ---------- */
.refs { padding: 90px 0 99px; }
.refs .h2-xl { margin-left: var(--pad); width: 763px; }
.refs .lead { margin: 27px 0 0 var(--pad); width: 763px; font-size: 18px; line-height: 23.4px; }
.slider { position: relative; margin: 55px 97px 0 90px; height: 394px; overflow: hidden; }
.slider .track { display: flex; gap: 54px; height: 100%; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; scroll-snap-type: x mandatory; }
.slider .track::-webkit-scrollbar { display: none; }
.slide { position: relative; flex: 0 0 auto; height: 394px; background: #000; scroll-snap-align: start; cursor: pointer; border: 0; padding: 0; }
.slide img { height: 100%; width: auto; }
.slide .cap { position: absolute; left: 27px; right: 27px; bottom: 22px; font-family: var(--serif); font-weight: 700; font-size: 18px; line-height: 21.6px; color: #fff; text-align: left; opacity: 0; transition: opacity .2s; }
.slide:hover .cap, .slide:focus-visible .cap { opacity: 1; }
.slider .nav { position: absolute; top: 179px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--bg); cursor: pointer; display: grid; place-items: center; z-index: 2; }
.slider .nav.prev { left: 24px; }
.slider .nav.next { right: 24px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: #fdfdfd; display: none; }
.lightbox.open { display: block; }
.lightbox figure { position: absolute; inset: 60px 120px 160px; margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.lightbox figure img { max-height: 100%; max-width: 100%; object-fit: contain; }
.lightbox figcaption { margin-top: 12px; font-family: var(--serif); font-weight: 700; font-size: 18px; text-align: center; white-space: pre-line; }
.lightbox .counter { position: absolute; left: 24px; top: 20px; font-family: var(--ui); font-size: 15px; }
.lightbox button { position: absolute; background: none; border: 0; cursor: pointer; padding: 12px; color: var(--dark); }
.lightbox .close { right: 16px; top: 10px; }
.lightbox .lb-prev { left: 30px; top: 50%; }
.lightbox .lb-next { right: 30px; top: 50%; }
.lightbox .thumbs { position: absolute; left: 0; right: 0; bottom: 24px; display: flex; gap: 8px; justify-content: center; }
.lightbox .thumbs img { width: 70px; height: 90px; object-fit: cover; opacity: .6; cursor: pointer; }
.lightbox .thumbs img.active { opacity: 1; }

/* ---------- Kontakt ---------- */
.contact { height: 624px; }
.contact .left { position: absolute; left: 68px; top: 90px; width: 626px; }
.contact .left h3 { margin-top: 45px; font-family: var(--serif); font-weight: 700; font-size: 27px; line-height: 29.7px; }
.contact .left p { margin: 25px 0 0 2px; }
.contact .left a { text-decoration: none; }
.contact .right { position: absolute; left: 731px; top: 38px; width: 642px; }
.contact .right > p { font-size: 16.875px; line-height: 21.94px; }
.form { margin: 30px 0 0 16px; width: 626px; display: grid; grid-template-columns: 289px 289px; column-gap: 36px; row-gap: 24px; }
.form .field { display: flex; flex-direction: column; min-width: 0; }
.form .full { grid-column: 1 / -1; }
.form label { font-size: 14px; line-height: 19.6px; color: var(--dark); }
.form input, .form textarea { width: 100%; min-width: 0; margin-top: 8px; font: 16px/24px var(--sans); color: var(--dark); background: transparent; border: 0; padding: 8px 2px 8px 0; height: 40px; outline-offset: 2px; }
.form textarea { height: 76px; padding: 0 12px; margin-top: 16px; resize: none; }
.form .tel { display: flex; align-items: center; }
.form .tel .cc { display: flex; align-items: center; gap: 6px; padding: 0 12px; margin-top: 8px; }
.form .tel input { flex: 1; }
.form button[type=submit] { grid-column: 1 / -1; margin-top: 8px; height: 41px; border: 0; background: var(--dark); color: var(--bg); font: 16px/20.8px var(--sans); text-transform: uppercase; cursor: pointer; }
.form .hp { position: absolute; left: -9999px; }
.form-status { grid-column: 1 / -1; font-size: 14px; }

/* ---------- Footer ---------- */
.site-footer { height: 245px; border-top: 1px solid var(--dark); position: relative; font-family: var(--ui); font-size: 15.75px; line-height: 21.26px; }
.site-footer .links { position: absolute; left: 69px; top: 51px; }
.site-footer .links a { text-decoration: none; }
.site-footer .links p + p { margin-top: 14px; }
.site-footer .flogo { position: absolute; left: 693px; top: 91px; width: 117px; height: 56px; object-fit: contain; }
.site-footer address { position: absolute; right: 69px; top: 58px; width: 311px; text-align: right; font-style: normal; }
.site-footer address a { text-decoration: none; }

/* ---------- Unterseiten ---------- */
.jobs-hero { height: 461px; }
.jobs-hero h1 { position: absolute; left: 124px; top: 90px; font-family: var(--serif); font-size: 99px; line-height: 99px; letter-spacing: -1.98px; font-weight: 700; color: var(--bg); }
.jobs-hero h1 .light { font-weight: 400; }
.jobs-hero p { position: absolute; left: 124px; top: 234px; font-size: 18px; line-height: 23.4px; color: var(--bg); }
.jobs-hero .ghost { position: absolute; left: 124px; top: 303px; width: 183px; height: 46px; background: transparent; border: 1px solid transparent; font-family: var(--ui); font-size: 15.75px; letter-spacing: .1em; text-transform: uppercase; color: var(--dark); }

.positions { padding: 90px 90px 90px; }
.positions .grid { margin-top: 53px; display: grid; grid-template-columns: repeat(3, 384px); column-gap: 54px; }
.job { background: var(--grey); height: 416px; padding: 23px 23px; position: relative; }
.job h5 { font-size: 27px; line-height: 29.7px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; min-height: 59px; }
.job .meta { margin-top: 73px; font-family: var(--ui); font-size: 15.75px; line-height: 21.26px; color: var(--ink); }
.job .desc { margin-top: 37px; color: var(--text-2); }
.job button { position: absolute; left: 23px; top: 314px; width: 128px; height: 40px; border: 0; background: var(--ink); color: var(--bg); font: 16.875px/21.94px var(--sans); letter-spacing: .05em; text-transform: uppercase; }

.benefits { height: 792px; }
.benefits .intro { position: absolute; left: 90px; top: 90px; width: 482px; }
.benefits .intro p { margin-top: 28px; width: 434px; }
.benefits .grid { position: absolute; left: 627px; top: 91px; display: grid; grid-template-columns: 349px 349px; column-gap: 24px; row-gap: 16px; grid-template-rows: 310px 284px; }
.benefit { background: var(--bg); padding: 44px 44px; }
.benefit .icon { font-family: var(--serif); font-size: 51.75px; line-height: 56.9px; color: var(--ink); }
.benefit h5 { margin-top: 18px; font-size: 36px; line-height: 39.6px; font-weight: 500; }
.benefit p { margin-top: 18px; font-family: var(--ui); font-size: 15.75px; line-height: 21.26px; }

.apply { height: 573px; }
.apply .inner { position: absolute; left: 90px; top: 81px; }
.apply .h2-xl a { text-decoration: none; display: block; width: 392px; }
.apply p { margin-top: 28px; width: 563px; color: var(--text-2); }
.apply h3 { margin-top: 54px; font-family: var(--serif); font-weight: 700; font-size: 36px; line-height: 39.6px; }
.apply h3 a { text-decoration: none; }

.legal { padding: 144px 0 145px; }
.legal .text { width: 720px; margin: 0 0 0 360px; font-size: 18px; line-height: 28.8px; }
.legal .text h1, .legal .text h4 { font: inherit; }
.legal .text p:empty::before { content: "\200B"; }
.legal-center { padding: 90px 0 120px; }
.legal-center .text { width: 864px; margin: 0 auto; font-size: 16.875px; line-height: 27px; text-align: center; }
.legal-center .text ul { margin: 0; padding-left: 1.4em; list-style-position: inside; }
.legal-center .text p.gap::before { content: "\200B"; }

/* ---------- Einblend-Animation (wie bei Wix) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Zwischengrößen: Desktop-Layout skaliert mit ---------- */
@media (min-width: 1001px) and (max-width: 1439px) {
  body { zoom: calc(100vw / 1440px); }
}

/* ---------- Mobil ---------- */
@media (max-width: 1000px) {
  :root { --pad: 24px; }
  html { scroll-padding-top: 49px; }
  .site-header { height: 49px; border-bottom: 0; }
  .site-header .inner { height: 48px; }
  .logo { left: auto; right: 5px; top: 5px; }
  .logo img { width: 77px; height: 37px; }
  .burger { display: grid; place-items: center; position: absolute; left: 3px; top: 0; width: 42px; height: 48px; background: none; border: 0; cursor: pointer; }
  .main-nav { display: none; position: fixed; inset: 48px 0 0 0; background: var(--bg); padding: 40px 24px; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: center; gap: 20px; }
  .header-phone { display: none; }
  .main-nav .m-phone { display: block; text-align: center; margin-top: 28px; font-family: var(--ui); }

  .hero { height: 555px; }
  .hero h1 { left: 24px; top: 147px; font-size: 36px; line-height: 36px; }
  .hero .lead { left: 24px; top: 195px; width: 342px; font-size: 16px; line-height: 20.8px; }
  .hero .badge { left: 150px; top: 393px; width: 89px; height: 89px; }

  .stats { height: auto; grid-template-columns: 1fr; padding: 80px 24px 80px; row-gap: 40px; }
  .stats h2 { font-size: 28px; line-height: 30.8px; }
  .stats p { font-size: 14px; line-height: 18.9px; margin-top: 11px; }

  .about { height: auto; padding: 80px 24px; }
  .about .intro, .team { position: static; width: auto; }
  .about .intro p { margin-top: 12px; font-size: 16px; line-height: 20.8px; }
  .team { margin-top: 70px; grid-template-columns: 1fr; row-gap: 70px; }
  .member img { width: 274px; height: 240px; }
  .member h5 { margin-top: 70px; font-size: 24px; line-height: 26.4px; text-align: center; }
  .member p { font-size: 14px; line-height: 18.9px; text-align: center; }

  .h2 { font-size: 24px; }
  .h2-xl { font-size: 30px; }
  .body { font-size: 16px; line-height: 20.8px; }

  .services { padding: 80px 24px; }
  .services .grid { margin-top: 30px; grid-template-columns: 1fr; row-gap: 24px; }
  .card, .services .grid .card:nth-child(n) { min-height: 0; padding: 24px; }
  .card h5 { font-size: 18px; line-height: 19.8px; }
  .card p { margin-top: 12px; }

  .refs { padding: 80px 0; }
  .refs .h2-xl, .refs .lead { width: auto; margin-right: 24px; }
  .refs .lead { margin-top: 12px; font-size: 16px; line-height: 20.8px; }
  .slider { margin: 39px 24px 0; height: 350px; }
  .slider .track { gap: 20px; }
  .slide { height: 350px; }
  .slider .nav { width: 31px; height: 31px; top: 160px; }

  .contact { height: auto; padding: 40px 24px 40px; display: flex; flex-direction: column; }
  .contact .left, .contact .right { position: static; width: auto; }
  .contact .right { display: contents; }
  .contact .right > p { order: 0; }
  .contact .left { order: 1; margin-top: 40px; }
  .contact .left h3 { margin-top: 12px; font-size: 20px; line-height: 22px; }
  .contact .left p { margin-top: 12px; font-size: 16px; }
  .form { order: 2; margin: 40px 0 0; width: auto; grid-template-columns: minmax(0,1fr) minmax(0,1fr); column-gap: 24px; }
  .form input { min-width: 0; }

  .site-footer { height: 379px; font-size: 14px; line-height: 18.9px; text-align: center; }
  .site-footer .links { position: static; padding-top: 46px; }
  .site-footer .links p + p { margin-top: 12px; }
  .site-footer address { position: static; width: auto; text-align: center; margin-top: 12px; padding: 0 24px; }
  .site-footer .flogo { position: static; margin: 33px auto 0; width: 104px; height: 50px; }

  .jobs-hero { height: 322px; }
  .jobs-hero h1 { left: 24px; top: 80px; font-size: 36px; line-height: 36px; letter-spacing: -.72px; }
  .jobs-hero p { left: 24px; top: 128px; width: 342px; font-size: 16px; line-height: 20.8px; }
  .jobs-hero .ghost { left: 24px; top: 202px; width: 162px; height: 41px; }
  .positions { padding: 80px 24px; }
  .positions .grid { grid-template-columns: 1fr; row-gap: 24px; margin-top: 40px; }
  .job { height: auto; padding: 24px 24px 90px; }
  .job h5 { font-size: 20px; line-height: 22px; min-height: 44px; }
  .job .meta { margin-top: 65px; font-size: 14px; }
  .job .desc { margin-top: 12px; font-size: 16px; line-height: 20.8px; }
  .job button { top: auto; bottom: 24px; left: 24px; width: 114px; height: 35px; font-size: 14px; }
  .benefits { height: auto; padding: 80px 24px; }
  .benefits .intro, .benefits .grid { position: static; width: auto; }
  .benefits .intro p { width: auto; margin-top: 12px; }
  .benefits .grid { margin-top: 40px; grid-template-columns: 1fr; grid-template-rows: none; }
  .benefit { padding: 24px; }
  .benefit .icon { font-size: 26px; line-height: 28.6px; }
  .benefit h5 { margin-top: 12px; font-size: 24px; line-height: 26.4px; }
  .benefit p { margin-top: 12px; font-size: 14px; line-height: 18.9px; }
  .apply { height: auto; padding: 80px 24px; }
  .apply .inner { position: static; }
  .apply p { width: auto; margin-top: 12px; }
  .apply h3 { margin-top: 12px; font-size: 24px; line-height: 26.4px; }
  .apply .h2-xl a { width: auto; }

  .legal, .legal-center { padding: 60px 24px; }
  .legal .text, .legal-center .text { width: auto; margin: 0; font-size: 16px; line-height: 25.6px; }
}
