/* A stronger industrial composition, grounded in the original Rübsam palette. */
:root {
    --steel: #e1e7ee;
    --steel-light: #edf1f5;
    --steel-line: #b9c7d7;
    --deep-steel: #102c50;
}

body {
    background: var(--steel-light);
}

h1 em,
h2 em {
    font-family: var(--sans);
    font-style: normal;
    font-weight: 650;
    letter-spacing: inherit;
}



.hero-zone {
    background: var(--ink);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.hero-zone::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(#82a5d20a 1px, transparent 1px), linear-gradient(90deg, #82a5d20a 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
}

.hero {
    position: relative;
    grid-template-columns: 1.05fr 1fr;
    gap: 70px;
    padding-top: 63px;
    padding-bottom: 54px;
}

.hero .eyebrow {
    color: #bed3ec;
}

.hero .short-line {
    background: var(--cyan);
}

.hero h1 {
    color: #fff;
    margin: 25px 0;
    font-size: clamp(48px, 5.5vw, 78px);
    line-height: 1.06;
}

.hero h1 em {
    color: #65c5fa;
}

.hero-intro {
    color: #c7d5e8;
    max-width: 470px;
    font-size: 15px;
    line-height: 1.8;
}

.hero-actions {
    margin-top: 29px;
    gap: 25px;
}

.hero .button {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
}

.hero .button:hover {
    background: #0f5cdb;
    border-color: #0f5cdb;
}

.hero .text-link {
    color: #edf5ff;
    border-color: #57708f;
}

.hero .text-link:hover {
    color: #6ac9ff;
    border-color: #6ac9ff;
}



.production-figure {
    margin: 0;
    min-height: 465px;
    border: 1px solid #54718f;
    background: #193650;
    border-radius: 0;
    position: relative;
    overflow: hidden;
}

.production-figure::before,
.production-figure::after {
    border-color: #a8d5fb;
    width: 28px;
    height: 28px;
}

.production-image {
    position: absolute;
    inset: -18px 0;
    width: 100%;
    height: calc(100% + 36px);
    object-fit: cover;
    object-position: 57% center;
    filter: saturate(.28) contrast(1.1);
    transform: translate3d(0, calc(var(--photo-shift, 0px) * -1), 0);
}





















.credibility p:not(:first-child) {
    padding-left: 23px;
    border-left: 1px solid #425b7d;
}



.credibility p:not(:first-child) strong {
    color: #aec3de;
    font-size: 10px;
}







.section {
    padding-top: 74px;
    padding-bottom: 74px;
}





.allowance {
    background: var(--steel);
    border-bottom: 1px solid var(--steel-line);
}

.allowance-grid {
    gap: 90px;
}

.allowance h2 {
    font-size: clamp(35px, 3.5vw, 50px);
}

.criteria {
    margin-top: 43px;
    border-color: #adbed1;
    background: #d6e0eb;
}

.criteria>div {
    padding-left: 24px;
}

.criteria>div+div {
    border-left-color: #adbed1;
}

.criteria>div:hover {
    background: #ccd9e8;
}

.criteria p {
    color: #42556e;
}

.criteria h3 {
    font-size: 16px;
}



















































.example-copy>p:not(.eyebrow) {
    color: #c8d6e7;
}













.check-intro>p:not(.eyebrow) {
    color: #d2e0f3;
}





.process-section {
    background: var(--steel-light);
    border-bottom: 1px solid #c0cede;
}

.process-list {
    background: #f5f7fa;
    border: 1px solid #bac9db;
    border-left: 0;
    padding-right: 22px;
}

.process-list li {
    border-top-color: #c3d0df;
}

.process-list li:first-child {
    border-top: 0;
}

.process-list li:last-child {
    border-bottom: 0;
}

.process-list::before {
    background: #9ab0cb;
}

.process-list li::before {
    background: var(--steel-light);
}

.process-number {
    color: #315c96;
}



.responsibility p {
    color: #4c5f77;
}

.about-section {
    background: #fff;
    padding-block: 63px;
    border-bottom: 1px solid #c0cede;
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(470px, .92fr);
    gap: 64px;
    align-items: stretch;
}

.about-copy {
    max-width: 920px;
    padding-right: 6px;
}

.about-copy h2 {
    font-size: clamp(32px, 3vw, 42px);
    margin: 20px 0;
}

.about-copy .lead {
    font-size: 18px;
}

.about-copy>p:not(.eyebrow):not(.lead) {
    font-size: 13px;
}

.about-values {
    margin: 22px 0;
    padding-top: 15px;
}

.team-note {
    border: 1px solid #c3cfde;
    background: #e6ecf3;
    display: grid;
    grid-template-columns: 265px minmax(0, 1fr);
    align-items: stretch;
    width: 100%;
    max-width: 590px;
    flex: 1;
    min-height: 0;
}

/* Geschäftsführung und Über-uns-Link */

.about-team-side {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
    gap: 18px;
    width: 100%;
    min-width: 0;
    margin-top: 42px;
}


.about-team-side .team-note {
    width: 100%;
}

/* Ralf-Rübsam-Karte auf Desktop leicht anheben */
@media (min-width: 901px) {
    .about-team-side {
        transform: translateY(-25px);
    }
}

/* Über-uns-Button – Stil der Referenzen */

.about-team-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 132px;
    min-height: 42px;
    padding: 8px 22px;
    border: 1px solid #0b2d6d;
    background: transparent;
    color: #0b2d6d;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    transition:
        background-color .2s ease,
        color .2s ease,
        border-color .2s ease;
}

