/* inter-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/inter-v20-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-300italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: italic;
  font-weight: 300;
  src: url('../fonts/inter-v20-latin-300italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/inter-v20-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/inter-v20-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/inter-v20-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-500italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: italic;
  font-weight: 500;
  src: url('../fonts/inter-v20-latin-500italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/inter-v20-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-600italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: italic;
  font-weight: 600;
  src: url('../fonts/inter-v20-latin-600italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/inter-v20-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-700italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: italic;
  font-weight: 700;
  src: url('../fonts/inter-v20-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-800 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  src: url('../fonts/inter-v20-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-800italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: italic;
  font-weight: 800;
  src: url('../fonts/inter-v20-latin-800italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* --- GLOBALE EINSTELLUNGEN --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-main: #0a0d14;       /* Tiefes, edles Midnight-Black */
    --bg-card: #141923;       /* Helleres Anthrazit für Kontrast-Blöcke */
    --accent: #ff6a00;        /* Dynamisches Werkstatt-Orange */
    --accent-glow: rgba(219, 48, 34, 0.15);
    --text-main: #f1f5f9;     /* Nahezu Weiß für perfekte Lesbarkeit */
    --text-muted: #bfcbdb;    /* Graublau für sekundäre Texte */
    --border: #222c3f;        /* Saubere Trennlinien */
}

.logo-link {
    display: inline-block;
    color: inherit;
    text-decoration: none;
}
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }

