/* ===== BORAMTEC Bestand – Neue Website ===== */

:root {
    --yellow: #F8DB09;
    --black: #111111;
    --gray: #666666;
    --light: #f7f7f7;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--black);
    line-height: 1.6;
    background: var(--white);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.header {
    background: var(--white);
    border-bottom: 1px solid #e5e5e5;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo img {
    height: 42px;
}

.nav {
    display: flex;
    gap: 32px;
}

.nav a {
    text-decoration: none;
    color: var(--gray);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.2s;
}

.nav a:hover,
.nav a.active {
    color: var(--black);
}

.header-contact a {
    font-weight: 700;
    color: var(--black);
    text-decoration: none;
}

/* Hero */
.hero {
    background: var(--black);
    color: var(--white);
    padding: 100px 0 90px;
    text-align: center;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.hero h1 span {
    color: var(--yellow);
}

.hero p {
    font-size: 1.2rem;
    max-width: 640px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Machines Grid */
.machines {
    padding: 80px 0 100px;
    background: var(--light);
}

.machines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 32px;
}

.machine-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform 0.25s, box-shadow 0.25s;
    display: flex;
    flex-direction: column;
}

.machine-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.machine-image {
    height: 240px;
    overflow: hidden;
}

.machine-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.machine-card:hover .machine-image img {
    transform: scale(1.05);
}

.machine-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.machine-content h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.machine-specs {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex: 1;
}

.machine-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.price {
    font-weight: 700;
    font-size: 1.05rem;
}

.btn {
    display: inline-block;
    background: var(--black);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.2s;
}

.btn:hover {
    background: var(--yellow);
    color: var(--black);
}

/* CTA */
.cta {
    background: var(--yellow);
    padding: 80px 0;
    text-align: center;
}

.cta h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.cta p {
    font-size: 1.15rem;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--black);
    color: var(--white);
}

.btn-primary:hover {
    background: #333;
    color: var(--white);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--black);
    color: var(--black);
}

.btn-outline:hover {
    background: var(--black);
    color: var(--white);
}

/* Footer */
.footer {
    background: var(--black);
    color: #ccc;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    margin-bottom: 40px;
    font-size: 0.95rem;
}

.footer a {
    color: #ccc;
    text-decoration: none;
}

.footer a:hover {
    color: var(--yellow);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
    font-size: 0.9rem;
}

.footer-bottom span {
    margin: 0 12px;
    color: var(--yellow);
}