.about-team-button:hover {
    background: #1671ff;
    border-color: #1671ff;
    color: #ffffff;
}

.about-team-button:focus-visible {
    outline: 2px solid #1671ff;
    outline-offset: 3px;
}

.team-note-copy .about-team-button {
    margin-top: 16px;
    min-width: 120px;
    min-height: 36px;
    padding: 7px 18px;
    font-size: 12px;
}


/* Auf kleineren Bildschirmen kein zusätzlicher Versatz */

@media (max-width: 900px) {
    .about-team-side {
        margin-top: 0;
    }
}

.team-note-image {
    width: 100%;
    height: 100%;
    min-height: 0;
    aspect-ratio: auto;
    overflow: hidden;
    background: #dfe5ec;
}

.team-note-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
    display: block;
}

.team-note-copy {
    padding: 30px 28px 26px;
}

.team-note .eyebrow {
    font-size: 11px;
    letter-spacing: .12em;
    margin-bottom: 14px;
}

.team-note h3 {
    font-size: 26px;
    line-height: 1.2;
    margin: 0 0 14px;
    letter-spacing: -.03em;
    font-weight: 650;
}

.team-note-copy>p:not(.eyebrow) {
    font-size: 14px;
    line-height: 1.65;
    color: #4b617c;
    margin: 0 0 14px;
}

.team-note a {
    font-size: 10px;
    display: inline-flex;
    gap: 9px;
    margin-top: 15px;
}

.faq-section {
    background: #e1e7ee;
}

.faq-grid {
    gap: 80px;
}

.faq-list {
    border-top-color: #adbed2;
}

.faq-list details {
    border-bottom-color: #adbed2;
}

.faq-answer {
    color: #425771;
}

.contact-section {
    background: #061b3b;
    padding-block: 75px;
    border-top: 4px solid #1671ff;
}









.footer {
    background: #d7e0eb;
}







@media(min-width:1500px) {
    .hero {
        padding-block: 75px 60px;
    }

    .production-figure {
        min-height: 510px;
    }
}

@media(max-width:1100px) {
    .hero {
        gap: 40px;
    }

    .hero h1 {
        font-size: 62px;
    }

    .hero-actions {
        gap: 18px;
    }

    .production-figure {
        min-height: 440px;
    }

    

    

    

    .credibility p:not(:first-child) {
        padding-left: 17px;
    }

    .about-grid {
        gap: 45px;
        grid-template-columns: 1.3fr .9fr;
    }

    .team-note {
        grid-template-columns: 95px 1fr;
    }

    .team-note-copy {
        padding: 20px 15px;
    }

    .team-note h3 {
        font-size: 18px;
    }

    
}

