/* ============================
   DOI-INGENIEURE
   Professionelles Stylesheet
   ============================ */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primaer:        #0a2342;
    --primaer-hell:   #1a3a5c;
    --akzent:         #c8a84b;
    --akzent-hell:    #e0c06a;
    --akzent-dunkel:  #a8882b;
    --text:           #1a1a2a;
    --text-hell:      #5a6070;
    --hintergrund:    #f5f6f8;
    --weiss:          #ffffff;
    --grau:           #e2e6ec;
    --grau-dunkel:    #c8cdd6;

    --schatten:       0 4px 24px rgba(10,35,66,0.10);
    --schatten-gross: 0 8px 40px rgba(10,35,66,0.15);
    --radius:         10px;
    --radius-gross:   18px;
    --transition:     all 0.3s ease;
    --container:      1180px;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text);
    background: var(--hintergrund);
    line-height: 1.7;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 2rem;
}

a { color: inherit; }

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================
   HEADER
   ============================ */

header {
    background: var(--primaer);
    padding: 1rem 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 16px rgba(10,35,66,0.25);
}

.logo-bereich {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.logo-icon {
    background: var(--weiss);
    padding: 0.45rem 0.7rem;
    border-radius: 6px;
    font-weight: 900;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 2px;
    white-space: nowrap;
}

.logo-doi   { color: var(--primaer); }
.logo-strich { color: var(--akzent); margin: 0 2px; }
.logo-ing   { color: var(--akzent-dunkel); }

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-haupt {
    color: var(--weiss);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.2;
}

.logo-sub {
    color: rgba(255,255,255,0.6);
    font-size: 0.72rem;
    letter-spacing: 0.3px;
}

nav ul {
    display: flex;
    gap: 0.2rem;
    list-style: none;
}

nav a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    padding: 0.55rem 1rem;
    border-radius: 6px;
    font-size: 0.88rem;
    font-weight: 500;
    transition: var(--transition);
}

nav a:hover { color: white; background: rgba(255,255,255,0.1); }

nav a.aktiv {
    color: white;
    background: rgba(255,255,255,0.15);
    font-weight: 600;
}

nav a.nav-cta {
    background: var(--akzent);
    color: var(--primaer);
    font-weight: 700;
    padding: 0.55rem 1.2rem;
}

nav a.nav-cta:hover { background: var(--akzent-hell); }

.hamburger {
    display: none;
    color: white;
    font-size: 1.7rem;
    cursor: pointer;
}

/* ============================
   HERO – FIXED LAYOUT
   ============================ */

.hero {
    background: linear-gradient(
        135deg,
        var(--primaer) 0%,
        var(--primaer-hell) 60%,
        #1e4a7a 100%
    );
    min-height: 90vh;

    /* ✅ FIX: Grid damit Text links, Cards rechts */
    display: grid;
    grid-template-columns: 1fr 380px;
    align-items: center;
    gap: 4rem;
    padding: 5rem 6rem;

    position: relative;
    overflow: hidden;
}

/* Dekorative Kreise im Hintergrund */
.hero::before {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(200,168,75,0.05);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: -80px;
    right: 30%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
    pointer-events: none;
}

/* LINKE SEITE */
.hero-inhalt {
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(200,168,75,0.15);
    border: 1px solid rgba(200,168,75,0.4);
    color: var(--akzent-hell);
    padding: 0.45rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.hero h1 {
    font-size: clamp(2.4rem, 5vw, 4rem);
    color: var(--weiss);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 1.2rem;
}

.hero h1 span { color: var(--akzent); }

.hero-sub {
    color: rgba(255,255,255,0.75);
    font-size: 1.08rem;
    max-width: 540px;
    margin-bottom: 2.5rem;
    line-height: 1.75;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

/* Stats Zeile */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.stat { text-align: left; }

.stat-zahl {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--akzent);
    line-height: 1;
}

.stat-label {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.6);
    margin-top: 0.2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-trenn {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    flex-shrink: 0;
}

/* RECHTE SEITE – Cards */
.hero-visual {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 1;
}

.hero-card {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius);
    padding: 1.3rem 1.8rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: default;
}

.hero-card:hover {
    background: rgba(255,255,255,0.14);
    border-color: rgba(200,168,75,0.4);
    transform: translateX(-5px);
}

.hero-card span { font-size: 2rem; }

