
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}


:root {
    --dark-blue: #0b1f3a;
    --light-gray: #f5f5f5;
    --dark-yellow: #d4a017;
}


body {
    background-color: var(--light-gray);
    color: #333;
}
/* =========================
   MODERN NAVBAR
========================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 18px 40px;
    background: rgba(11, 31, 58, 0.9);
    backdrop-filter: blur(12px);

    color: var(--white);
}

.nav-links {
    display: flex;
    gap: 25px;
    list-style: none;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--dark-yellow);
}
.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  width: 60px;   /* Größe anpassen */
  height: auto;
}
.footer-logo {
  width: 60px;
  height: auto;
  margin-bottom: 10px;
}
/* HAMBURGER */
.hamburger {
    display: none;
    font-size: 28px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}
.navbar {
    display:flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--dark-blue);
    padding: 20px 40px;
    color: white;
    position: fixed;
    width: 100%;
    z-index: 1000;
}


.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.nav-links a:hover {
    color: var(--dark-yellow);
}

.read-btn {
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;

    padding: 6px 10px;
    font-size: 16px;

    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;

    margin-left: 15px;
}
.read-controls {
    margin-left: 20px;
}

/* Hover */
.read-btn:hover {
    background: var(--dark-yellow);
    color: black;
}

/* ACTIVE wenn läuft*/
.read-btn.active {
    background: var(--dark-yellow);
    color: black;
}

/* MOBILE NAV MODERN */
@media (max-width: 768px) {

    .hamburger {
        display: block;
        font-size: 28px;
        background: none;
        border: none;
        color: white;
        cursor: pointer;
        z-index: 1100;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%; /* versteckt */
        height: 100vh;
        width: 260px;

        flex-direction: column;
        gap: 25px;

        background: rgba(11, 31, 58, 0.95);
        backdrop-filter: blur(15px);

        padding: 100px 25px;

        transition: 0.4s ease;
    }

    /* AKTIV → reinsliden */
    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        font-size:16px;
    }
}

@media (max-width: 1200px) {
.hero {
    height: 95vh;
    padding: 20px;
    background: url('https://www.kammerer-gewinde.de/wp-content/uploads/Gewinderollen_Kammerer-scaled.jpg') no-repeat center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.overlay {
    background: rgba(0,0,0,0.5);
    padding: 20px;
    border-radius: 10px;
    color: white;
    
}
}
.overlay h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 20px;
}

.overlay p {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    margin-bottom: 30px;
}


.cta-btn {
    background-color: var(--dark-yellow);
    color: black;
    padding: 15px 25px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
}

.cta-btn:hover {
    opacity: 0.85;
}

.section {
    padding: 60px 40px;
    text-align: center;
}

.section h2 {
    margin-bottom: 15px;
}



/* =========================
   MODERN FOOTER
========================= */
.footer {
    background: linear-gradient(to right, #0b1f3a, #1a3d6b);
    color: white;
    padding: 60px 20px 20px;
}

.footer-container {
    max-width: 1200px;
    margin: auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer h3 {
    margin-bottom: 10px;
}

.footer h4 {
    margin-bottom: 15px;
}

/* LINKS */
.footer a {
    display: block;
    color: white;
    text-decoration: none;
    margin-bottom: 8px;
    opacity: 0.8;
    transition: 0.3s;
}

.footer a:hover {
    color: var(--dark-yellow);
    opacity: 1;
    transform: translateX(5px);
}

/* TEXT */
.footer p {
    opacity: 0.8;
    line-height: 1.5;
}

/* BOTTOM */
.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
    opacity: 0.7;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
}


/* =========================
   CARDS CONTAINER
========================= */
.cards-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;

    padding: 10px 40px;
    max-width: 1300px;
    margin: 0 auto;
    align-items: stretch;
}

/* =========================
   CARD BASE
========================= */
.card {
    position: relative;

    padding: 25px;
    border-radius: 16px;

    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(10px);

    border: 1px solid rgba(255,255,255,0.1);

    color: #111;

    transition: transform 0.25s ease, box-shadow 0.25s ease;

    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* =========================
   HOVER (SAFE)
========================= */
.card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 15px 35px rgba(0,0,0,0.3),
        0 10px 40px rgba(212,160,23,0.25);
}

/* =========================
   TEXT
========================= */
.card h3 {
    margin-bottom: 15px;
    font-size: clamp(1.1rem, 2vw, 1.3rem);
}

.card ul {
    list-style: none;
}

.card ul li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
}

.card ul li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: var(--dark-yellow);
}

/* =========================
   IMAGE
========================= */
.image-wrapper {
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 15px;
}

.image-wrapper img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card:hover img {
    transform: scale(1.05);
    transition: 0.4s;
}

/* =========================
   RESPONSIVE
========================= */

/* ===== DESKTOP LARGE ===== */
@media (min-width: 1400px) {
    .cards-section {
        grid-template-columns: repeat(3, 1fr);
        gap: 50px;
    }
}