/* --- NAVIGATION (MODERN & TRANSPARENT) --- */
.header {
    background-color: rgba(10, 13, 20, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.logo {
    font-size: 26px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo span { color: var(--accent); }

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

.nav-links a {
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent);
}

.menu-toggle, .hamburger { display: none; }

/* --- HERO BEREICHE (MIT GLOW & KONTRAST) --- */
.hero-large {
    position: relative;
    background: linear-gradient(rgba(10, 13, 20, 0.6), rgba(10, 13, 20, 0.5)), 
   url('../images/hero.webp') no-repeat center center/cover;
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    border-bottom: 2px solid var(--accent);
}


.hero-small-1 {
    background: linear-gradient(rgba(10, 13, 20, 0.3), rgba(10, 13, 20, 0.8)),
	url('../images/hero2.webp') no-repeat center center/cover;
    height: 35vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    border-bottom: 2px solid var(--accent);
    filter: brightness(1.15); /* Erhöht die Grundhelligkeit des gesamten Hero-Bereichs */
}
.hero-small-2 {
    background: linear-gradient(rgba(10, 13, 20, 0.3), rgba(10, 13, 20, 0.8)), 
    url('../images/hero3.webp') no-repeat center center/cover;
    height: 35vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    border-bottom: 2px solid var(--accent);
    filter: brightness(1.15); /* Erhöht die Grundhelligkeit des gesamten Hero-Bereichs */
}
.hero-small-3 {
    background: linear-gradient(rgba(10, 13, 20, 0.3), rgba(10, 13, 20, 0.8)), 
    url('../images/hero4.webp') no-repeat center center/cover;
    height: 35vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    border-bottom: 2px solid var(--accent);
    filter: brightness(1.15); /* Erhöht die Grundhelligkeit des gesamten Hero-Bereichs */
}
.hero-small-4 {
    background: linear-gradient(rgba(10, 13, 20, 0.3), rgba(10, 13, 20, 0.8)), 
   url('../images/hero5.webp') no-repeat center center/cover;
    height: 35vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    border-bottom: 2px solid var(--accent);
    filter: brightness(1.15); /* Erhöht die Grundhelligkeit des gesamten Hero-Bereichs */
}

/* Text im kleinen Hero mit Schatten schützen, falls das Bild sehr hell ist */
.hero-small .hero-content h1 {
    font-size: 2.5rem;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

.hero-content h1 {
    font-size: 3.8rem;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: -1px;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

.hero-content h1 span {
    color: var(--accent);
}

.hero-content p {
    font-size: 1.3rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 35px auto;
}

/* BUTTONS */
.btn {
    display: inline-block;
    background-color: var(--accent);
    color: #fff;
    padding: 16px 35px;
    border-radius: 6px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 106, 0, 0.4);
}

.btn:hover {
    background-color: #e05d00;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 106, 0, 0.6);
}

/* --- LAYOUT & SUBSTANZ-BLÖCKE --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

.section-intro {
    text-align: center;
    margin-bottom: 60px;
}

.section-intro h2 {
    font-size: 2.5rem;
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 15px;
}

.section-intro h2 span { color: var(--accent); }

.section-intro p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* TEXTBLÖCKE (ZWEISPALTIG ODER ENTLANG DER SEITE) */
.content-row {
    display: flex;
    gap: 50px;
    align-items: center;
    margin-bottom: 30px;
}

.content-row.reverse { flex-direction: row-reverse; }

.content-text { flex: 1; }

.content-text h3 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.content-text p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.content-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.content-image img {
    width: 100%;
    height: auto;
    display: block;
    filter: brightness(0.9) contrast(1.1); /* Bilder aufhellen & knackiger machen */
}

/* RASTER-SYSTEM (FÜR LEISTUNGEN & ANGEBOTE) */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.card {
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 10px 25px var(--accent-glow);
}

.card h3 {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.card .price {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--accent);
}

/* KONTAKT SPLIT-SCREEN */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.info-box h3 {
    font-size: 1.6rem;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.info-box ul { list-style: none; }

.info-box ul li {
    margin-bottom: 20px;
    color: var(--text-muted);
}

.info-box ul li strong {
    color: #fff;
    display: block;
    font-size: 1.1rem;
}

/* --- FOOTER (NUR COPYRIGHT) --- */
.footer {
    background-color: #05070a;
    text-align: center;
    padding: 30px 20px;
    font-size: 14px;
    color: #475569;
    border-top: 1px solid var(--border);
}

/* --- RESPONSIVE DESIGN (HAMBURGER) --- */
@media (max-width: 900px) {
    .content-row, .content-row.reverse { flex-direction: column; gap: 30px; }
    .contact-wrapper { grid-template-columns: 1fr; gap: 40px; }
    .hero-content h1 { font-size: 2.6rem; }
}

/* --- NEU: WERKSTATT GALERIE (3 BILDER NEBENEINANDER) --- */
.image-gallery {
    background-color: var(--bg-main);
    padding: 10px 20px 50px 20px;
}

.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 20px;
}

.gallery-item {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.03);
    border-color: var(--accent);
}

.gallery-item img {
    width: 100%;
    height: 250px; /* Feste Höhe für einheitlichen Look auf dem PC */
    object-fit: cover; /* Schneidet die Bilder sauber zu, ohne sie zu verzerren */
    display: block;
    filter: brightness(1.0) contrast(1.1); /* Schön hell und knackig */
}

/* --- NEU: UNTERER CALL TO ACTION (CTA) --- */
.bottom-cta {
    position: relative;
    /* MEHR POWER: Das Orange startet jetzt deutlich kräftiger (0.25 statt 0.12) und blendet zu einem tieferen Schwarz aus */
    background: radial-gradient(circle at 50% 50%, rgba(255, 106, 0, 0.25) 0%, #05070a 65%);
    border-top: 1px solid var(--accent); /* Orange Trennlinie auch hier für den Match */
    padding: 90px 20px;
    text-align: center;
    overflow: hidden;
}

/* Das Raster-Muster wird durch höheren Kontrast sichtbar gemacht */
.bottom-cta::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 106, 0, 0.08) 1px, transparent 1px), /* Gitterlinien leuchten nun ganz leicht orange */
        linear-gradient(90deg, rgba(255, 106, 0, 0.08) 1px, transparent 1px);
    background-size: 50px 50px; /* Leicht größere, modernere Kästchen */
    background-position: center;
    /* Maske sorgt dafür, dass das Gitter nur im Lichtkegel zu sehen ist */
    mask-image: radial-gradient(circle at 50% 50%, black 10%, transparent 70%);
    -webkit-mask-image: radial-gradient(circle at 50% 50%, black 10%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

/* Inhalt wird über den Glow gehoben */
.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 15px;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8); /* Schützt den Text vor dem helleren Glow */
}