.hc-1 { animation: slideInRight 0.7s ease both; }
.hc-2 {
    animation: slideInRight 0.9s ease both;
    margin-left: 1.5rem; /* ✅ Versatz für visuellen Effekt */
}
.hc-3 { animation: slideInRight 1.1s ease both; }

/* ============================
   BUTTONS
   ============================ */

.btn-primaer {
    background: var(--akzent);
    color: var(--primaer);
    padding: 0.85rem 1.8rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
}

.btn-primaer:hover {
    background: var(--akzent-hell);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200,168,75,0.35);
}

/* ✅ FIX: "Projekt anfragen" Button – gut lesbar */
.btn-sekundaer {
    background: transparent;
    color: white;
    padding: 0.85rem 1.8rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;                /* ← Fett für bessere Lesbarkeit */
    font-size: 0.95rem;
    border: 2px solid rgba(255,255,255,0.7); /* ← Deutlicherer Rand */
    transition: var(--transition);
    display: inline-block;
    letter-spacing: 0.3px;
}

.btn-sekundaer:hover {
    border-color: white;
    background: rgba(255,255,255,0.15);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primaer);
    padding: 0.75rem 1.6rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border: 2px solid var(--primaer);
    transition: var(--transition);
    display: inline-block;
}

.btn-outline:hover {
    background: var(--primaer);
    color: white;
}

/* ✅ NEU: Weißer Button für dunkle CTA-Karte */
.btn-cta-weiss {
    background: white;
    color: var(--primaer);
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.92rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
}

.btn-cta-weiss:hover {
    background: var(--akzent);
    color: var(--primaer);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.btn-full {
    width: 100%;
    text-align: center;
    padding: 1rem;
}

/* ============================
   SECTION ALLGEMEIN
   ============================ */

.section-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--akzent-dunkel);
    margin-bottom: 0.6rem;
    display: block;
}

.text-center { text-align: center; }

.section-titel {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 800;
    color: var(--primaer);
    margin-bottom: 0.8rem;
    line-height: 1.2;
}

.section-desc {
    color: var(--text-hell);
    font-size: 1.05rem;
    margin-bottom: 3rem;
}

.inhalt-section {
    padding: 5rem 0;
    background: var(--weiss);
}

.inhalt-section:nth-of-type(even) {
    background: var(--hintergrund);
}

/* ============================
   ÜBER UNS
   ============================ */

.ueber-section {
    padding: 5.5rem 0;
    background: var(--weiss);
}

.ueber-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.ueber-text h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--primaer);
    line-height: 1.25;
    margin-bottom: 1.3rem;
}

.ueber-text p {
    color: var(--text-hell);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.vorteil-item {
    display: flex;
    gap: 1rem;
    align-items: start;
    padding: 1.2rem;
    border-radius: var(--radius);
    margin-bottom: 0.8rem;
    border: 1.5px solid var(--grau);
    transition: var(--transition);
    background: var(--weiss);
}

.vorteil-item:hover {
    border-color: var(--akzent);
    box-shadow: var(--schatten);
}

.vorteil-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.vorteil-item strong {
    display: block;
    color: var(--primaer);
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.vorteil-item p {
    color: var(--text-hell);
    font-size: 0.88rem;
    margin: 0;
}

/* ============================
   LEISTUNGEN
   ============================ */
.leistung-bildi{
    width:35%;
    height:220px;
    object-fit:cover;
    border-radius:12px;
    margin-bottom:1rem;
}
.leistung-bild{
    width:100%;
    height:220px;
    object-fit:cover;
    border-radius:12px;
    margin-bottom:1rem;
}
.leistungen-section {
    padding: 5.5rem 0;
    background: var(--hintergrund);
}

.leistungen-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
}

.leistung-karte {
    background: var(--weiss);
    border-radius: var(--radius);
    padding: 2rem;
    border: 1.5px solid var(--grau);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.leistung-karte::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--akzent);
    transform: scaleX(0);
    transition: var(--transition);
}

.leistung-karte:hover::after { transform: scaleX(1); }

.leistung-karte:hover {
    box-shadow: var(--schatten-gross);
    transform: translateY(-4px);
    border-color: transparent;
}

/* ✅ FIX: CTA Karte mit besserem Kontrast */
.leistung-karte-cta {
    background: linear-gradient(135deg, var(--primaer), var(--primaer-hell));
    border-color: transparent;
}

.leistung-karte-cta h3 {
    color: white !important;
}