@media(max-width:900px) {
    .hero {
        gap: 30px;
        padding-top: 45px;
    }

    .hero h1 {
        font-size: 53px;
    }

    .hero-intro {
        font-size: 14px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .production-figure {
        min-height: 440px;
    }

    

    

    

    

    

    

    .credibility p:not(:first-child) {
        border-left: 0;
        padding-left: 0;
    }

    

    .section {
        padding-block: 60px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .team-note {
        max-width: 460px;
        grid-template-columns: 125px 1fr;
    }

    .team-note-image {
        height: auto;
    }

    .team-note-copy {
        padding: 24px;
    }

    .team-note h3 {
        font-size: 21px;
    }

    .about-copy h2 {
        font-size: 37px;
    }

    

    

    

    .process-list {
        padding-right: 16px;
    }

    .allowance-grid {
        gap: 40px;
    }
}

@media(max-width:650px) {
    .hero {
        padding-top: 33px;
        padding-bottom: 30px;
        gap: 30px;
    }

    .hero h1 {
        font-size: clamp(32px, 12.3vw, 67px);
        margin: 23px 0;
    }

    .hero h1 em {
        white-space: normal;
    }

    .hero-intro {
        font-size: 14px;
    }

    .hero-actions {
        flex-direction: row;
        align-items: center;
        gap: 15px;
    }

    

    .production-figure {
        min-height: 310px;
        max-height: none;
    }

    .production-image {
        object-position: 52% center;
    }

    

    

    

    

    

    

    

    

    

    .credibility p:not(:first-child) strong {
        font-size: 9px;
    }

    

    .section {
        padding-block: 46px;
    }

    

    .allowance h2 {
        font-size: 35px;
    }

    .allowance-grid {
        gap: 23px;
    }

    .criteria {
        margin-top: 29px;
        padding-inline: 18px;
    }

    .criteria>div,
    .criteria>div+div {
        padding: 18px 0;
    }

    .criteria>div+div {
        border-top-color: #adbed1;
    }

    

    

    

    

    

    

    

    

    

    

    

    .process-head h2 {
        font-size: 32px;
    }

    .process-head {
        margin-bottom: 26px;
    }

    .process-list {
        padding-right: 13px;
    }

    .process-list li {
        padding-block: 20px;
        gap: 9px 12px;
    }

    .process-list h3 {
        font-size: 18px;
    }

    .process-list p {
        font-size: 11px;
    }

    

    .about-section {
        padding-block: 43px;
    }

    .about-copy h2 {
        font-size: 31px;
    }

    .about-copy .lead {
        font-size: 17px;
    }

    .about-values {
        gap: 7px 14px;
    }

    .team-note {
        grid-template-columns: 105px 1fr;
        width: 100%;
    }

    .team-note-image {
        height: auto;
    }

    .team-note-copy {
        padding: 20px 17px;
    }

    .team-note h3 {
        font-size: 20px;
    }

    .faq-grid {
        gap: 26px;
    }

    .contact-section {
        padding-block: 48px;
    }

    .contact-grid h2 {
        font-size: 34px;
    }

    

    
}

@media(prefers-reduced-motion:reduce) {
    .production-image {
        transform: none;
    }
}

/* Simplified introduction and readable service and project summaries. */




.hero-services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    position: relative;
    list-style: none;
    padding: 21px 0 24px;
    margin-block: 0;
    border-top: 1px solid #425b7d;
    color: #e5eefb;
}

.hero-services li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
}

.hero-services li::before {
    content: "";
    width: 5px;
    height: 5px;
    flex: none;
    background: var(--cyan);
}

.allowance-examples {
    margin-top: 36px;
}

.allowance-examples-title {
    font-size: 17px;
    font-weight: 600;
}

.allowance-examples .criteria {
    margin-top: 12px;
}

.allowance-examples h4 {
    margin: 0;
    color: var(--ink);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -.015em;
}

.allowance-examples .criteria p {
    font-size: 13px;
    line-height: 1.65;
}

.process-list li {
    grid-template-columns: 65px 1fr;
}

.process-list p {
    max-width: 720px;
}