/* Responsive */
@media (max-width: 768px) {
    .header-inner {
        flex-wrap: wrap;
        height: auto;
        padding: 16px 0;
        gap: 16px;
    }
    
    .nav {
        gap: 20px;
        order: 3;
        width: 100%;
        justify-content: center;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .machines-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== CARD KLICKBAR ========== */
.card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* ========== DETAILSEITE ========== */
.detail-page {
    background: #f5f5f5;
    min-height: 100vh;
    padding-bottom: 60px;
}

.detail-header {
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    padding: 18px 0;
}

.detail-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.detail-title {
    font-size: 1.8rem;
    font-weight: 800;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 12px;
}

.detail-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 4px;
    background: #F8DB09;
}

.search-box {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.search-box input {
    border: none;
    padding: 10px 14px;
    font-size: 0.95rem;
    width: 220px;
    outline: none;
}

.search-box button {
    background: #eee;
    border: none;
    padding: 0 14px;
    cursor: pointer;
}

.detail-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    margin-top: 20px;
}

.detail-image {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.detail-image img {
    width: 100%;
    display: block;
}

.detail-sidebar {
    background: #fff;
    border-radius: 8px;
    padding: 28px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.detail-sidebar h3 {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.detail-price {
    font-size: 1.8rem;
    font-weight: 800;
    margin: 20px 0;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.contact-box {
    margin-top: 24px;
}

.contact-box h4 {
    color: #F8DB09;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.contact-box p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 16px;
}

.contact-line {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.contact-line a {
    color: #111;
    text-decoration: none;
    font-weight: 600;
}

.contact-address {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
    margin: 18px 0;
}

.btn-contact {
    display: block;
    width: 100%;
    text-align: center;
    background: transparent;
    border: 2px solid #F8DB09;
    color: #111;
    padding: 12px;
    border-radius: 5px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-contact:hover {
    background: #F8DB09;
}

.detail-description {
    background: #fff;
    border-radius: 8px;
    padding: 28px;
    margin-top: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.detail-description h3 {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.detail-actions {
    display: flex;
    gap: 16px;
    margin-top: 30px;
}

.btn-back {
    background: #f0f0f0;
    color: #333;
    padding: 12px 28px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn-anfrage {
    background: #f0f0f0;
    color: #333;
    padding: 12px 28px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn-anfrage:hover,
.btn-back:hover {
    background: #e0e0e0;
}

@media (max-width: 900px) {
    .detail-layout {
        grid-template-columns: 1fr;
    }
    
    .detail-sidebar {
        position: static;
        padding: 18px 16px;
        margin-top: 16px;
    }

    .detail-sidebar h3 {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }

    .detail-price {
        font-size: 1.4rem;
        margin: 12px 0 14px;
        padding-bottom: 14px;
    }

    .contact-box {
        margin-top: 16px;
    }

    .contact-box h4 {
        font-size: 0.85rem;
        margin-bottom: 2px;
    }

    .contact-box p {
        font-size: 0.85rem;
        margin-bottom: 10px;
    }

    .contact-line {
        font-size: 0.9rem;
        margin-bottom: 6px;
    }

    .contact-address {
        font-size: 0.85rem;
        margin: 12px 0;
    }

    .btn-contact {
        padding: 10px;
        font-size: 0.9rem;
    }
}
/* ===== BORAMTEC Bestand – Neue Website ===== */

:root {
    --yellow: #F8DB09;
    --black: #111111;
    --gray: #555555;
    --light: #f5f5f5;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--black);
    line-height: 1.6;
    background: var(--white);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== TOP HEADER ========== */
.top-header {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    gap: 20px;
    flex-wrap: wrap;
}

.logo img {
    height: 48px;
    display: block;
}

.header-icons img {
    height: 42px;
    display: block;
}

.main-nav {
    display: flex;
    gap: 28px;
    font-family: 'Open Sans Condensed', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1.05rem;
}

.main-nav a {
    color: #444;
    text-decoration: none;
    transition: color 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--black);
}

.language {
    display: flex;
    align-items: center;
    gap: 8px;
}

.language img {
    height: 20px;
    opacity: 0.85;
    transition: opacity 0.2s;
}

.language a:hover img {
    opacity: 1;
}

/* Kontaktleiste */
.header-contact-bar {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-top: 1px solid #eee;
    font-size: 0.88rem;
    flex-wrap: wrap;
    gap: 16px;
}

.contact-item {
    line-height: 1.45;
}

.contact-item a {
    color: var(--black);
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--yellow);
}

/* ========== HERO ========== */
.hero {
    background: var(--black);
    color: var(--white);
    padding: 90px 0 80px;
    text-align: center;
}

.hero h1 {
    font-size: 3.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    margin-bottom: 18px;
    line-height: 1.15;
}

.hero h1 span {
    color: var(--yellow);
}

.hero p {
    font-size: 1.2rem;
    max-width: 620px;
    margin: 0 auto;
    opacity: 0.9;
}

/* ========== MASCHINEN GRID ========== */
.machines {
    padding: 70px 0 90px;
    background: var(--light);
}

.machines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
}

.machine-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0,0,0,0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}

.machine-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 32px rgba(0,0,0,0.12);
}

.card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.machine-image {
    height: 230px;
    overflow: hidden;
    background: #eee;
}

.machine-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.machine-card:hover .machine-image img {
    transform: scale(1.06);
}

.machine-content {
    padding: 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.machine-content h2 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
}

.machine-specs {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 18px;
    flex: 1;
}

.machine-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.price {
    font-weight: 700;
    font-size: 1.05rem;
}

.btn {
    display: inline-block;
    background: var(--black);
    color: var(--white);
    padding: 10px 18px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    transition: background 0.2s, color 0.2s;
}

.btn:hover {
    background: var(--yellow);
    color: var(--black);
}

/* ========== CTA ========== */
.cta {
    background: var(--yellow);
    padding: 70px 0;
    text-align: center;
}

.cta h2 {
    font-size: 2.1rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.cta p {
    font-size: 1.15rem;
    margin-bottom: 28px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--black);
    color: var(--white);
}

.btn-primary:hover {
    background: #222;
    color: var(--white);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--black);
    color: var(--black);
}

.btn-outline:hover {
    background: var(--black);
    color: var(--white);
}

/* ========== FOOTER ========== */
.footer {
    background: var(--black);
    color: #bbb;
    padding: 55px 0 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 35px;
    font-size: 0.95rem;
}

.footer a {
    color: #bbb;
    text-decoration: none;
}

.footer a:hover {
    color: var(--yellow);
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid #333;
    font-size: 0.9rem;
}

.footer-bottom span {
    margin: 0 12px;
    color: var(--yellow);
}

/* ========== DETAILSEITE ========== */
.detail-page {
    background: #f5f5f5;
    min-height: 100vh;
    padding-bottom: 60px;
}

.detail-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 16px;
}

.detail-title {
    font-size: 1.8rem;
    font-weight: 800;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 12px;
}

.detail-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 4px;
    background: #F8DB09;
}

.search-box {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.search-box input {
    border: none;
    padding: 10px 14px;
    font-size: 0.95rem;
    width: 220px;
    outline: none;
}

.search-box button {
    background: #eee;
    border: none;
    padding: 0 14px;
    cursor: pointer;
}

.detail-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    margin-top: 20px;
}

.detail-image {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.detail-image img {
    width: 100%;
    display: block;
}

.detail-sidebar {
    background: #fff;
    border-radius: 8px;
    padding: 28px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.detail-sidebar h3 {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.detail-price {
    font-size: 1.8rem;
    font-weight: 800;
    margin: 20px 0;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.contact-box {
    margin-top: 24px;
}

.contact-box h4 {
    color: #F8DB09;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.contact-box p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 16px;
}

.contact-line {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.contact-line a {
    color: #111;
    text-decoration: none;
    font-weight: 600;
}

.contact-address {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
    margin: 18px 0;
}

.btn-contact {
    display: block;
    width: 100%;
    text-align: center;
    background: transparent;
    border: 2px solid #F8DB09;
    color: #111;
    padding: 12px;
    border-radius: 5px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-contact:hover {
    background: #F8DB09;
}

.detail-description {
    background: #fff;
    border-radius: 8px;
    padding: 28px;
    margin-top: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.detail-description h3 {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.detail-actions {
    display: flex;
    gap: 16px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.btn-back,
.btn-anfrage {
    background: #f0f0f0;
    color: #333;
    padding: 12px 28px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.btn-back:hover,
.btn-anfrage:hover {
    background: #e0e0e0;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
    .header-icons {
        display: none;
    }
    
    .main-nav {
        gap: 18px;
        font-size: 0.95rem;
    }
}

@media (max-width: 900px) {
    .detail-layout {
        grid-template-columns: 1fr;
    }
    
    .detail-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .header-main {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px 0;
    }
    
    .main-nav {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 16px;
    }
    
    .language {
        margin-left: auto;
    }
    
    .header-contact-bar {
        flex-direction: column;
        gap: 12px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .machines-grid {
        grid-template-columns: 1fr;
    }
}
.lang-link {
    opacity: 0.7;
    transition: opacity 0.2s;
}

.lang-link:hover,
.lang-link.active {
    opacity: 1;
}
/* Hamburger Button */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 8px;
    line-height: 1;
}

/* Mobile Header Anpassungen */
@media (max-width: 768px) {
    .header-contact-bar {
        display: none !important;   /* gesamten Kontaktblock ausblenden */
    }

    .main-nav {
        display: none;              /* normale Navigation ausblenden */
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        gap: 18px;
        box-shadow: 0 8px 20px rgba(0,0,0,0.1);
        z-index: 999;
    }

    .main-nav.open {
        display: flex;              /* wenn geöffnet */
    }

    .menu-toggle {
        display: block;             /* Hamburger sichtbar machen */
    }

    .header-main {
        position: relative;
    }
}
@media (max-width: 768px) {
    .header-main {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;          /* wichtig: nicht umbrechen */
        padding: 12px 0;
        gap: 12px;
    }

    .logo img {
        height: 40px;
    }

    .menu-toggle {
        display: block;
        font-size: 1.7rem;
        background: none;
        border: none;
        cursor: pointer;
        padding: 6px 10px;
        margin: 0;
        order: 2;                   /* Reihenfolge steuern */
    }

    .language {
        display: flex;
        align-items: center;
        margin-left: auto;
        order: 3;
    }

    .header-icons,
    .main-nav {
        display: none;
    }

    .main-nav.open {
        display: flex;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        box-shadow: 0 8px 20px rgba(0,0,0,0.1);
        z-index: 999;
    }
}