.leistung-karte-cta p {
    color: rgba(255,255,255,0.85) !important;
}

.lk-icon {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.leistung-karte h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primaer);
    margin-bottom: 0.7rem;
}

.leistung-karte p {
    color: var(--text-hell);
    font-size: 0.92rem;
    margin-bottom: 1.2rem;
    line-height: 1.65;
}

.lk-link {
    color: var(--akzent-dunkel);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.88rem;
    transition: var(--transition);
}

.lk-link:hover { color: var(--primaer); }

/* ============================
   REFERENZEN VORSCHAU
   ============================ */
.ref-bild{
    width:50%;
    height:130px;
    object-fit:cover;
    display:block;
}
.referenzen-preview {
    padding: 5.5rem 0;
    background: var(--weiss);
}

.ref-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 1.4rem;
}

.ref-karte {
    background: var(--weiss);
    border: 1.5px solid var(--grau);
    border-radius: var(--radius);
    padding: 1.8rem;
    transition: var(--transition);
    position: relative;
}

.ref-karte:hover {
    box-shadow: var(--schatten);
    border-color: var(--akzent);
    transform: translateY(-3px);
}

.featured-ref {
    background: linear-gradient(145deg, #0a2342, #1a3a5c);
    border-color: transparent;
    color: white;
}

.ref-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--akzent);
    color: var(--primaer);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.25rem 0.7rem;
    border-radius: 50px;
}

.ref-icon { font-size: 2rem; margin-bottom: 0.8rem; }

.ref-jahr {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--akzent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.ref-karte h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--primaer);
}

.featured-ref h3 { color: white; }

.ref-karte p {
    font-size: 0.88rem;
    color: var(--text-hell);
    margin-bottom: 0.7rem;
}

.featured-ref p { color: rgba(255,255,255,0.75); }

.ref-ag {
    font-size: 0.8rem;
    color: var(--akzent);
    margin-bottom: 0.8rem;
}

.ref-link-karte {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.ref-link-karte:hover {
    box-shadow: var(--schatten-gross);
    border-color: var(--akzent);
    transform: translateY(-5px);
}

.ref-link-karte.featured-ref:hover {
    box-shadow: 0 12px 40px rgba(10,35,66,0.35);
    transform: translateY(-5px);
}

.ref-details-btn {
    display: inline-block;
    margin-top: 0.8rem;
    color: var(--akzent-hell);
    font-weight: 700;
    font-size: 0.88rem;
    transition: var(--transition);
}

/* ============================
   QUALIFIKATIONEN
   ============================ */

.qualifikationen-section {
    padding: 5rem 0;
    background: var(--hintergrund);
}

.quali-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.quali-text h2 {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--primaer);
    margin-bottom: 1rem;
}

.quali-text p {
    color: var(--text-hell);
    margin-bottom: 2rem;
}

.quali-badges {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.quali-badge {
    background: var(--weiss);
    border: 1.5px solid var(--grau);
    border-left: 4px solid var(--akzent);
    border-radius: 6px;
    padding: 0.9rem 1.2rem;
}

.quali-badge strong {
    display: block;
    color: var(--primaer);
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

.quali-badge span {
    font-size: 0.82rem;
    color: var(--text-hell);
}

.quali-tools h3 {
    font-size: 1.1rem;
    color: var(--primaer);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.tools-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}

.tool-item {
    background: var(--weiss);
    border: 1.5px solid var(--grau);
    border-radius: 6px;
    padding: 0.9rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primaer);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: var(--transition);
}

.tool-item:hover {
    border-color: var(--akzent);
    background: #fffbf0;
}

/* ============================
   KONTAKT BANNER
   ============================ */

.kontakt-banner {
    background: linear-gradient(135deg, var(--primaer), var(--primaer-hell));
    padding: 4rem 0;
    color: white;
}

.banner-inhalt {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.banner-inhalt h2 {
    font-size: 1.9rem;
    font-weight: 800;
    margin-bottom: 0.6rem;
}

.banner-inhalt p {
    opacity: 0.8;
    font-size: 1rem;
}

.banner-kontakt-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.kontakt-info-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: white;
    transition: var(--transition);
}

.kontakt-info-item:hover { opacity: 0.85; }
.kontakt-info-item > span { font-size: 1.5rem; }

.kontakt-info-item small {
    display: block;
    font-size: 0.72rem;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.kontakt-info-item strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
}

/* ============================
   PAGE HERO (Unterseiten)
   ============================ */

.page-hero {
    background: linear-gradient(135deg, var(--primaer), var(--primaer-hell));
    padding: 5rem 0 4rem;
    color: white;
}

.page-hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 900;
    margin-bottom: 0.7rem;
}