@media(max-width:900px) {
    .process-list li {
        grid-template-columns: 35px 1fr;
    }
}

@media(max-width:650px) {
    

    .hero-services {
        display: flex;
        flex-wrap: wrap;
        gap: 10px 16px;
        padding: 18px 0 21px;
    }

    .hero-services li {
        font-size: 12px;
        gap: 8px;
    }

    .allowance-examples {
        margin-top: 28px;
    }

    .allowance-examples .criteria>div {
        display: block;
    }

    .allowance-examples .criteria p {
        margin-top: 6px;
    }

    .process-list li {
        grid-template-columns: 25px 1fr;
    }
}


/* ==========================================
   RALF RÜBSAM – RESPONSIVE LAYOUT
   ========================================== */

/* 421–699 px: Foto oben, Text darunter */

@media (max-width: 699px) {
  .about-team-side {
    width: 100%;
    margin-top: 0;
    transform: none;
  }

  .about-team-side .team-note {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    max-width: none;
    flex: none;
  }

  .about-team-side .team-note-image {
    position: relative;
    width: 100%;
    height: clamp(350px, 65vw, 440px);
    min-height: 0;
    aspect-ratio: auto;
    overflow: hidden;
  }

  .about-team-side .team-note-image img {
    display: block;
    position: static;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 12%;
  }
}


/* 700–1180 px: breite Karte unter dem Text */

@media (min-width: 700px) and (max-width: 1180px) {

  .about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    align-items: start;
  }

  .about-team-side {
    width: 100%;
    min-width: 0;
    margin-top: 0;
    transform: none;
    align-self: start;
  }

  .about-team-side .team-note {
    display: grid;
    grid-template-columns: clamp(240px, 35%, 300px) minmax(0, 1fr);
    align-items: stretch;
    width: 100%;
    max-width: none;
    min-height: 420px;
    flex: none;
  }

  .about-team-side .team-note-image {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 420px;
    aspect-ratio: auto;
    overflow: hidden;
  }

  .about-team-side .team-note-image img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }

  .about-team-side .team-note-copy {
    min-width: 0;
    padding: clamp(20px, 3vw, 32px);
  }
}

/* ==========================================
   KARRIERE – KOMPAKTER CTA
   ========================================== */

.career-cta-section {
  background: #071f52;
  padding: 30px 0;
}

.career-cta-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;

  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 25px 42px;

  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(170, 202, 233, .45);
  box-sizing: border-box;
}

/* Feine Eck-Akzente */

.career-cta-panel::before,
.career-cta-panel::after {
  content: "";
  position: absolute;
  width: 40px;
  height: 40px;
  pointer-events: none;
}

.career-cta-panel::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid #8eb6e8;
  border-left: 2px solid #8eb6e8;
}

.career-cta-panel::after {
  right: -1px;
  bottom: -1px;
  border-right: 2px solid #8eb6e8;
  border-bottom: 2px solid #8eb6e8;
}

.career-cta-content {
  flex: 1;
  min-width: 0;
}

.career-cta-eyebrow {
  margin: 0 0 12px;
  color: #a9c2df;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .14em;
}

.career-cta-title {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -.025em;
}

.career-cta-text {
  max-width: 620px;
  margin: 0;
  color: #bbcadf;
  font-size: 14px;
  line-height: 1.6;
}

/* Karrierebutton */

.career-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-shrink: 0;

  min-width: 190px;
  min-height: 44px;
  padding: 12px 18px;

  background: #1671ff;
  border: 1px solid #1671ff;
  border-radius: 0;

  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;

  transition: background-color .2s ease;
}

.career-cta-button:hover {
  background: #0959d7;
}



.career-cta-button:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

/* Tablet und Smartphone */

@media (max-width: 760px) {

  .career-cta-section {
    padding: 28px 0;
  }

  .career-cta-panel {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    padding: 28px 24px;
  }

  .career-cta-title {
    font-size: clamp(25px, 6vw, 30px);
  }

  .career-cta-text {
    font-size: 13px;
  }

  .career-cta-button {
    min-width: 0;
    width: 100%;
    justify-content: center;
  }
}