.cta-content p {
    color: #cbd5e1; /* Text etwas aufgehellt für besseren Kontrast */
    font-size: 1.15rem;
    margin-bottom: 35px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
/* --- RESPONSIVE DESIGN FÜR MOBILGERÄTE (Smartphones & Tablets) --- */
@media (max-width: 768px) {
    .navbar {
        flex-direction: row;
        justify-content: space-between;
    }

    /* Hamburger-Icon einblenden (3 Striche) */
    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 6px;
        cursor: pointer;
        z-index: 1010;
    }

    .hamburger span {
        display: block;
        width: 30px;
        height: 3px;
        background-color: #fff;
        transition: 0.3s;
    }

    /* Navigations-Links für Mobile positionieren */
    .nav-links {
        position: absolute;
        top: 100%; left: 0; right: 0;
        background-color: var(--bg-card);
        flex-direction: column;
        align-items: center;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out;
    }

    .nav-links li { width: 100%; text-align: center; }
    .nav-links a { display: block; padding: 25px 0; border-bottom: 1px solid var(--border); }
    
    /* Wenn die unsichtbare Checkbox aktiv ist, klappt das Menü auf */
    .menu-toggle:checked ~ nav .nav-links { max-height: 500px; }
    
    /* Animation: Verwandelt die 3 Striche bei Klick in ein "X" */
    .menu-toggle:checked ~ .hamburger span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .menu-toggle:checked ~ .hamburger span:nth-child(2) { opacity: 0; }
    .menu-toggle:checked ~ .hamburger span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

    /* HIER DIE KORREKTURISOLIERUNG NUR FÜR MOBILE GERÄTE */
    .hero-content h1 {
        font-size: 2.0rem !important; /* Erzwingt die kleine Größe AUSSCHLIESSLICH auf dem Handy */
        line-height: 1.2;
    }
    
    .hero-small .hero-content h1 {
        font-size: 1.6rem !important; /* Erzwingt die kleine Größe AUSSCHLIESSLICH auf dem Handy */
        line-height: 1.2;
    }
.content-text h2, 
    .content-block h2 {
        font-size: 1.4rem !important; /* Angenehme, lesbare Größe auf Mobile */
        line-height: 1.3;
        margin-bottom: 15px;
    }

    /* NEU: h2-Überschriften für die Sektionen-Einleitungen (Leistungen/Angebote) */
    .section-intro h2 {
        font-size: 1.6rem !important;
        line-height: 1.3;
    }
    .hero-content p {
        font-size: 1.0rem;
        padding: 0 10px;
    }

    .content-block {
        padding: 25px 20px;
    }
}

/* --- Footer Links Styling --- */
.footer {
    background-color: #05070a;
    text-align: center;
    padding: 30px 20px;
    font-size: 14px;
    color: #fff;
    border-top: 1px solid var(--accent); /* <-- Jetzt in Werkstatt-Orange */
}
/* ==========================================================================
   STYLING FÜR DIE BILDER IN DEN LEISTUNGS-KARTEN (.card)
   ========================================================================== */

/* Stellt sicher, dass die Karte als Flexbox agiert und Inhalte sauber abschneidet */
.card {
    display: flex;
    flex-direction: column;
    padding: 0; /* Entfernt den pauschalen Innenabstand, damit das Bild oben bündig abschließt */
    overflow: hidden; /* Schneidet die oberen Ecken des Bildes passend zur Karte ab */
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
}

/* Der Bild-Behälter oberhalb der Überschrift */
.card-image {
    width: 100%;
    height: 180px; /* Einheitliche Höhe für alle 8 Bilder auf dem PC */
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Verzieht das Bild nicht, sondern schneidet es perfekt zu */
    display: block;
    transition: transform 0.3s ease;
}

/* Subtiler Zoom-Effekt beim Drüberfahren mit der Maus */
.card:hover .card-image img {
    transform: scale(1.05);
}

/* Gibt Überschrift und Text den nötigen Innenabstand innerhalb der Karte */
.card h3,
.card p {
    padding-left: 20px;
    padding-right: 20px;
}

.card h3 {
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1.3rem;
    color: #fff;
}

.card p {
    margin-bottom: 25px;
    color: var(--text-muted);
    font-size: 0.95rem;
}