.page-hero p {
    font-size: 1.1rem;
    opacity: 0.8;
}

.breadcrumb {
    margin-bottom: 1.5rem;
    font-size: 0.82rem;
    opacity: 0.65;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
}

.breadcrumb a:hover { opacity: 0.9; }

/* ============================
   LEISTUNGEN DETAIL
   ============================ */

.leistung-detail-block {
    background: var(--weiss);
    border: 1.5px solid var(--grau);
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: var(--transition);
}

.leistung-detail-block:hover {
    box-shadow: var(--schatten-gross);
    border-color: var(--akzent);
}

.ldb-header {
    background: linear-gradient(135deg, var(--primaer), var(--primaer-hell));
    padding: 1.8rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: white;
}

.ldb-icon {
    font-size: 2.5rem;
    width: 70px;
    height: 70px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ldb-header .section-label { color: var(--akzent-hell); }

.ldb-header h2 {
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    margin-top: 0.2rem;
}

.ldb-body { padding: 2rem; }

.ldb-body p {
    color: var(--text-hell);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.ldb-punkte {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.7rem;
}

.ldb-punkt {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: var(--text);
    padding: 0.5rem;
    background: var(--hintergrund);
    border-radius: 6px;
}

.ldb-punkt span {
    color: var(--akzent-dunkel);
    font-weight: 700;
    flex-shrink: 0;
}

/* METHODEN */
.methoden-section {
    padding: 5rem 0;
    background: var(--hintergrund);
}

.methoden-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.4rem;
    margin-top: 1rem;
}

.methode-karte {
    background: var(--weiss);
    border-radius: var(--radius);
    padding: 2rem;
    border: 1.5px solid var(--grau);
    transition: var(--transition);
}

.methode-karte:hover {
    border-color: var(--akzent);
    box-shadow: var(--schatten);
}

.mk-schritt {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--akzent);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.methode-karte h3 {
    color: var(--primaer);
    font-size: 1.05rem;
    margin-bottom: 0.7rem;
    font-weight: 700;
}

.methode-karte p {
    color: var(--text-hell);
    font-size: 0.9rem;
}

/* ============================
   REFERENZEN LISTE
   ============================ */

.ref-intro {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    color: var(--text-hell);
    font-size: 1.02rem;
    line-height: 1.75;
    padding-bottom: 1rem;
}

.referenzen-liste-section {
    padding: 3rem 0 5rem;
    background: var(--weiss);
}

.ref-liste-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.ref-liste-karte {
    background: var(--weiss);
    border: 1.5px solid var(--grau);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.ref-liste-karte:hover {
    box-shadow: var(--schatten-gross);
    border-color: var(--akzent);
    transform: translateY(-3px);
}

.featured-ref-karte {
    border-color: var(--akzent);
    background: linear-gradient(145deg, var(--primaer), var(--primaer-hell));
    color: white;
    grid-column: span 2;
}

.rlk-tag {
    background: var(--akzent);
    color: var(--primaer);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.4rem 1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: inline-block;
}

.rlk-icon {
    font-size: 3rem;
    padding: 1.5rem 1.5rem 0;
}

.rlk-body { padding: 1rem 1.5rem 1.8rem; }

.rlk-body h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primaer);
    margin-bottom: 0.7rem;
}

.featured-ref-karte .rlk-body h3 { color: white; }

.rlk-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.8rem;
    color: var(--text-hell);
    margin-bottom: 0.8rem;
    flex-wrap: wrap;
}

.featured-ref-karte .rlk-meta { color: rgba(255,255,255,0.65); }

.rlk-body p {
    color: var(--text-hell);
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    line-height: 1.65;
}

.featured-ref-karte .rlk-body p { color: rgba(255,255,255,0.8); }

.rlk-ag {
    font-size: 0.82rem;
    color: var(--akzent-dunkel);
    margin-bottom: 1rem;
}

.featured-ref-karte .rlk-ag { color: var(--akzent-hell); }

.rlk-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.tag {
    background: var(--hintergrund);
    border: 1px solid var(--grau);
    color: var(--text-hell);
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
    border-radius: 50px;
    font-weight: 500;
}