/* ===== LAPTOP ===== */
@media (max-width: 1200px) {
    .cards-section {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* ===== TABLET ===== */
@media (max-width: 900px) {
    .cards-section {
        grid-template-columns: repeat(2, 1fr);
        padding: 40px 20px;
    }
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
    .cards-section {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .card {
        padding: 20px;
    }
}

/* ===== SMALL MOBILE ===== */
@media (max-width: 480px) {
    .cards-section {
        padding: 30px 15px;
    }

    .card {
        padding: 18px;
    }

    .image-wrapper img {
        height: 150px;
    }
}

/* LEISTUNGEN HEADER */
.leistungen-section h2 {
    text-align: center;
    color: white;
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.leistungen-section p {
    text-align: center;
    color: rgba(255,255,255,0.8);
    margin-bottom: 50px;
    font-size: 1.1rem;
}
.leistungen-section {
    padding: 100px 40px;
    background: linear-gradient(to right, #0b1f3a, #1a3d6b);
}

#leistungen-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;

    max-width: 1300px;
    margin: 0 auto;
}

.leistung-card {
    background: linear-gradient(
        180deg,
        rgba(255,255,255,0.1),
        rgba(255,255,255,0.03)
    );

    padding: 25px;
    border-radius: 12px;
    color: white;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.leistung-card:hover {
    transform: translateY(-10px);
}

.leistung-icon {
    font-size: 40px;
    margin-bottom: 20px;
    color: var(--dark-yellow);
}

.leistung-card h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.leistung-card hr {
    border: none;
    height: 1px;
    background: rgba(255,255,255,0.2);
    margin: 15px 0;
}

.leistung-card ul {
    list-style: none;
    padding: 0;
    margin-top: 15px;
    text-align: none;
}

.leistung-card li {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 10px;
    margin-bottom: 10px;
}

.leistung-card li::before {
    content: "✔";
    color: var(--dark-yellow);
}

@media (max-width: 768px) {
    #leistungen-container {
        grid-template-columns: 1fr;
    }
}

.faq-section {
    padding: 80px 40px;
    background: white;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 40px;
}

.faq-item {
    max-width: 800px;
    margin: 0 auto 15px;
    border-radius: 10px;
    overflow: hidden;
    background: #f9f9f9;
}

.faq-question {
    width: 100%;
    padding: 20px;
    font-size: 1rem;
    text-align: left;
    border: none;
    background: none;
    cursor: pointer;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.icon {
    font-size: 20px;
    transition: 0.3s;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 20px;
}

.faq-answer p {
    padding: 15px 0;
    opacity: 0.8;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-item.active .icon {
    transform: rotate(45deg); 
}


/* Kontakt */
.contact-section {
    background: var(--light-gray);
    color: black;

}
@media (max-width: 768px) {
.contact-form {
    max-width: 80%;
    margin: 40px auto 0;
    padding: 30px 15px;
    background: rgb(229, 227, 227);
    border-radius: 15px;
    box-shadow: 
        0 10px 30px rgba(0,0,0,0.1),
        0 20px 60px rgba(0,0,0,0.05);

    display: flex;
    flex-direction: column;
    gap: 20px;
}
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 20px;

    border-radius: 10px;
    border: 1px solid #ddd;

    background: #f9f9f9;
    color: black;

    outline: none;
    transition: 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border: 1px solid var(--dark-yellow);
    box-shadow: 0 0 8px rgba(212,160,23,0.3);
    background: white;
   
}

.cta-btn {
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #777;
}



/* IMPRESSUM DESIGN */
.impressum-wrapper {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 120px 20px 40px;

    background: linear-gradient(
        135deg,
        rgba(221, 223, 226, 0.9),
        rgba(3, 108, 246, 0.6)
    );
}

/* CARD */
.impressum-card {
    max-width: 600px;
    width: 100%;
    padding: 40px;

    background: rgba(238, 231, 231, 0.08);
    backdrop-filter: blur(10px);

    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);

    color: rgb(11, 11, 11);
}

.impressum-card h1 {
    margin-bottom: 20px;
}

.impressum-card h3 {
    margin-top: 25px;
    margin-bottom: 10px;
}

.impressum-card p {
    line-height: 1.6;
    opacity: 0.9;
}


.back-btn {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 18px;
    background: var(--dark-yellow);
    color: black;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
}

.back-btn:hover {
    opacity: 0.85;
}

.legal-section {
    max-width: 100%;
    margin: px 20px;
    padding: 40px;
    background: rgb(255, 255, 255);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.legal-section h1 {
    text-align: left;
    margin-bottom: 40px;
    margin-top:10%;
}

.legal-section h2 {
    margin-top: 25px;
}

.legal-section p {
    line-height: 1.6;
    color: #555;
}


.back-button-container {
    text-align: center;
    margin: 30px 0 60px;
}

.back-button {
    display: inline-block;
    padding: 12px 25px;
    background:var(--dark-yellow);
    color: rgb(12, 11, 11);
    text-decoration: none;
    border-radius: 6px;
    transition: 0.3s;
}

.back-button:hover {
    background: #a2a0a0;
}