.featured-ref-karte .tag {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.8);
}

.weitere-ref-box {
    background: var(--hintergrund);
    border: 1.5px dashed var(--grau-dunkel);
    border-radius: var(--radius);
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.wrb-icon { font-size: 2.5rem; flex-shrink: 0; }

.weitere-ref-box h3 { color: var(--primaer); margin-bottom: 0.3rem; }
.weitere-ref-box p { color: var(--text-hell); font-size: 0.9rem; }
.weitere-ref-box .btn-primaer { margin-left: auto; flex-shrink: 0; }

/* ============================
   KARRIERE
   ============================ */

.stellen-box {
    text-align: center;
    background: var(--hintergrund);
    border: 2px dashed var(--grau-dunkel);
    border-radius: var(--radius-gross);
    padding: 3.5rem;
    margin-bottom: 4rem;
}

.stellen-icon { font-size: 3rem; margin-bottom: 1rem; }

.stellen-box h2 {
    color: var(--primaer);
    font-size: 1.6rem;
    margin-bottom: 0.7rem;
}

.stellen-box p { color: var(--text-hell); font-size: 1rem; }

.fachbereiche-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.4rem;
    margin-top: 1rem;
}

.fachbereich-karte {
    background: var(--weiss);
    border: 1.5px solid var(--grau);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.fachbereich-karte:hover {
    border-color: var(--akzent);
    box-shadow: var(--schatten);
}

.fbk-icon { font-size: 2.5rem; margin-bottom: 0.8rem; }

.fachbereich-karte h3 {
    color: var(--primaer);
    font-size: 1.05rem;
    margin-bottom: 0.3rem;
}

.fachbereich-karte p { color: var(--text-hell); font-size: 0.88rem; }

.wir-bieten-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primaer), var(--primaer-hell));
}

.wb-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.wb-spalte h2 {
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid rgba(255,255,255,0.15);
}

.wb-liste { display: flex; flex-direction: column; gap: 1rem; }

.wb-item {
    display: flex;
    align-items: start;
    gap: 1rem;
    background: rgba(255,255,255,0.07);
    border-radius: var(--radius);
    padding: 1.2rem;
}

.wb-check {
    color: var(--akzent);
    font-size: 1.2rem;
    font-weight: 900;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.wb-item strong {
    display: block;
    color: white;
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
}

.wb-item p { color: rgba(255,255,255,0.7); font-size: 0.88rem; }

.bewerbung-section { padding: 5rem 0; background: var(--hintergrund); }

.bewerbung-box {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    background: var(--weiss);
    border-radius: var(--radius-gross);
    padding: 3.5rem;
    box-shadow: var(--schatten-gross);
    border-top: 5px solid var(--akzent);
}

.bewerbung-box h2 {
    color: var(--primaer);
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
}

.bewerbung-box > p { color: var(--text-hell); margin-bottom: 1rem; }

.bewerbung-email {
    display: inline-block;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--akzent-dunkel);
    text-decoration: none;
    margin-bottom: 1.5rem;
}

.bewerbung-hinweis {
    font-size: 0.9rem;
    color: var(--text-hell);
    margin-bottom: 0.8rem;
}

.bewerbung-liste {
    list-style: none;
    display: inline-block;
    text-align: left;
}

.bewerbung-liste li {
    padding: 0.4rem 0;
    color: var(--text);
    font-size: 0.92rem;
}

/* ============================
   KONTAKT FORMULAR
   ============================ */

.kontakt-doi-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.kontakt-formular h2,
.kontakt-infos h2 {
    font-size: 1.6rem;
    color: var(--primaer);
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.form-gruppe { margin-bottom: 1.2rem; }

.form-gruppe label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primaer);
    margin-bottom: 0.4rem;
}

.form-gruppe input,
.form-gruppe select,
.form-gruppe textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1.5px solid var(--grau);
    border-radius: 6px;
    font-size: 0.93rem;
    font-family: inherit;
    color: var(--text);
    transition: var(--transition);
    background: var(--weiss);
    outline: none;
}

.form-gruppe input:focus,
.form-gruppe select:focus,
.form-gruppe textarea:focus {
    border-color: var(--akzent);
    box-shadow: 0 0 0 3px rgba(200,168,75,0.12);
}

.form-reihe {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.checkbox-gruppe label {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.88rem;
    font-weight: 400;
    color: var(--text-hell);
    cursor: pointer;
}

.checkbox-gruppe input[type="checkbox"] { width: auto; flex-shrink: 0; }
.checkbox-gruppe a { color: var(--akzent-dunkel); }

.fehler-meldung {
    background: #fff0f0;
    border: 2px solid #e53935;
    color: #c62828;
    padding: 0.9rem 1.2rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.erfolg-meldung {
    background: #f0faf0;
    border: 2px solid #43a047;
    color: #2e7d32;
    padding: 1.2rem 1.5rem;
    border-radius: 8px;
    margin-top: 1.2rem;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.6;
}

.erfolg-meldung small {
    display: block;
    margin-top: 0.5rem;
    font-weight: 400;
    font-size: 0.85rem;
    color: #388e3c;
}

.erfolg-meldung a { color: var(--akzent-dunkel); }

.direkt-mail-box {
    margin-top: 2rem;
    padding: 1.2rem;
    background: var(--hintergrund);
    border-radius: var(--radius);
    border: 1.5px solid var(--grau);
    text-align: center;
}

.direkt-mail-box p {
    color: var(--text-hell);
    font-size: 0.88rem;
    margin-bottom: 0.6rem;
}

.direkt-mail-link {
    display: inline-block;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--akzent-dunkel);
    text-decoration: none;
    transition: var(--transition);
}

.direkt-mail-link:hover { color: var(--primaer); }

/* Kontakt Info Karten */
.doi-kontakt-karte {
    display: flex;
    gap: 1rem;
    align-items: start;
    padding: 1.3rem;
    background: var(--hintergrund);
    border-radius: var(--radius);
    margin-bottom: 0.8rem;
    border-left: 3px solid var(--akzent);
}

.dkk-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 0.1rem; }

.doi-kontakt-karte strong {
    display: block;
    color: var(--primaer);
    font-size: 0.88rem;
    margin-bottom: 0.3rem;
}

.doi-kontakt-karte p {
    color: var(--text-hell);
    font-size: 0.9rem;
    line-height: 1.6;
}

.doi-kontakt-karte p a {
    color: var(--akzent-dunkel);
    text-decoration: none;
    font-weight: 600;
}

.doi-kontakt-karte small { color: var(--text-hell); font-size: 0.8rem; }

.gf-section { margin-top: 1.5rem; }

.gf-section h3 {
    color: var(--primaer);
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.gf-karte {
    display: flex;
    gap: 1rem;
    align-items: start;
    padding: 1rem;
    background: var(--hintergrund);
    border-radius: 8px;
    margin-bottom: 0.7rem;
}

.gf-avatar {
    width: 44px;
    height: 44px;
    background: var(--primaer);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.gf-karte strong {
    display: block;
    color: var(--primaer);
    font-size: 0.92rem;
    margin-bottom: 0.3rem;
}

.gf-karte p { color: var(--text-hell); font-size: 0.82rem; line-height: 1.6; }

.anfahrt-box {
    background: var(--hintergrund);
    border-radius: var(--radius);
    padding: 1.3rem;
    margin-top: 1.2rem;
}

.anfahrt-box h3 { color: var(--primaer); font-size: 1rem; margin-bottom: 0.8rem; }
.anfahrt-box p { color: var(--text-hell); font-size: 0.88rem; line-height: 1.6; }

/* ============================
   IMPRESSUM & DATENSCHUTZ
   ============================ */

.impressum-inhalt {
    max-width: 800px;
    margin: 0 auto;
}

.impressum-block {
    background: var(--weiss);
    border-radius: var(--radius);
    padding: 2rem;
    margin-bottom: 1.2rem;
    border-left: 4px solid var(--akzent);
    box-shadow: var(--schatten);
}

.impressum-block h2 {
    font-size: 1.2rem;
    color: var(--primaer);
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--grau);
}

.impressum-block p {
    color: var(--text-hell);
    font-size: 0.92rem;
    line-height: 1.75;
    margin-bottom: 0.5rem;
}

.impressum-block a { color: var(--akzent-dunkel); text-decoration: none; }

.impressum-gf-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.impressum-gf h3 { color: var(--primaer); font-size: 1rem; margin-bottom: 0.7rem; }

.impressum-gf ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.impressum-gf ul li {
    font-size: 0.88rem;
    color: var(--text-hell);
    padding-left: 1rem;
    position: relative;
}

.impressum-gf ul li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--akzent);
}

/* ============================
   PROJEKT DETAIL SEITEN
   ============================ */

.projekt-hero-badge {
    display: inline-block;
    background: rgba(200,168,75,0.15);
    border: 1px solid rgba(200,168,75,0.4);
    color: var(--akzent-hell);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.projekt-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 3rem;
    align-items: start;
}

.projekt-main { min-width: 0; }

.projekt-bild-placeholder {
    background: linear-gradient(135deg, var(--primaer), var(--primaer-hell));
    border-radius: var(--radius-gross);
    padding: 4rem 2rem;
    text-align: center;
    color: white;
    margin-bottom: 3rem;
}

.projekt-bild-placeholder span {
    font-size: 5rem;
    display: block;
    margin-bottom: 1rem;
}

.projekt-bild-placeholder p {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.projekt-bild-placeholder small { opacity: 0.65; font-size: 0.85rem; }

.projekt-bild-container {
    margin-bottom: 3rem;
    border-radius: var(--radius-gross);
    overflow: hidden;
    box-shadow: var(--schatten-gross);
}

.projekt-bild {
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}

.projekt-bild:hover { transform: scale(1.02); }

.bild-unterschrift {
    background: var(--primaer);
    color: rgba(255,255,255,0.75);
    font-size: 0.82rem;
    padding: 0.7rem 1.2rem;
    text-align: center;
}

.bild-galerie {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.bild-galerie img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--schatten);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bild-galerie img:hover {
    transform: translateY(-4px);
    box-shadow: var(--schatten-gross);
}

.bild-galerie img:first-child {
    grid-column: span 2;
    height: 320px;
}

.projekt-abschnitt {
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--grau);
}

.projekt-abschnitt:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.projekt-abschnitt h2 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primaer);
    margin-bottom: 1rem;
}

.projekt-abschnitt p {
    color: var(--text-hell);
    font-size: 0.97rem;
    line-height: 1.75;
    margin-bottom: 0.8rem;
}

.projekt-liste {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 0.5rem;
}

.projekt-liste li {
    color: var(--text-hell);
    font-size: 0.95rem;
    padding: 0.5rem 0.8rem 0.5rem 1rem;
    background: var(--hintergrund);
    border-radius: 6px;
    border-left: 3px solid var(--akzent);
}

.herausforderungen-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    margin-top: 0.5rem;
}

.hf-item {
    background: var(--hintergrund);
    border-radius: var(--radius);
    padding: 1.3rem;
    display: flex;
    gap: 1rem;
    align-items: start;
    border: 1.5px solid var(--grau);
    transition: var(--transition);
}

.hf-item:hover {
    border-color: var(--akzent);
    box-shadow: var(--schatten);
}

.hf-icon { font-size: 1.8rem; flex-shrink: 0; margin-top: 0.1rem; }

.hf-item strong {
    display: block;
    color: var(--primaer);
    font-size: 0.92rem;
    margin-bottom: 0.4rem;
}

.hf-item p {
    color: var(--text-hell);
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 0;
}

/* SIDEBAR */
.projekt-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    position: sticky;
    top: 90px;
}

.sidebar-karte {
    background: var(--weiss);
    border: 1.5px solid var(--grau);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--schatten);
}

.sidebar-karte h3 {
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--akzent-dunkel);
    margin-bottom: 1.2rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--grau);
}

.sidebar-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--grau);
}

.sidebar-item:last-child { border-bottom: none; }

.si-label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-hell);
}

.si-wert {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primaer);
}

.sidebar-tags .tag-sammlung {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.sidebar-nav .sidebar-proj-link {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.7rem 0.5rem;
    border-bottom: 1px solid var(--grau);
    text-decoration: none;
    color: var(--text);
    font-size: 0.88rem;
    font-weight: 500;
    transition: var(--transition);
}

.sidebar-nav .sidebar-proj-link:last-of-type { border-bottom: none; }

.sidebar-nav .sidebar-proj-link:hover {
    color: var(--akzent-dunkel);
    padding-left: 1rem;
}

.sidebar-nav .sidebar-proj-link span { font-size: 1.2rem; flex-shrink: 0; }

/* ============================
   FOOTER
   ============================ */

footer {
    background: var(--primaer);
    color: white;
    padding: 4rem 2.5rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 3rem;
    max-width: var(--container);
    margin: 0 auto;
    padding-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
    font-size: 1rem;
    color: white;
}

.footer-spalte h4 {
    color: var(--akzent);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.2rem;
    font-weight: 700;
}

.footer-spalte p {
    color: rgba(255,255,255,0.65);
    font-size: 0.88rem;
    line-height: 1.8;
    margin-bottom: 0.4rem;
}

.footer-spalte p a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    transition: var(--transition);
}

.footer-spalte p a:hover { color: var(--akzent); }

.footer-spalte ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-spalte ul a {
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    font-size: 0.88rem;
    transition: var(--transition);
}

.footer-spalte ul a:hover { color: var(--akzent); }

.footer-unten {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 1.5rem 0;
    text-align: center;
    max-width: var(--container);
    margin: 0 auto;
}

.footer-unten p { color: rgba(255,255,255,0.45); font-size: 0.82rem; }
.footer-unten a { color: rgba(255,255,255,0.6); text-decoration: none; }
.footer-unten a:hover { color: var(--akzent); }

/* ============================
   ANIMATIONEN
   ============================ */

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(30px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============================
   RESPONSIVE
   ============================ */

@media (max-width: 1100px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 4rem 3rem;
        min-height: auto;
    }

    /* Cards auf Mobilgeräten horizontal */
    .hero-visual {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.8rem;
    }

    .hero-card { flex: 1; min-width: 160px; }
    .hc-2 { margin-left: 0; }

    .ref-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .leistungen-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
    .ueber-grid,
    .quali-grid,
    .wb-grid,
    .kontakt-doi-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .ref-grid { grid-template-columns: 1fr; }
    .ref-liste-grid { grid-template-columns: 1fr; }
    .featured-ref-karte { grid-column: span 1; }
    .impressum-gf-grid { grid-template-columns: 1fr; }
    .banner-inhalt { flex-direction: column; align-items: flex-start; }
    .banner-kontakt-info { flex-wrap: wrap; }
    .form-reihe { grid-template-columns: 1fr; }
    .projekt-layout { grid-template-columns: 1fr; }
    .projekt-sidebar { position: static; }
    .herausforderungen-grid { grid-template-columns: 1fr; }
    .leistungen-grid { grid-template-columns: 1fr; }
    .weitere-ref-box { flex-direction: column; text-align: center; }
    .weitere-ref-box .btn-primaer { margin-left: 0; }
}

@media (max-width: 768px) {
    nav { display: none; }

    nav.mobile-offen {
        display: block;
        position: fixed;
        top: 68px;
        left: 0;
        right: 0;
        background: var(--primaer);
        padding: 1rem;
        z-index: 999;
        box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    }

    nav.mobile-offen ul { flex-direction: column; gap: 0.4rem; }
    nav.mobile-offen a { display: block; padding: 0.85rem 1.2rem; }

    .hamburger { display: block; }
    header { padding: 1rem 1.5rem; }
    .logo-haupt { font-size: 0.88rem; }
    .logo-sub { display: none; }

    .hero { padding: 3rem 1.5rem; }
    .hero-visual { display: none; } /* Cards auf kleinen Bildschirmen ausblenden */
    .hero-stats { flex-wrap: wrap; gap: 1rem; }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
    .bewerbung-box { padding: 2rem 1.5rem; }
    .leistungen-grid { grid-template-columns: 1fr; }
    .tools-grid { grid-template-columns: 1fr; }
}
/* ============================
   JAHRES-GRUPPIERUNG
   ============================ */

.jahr-gruppe {
    margin-bottom: 4rem;
}

.jahr-trenner {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.8rem;
}

.jahr-zahl {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primaer);
    white-space: nowrap;
    line-height: 1;
}

/* Goldene Akzentlinie */
.jahr-linie {
    flex: 1;
    height: 2px;
    background: linear-gradient(
        to right,
        var(--akzent),
        transparent
    );
    border-radius: 2px;
}

.jahr-anzahl {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-hell);
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    background: var(--hintergrund);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    border: 1px solid var(--grau);
}
.referenz-bild{
    width:100%;
    height:260px;
    object-fit:cover;
    display:block;
}

.galerie-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:20px;
}

.galerie-grid img{
    width:100%;
    height:250px;
    object-fit:cover;
    border-radius:16px;
    transition:.3s;
}

.galerie-grid img:hover{
    transform:translateY(-6px);
}