/*
Theme Name: Handwerker Landing Page
Author: Tio Media.
Description: Automatische Disposition Landing Page
Version: 1.1
*/

/* --- LOKALE GOOGLE FONTS --- */

/* oswald-500 - latin */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/oswald-v57-latin-500.woff2') format('woff2');
}
/* oswald-700 - latin */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/oswald-v57-latin-700.woff2') format('woff2');
}

/* roboto-regular (400) - latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/roboto-v50-latin-regular.woff2') format('woff2');
}
/* roboto-500 - latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/roboto-v50-latin-500.woff2') format('woff2');
}


/* --- 1. VARIABLEN & RESET --- */
:root {
    --primary: #e67e22; /* Handwerker Orange */
    --primary-dark: #d35400;
    --secondary: #2c3e50; /* Dunkelblau/Grau */
    --bg-light: #f4f6f7;
    --text: #333;
}

*, *::before, *::after {
    box-sizing: border-box;
}

body { margin: 0; padding: 0; }

.hw-wrapper {
    font-family: 'Roboto', sans-serif; /* Standard Text Font */
    line-height: 1.6;
    color: var(--text);
    max-width: 100%;
    overflow-x: hidden;
}

.hw-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- 2. TYPOGRAFIE (Oswald & Roboto) --- */
.hw-wrapper h1, .hw-wrapper h2, .hw-wrapper h3 {
    font-family: 'Oswald', sans-serif; /* Kantig & Stark für Überschriften */
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hw-wrapper h1 { font-size: 2.5rem; }

.hw-wrapper h2 { 
    font-size: 2rem; 
    text-align: center; 
    margin-bottom: 2rem; 
    color: var(--secondary); 
}

.hw-wrapper p { 
    font-size: 1.15rem; 
    margin-bottom: 1.5rem; 
}

.hw-highlight { color: var(--primary); }

/* --- 3. BUTTONS --- */
.hw-btn {
    display: inline-block;
    background-color: var(--primary); 
    color: #fff !important;
    padding: 20px 40px;
    font-size: 1.4rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
    text-align: center;
    border-bottom: 5px solid var(--primary-dark);
    cursor: pointer;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 10px 20px rgba(230, 126, 34, 0.3);
    -webkit-user-select: none;
    user-select: none;
}
.hw-btn:hover, .hw-btn:active {
    background-color: var(--primary-dark);
    transform: translateY(2px);
    border-bottom: 2px solid #a04000;
    box-shadow: 0 5px 10px rgba(230, 126, 34, 0.3);
}
.hw-sub-btn { font-size: 0.9rem; margin-top: 10px; opacity: 0.8; }

/* --- 4. TRUST BANNER (Baustellen-Look) --- */
.hw-trust-banner {
    /* Der gestreifte Hintergrund aus dem zweiten Style-Block */
    background: repeating-linear-gradient(
        45deg,
        #f1c40f,
        #f1c40f 10px,
        #f39c12 10px,
        #f39c12 20px
    );
    color: #000;
    text-shadow: 0px 1px 0px rgba(255,255,255,0.5);
    border-bottom: 2px solid #000;
    padding: 15px;
    text-align: center;
    font-weight: bold;
    font-size: 0.95rem;
}

/* --- 5. HERO SECTION --- */
.hw-hero {
    background-color: var(--secondary); 
    /* Overlay + Bild aus dem zweiten Style-Block */
    background: linear-gradient(rgba(44, 62, 80, 0.9), rgba(44, 62, 80, 0.9));
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 80px 0 60px 0;
    text-align: center;
    border-bottom: 8px solid var(--primary);
}
.hw-hero h1 { color: #fff; margin-bottom: 20px; }
.hw-hero p { color: #ecf0f1; font-size: 1.4rem; max-width: 800px; margin: 0 auto 40px auto; }

/* --- VIDEO BOX --- */
.hw-video-box {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Ratio */
    height: 0;
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
    background: #000;
    border: 4px solid #fff;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    border-radius: 4px;
}

/* HIER IST DIE ÄNDERUNG: */
.hw-video-box iframe, 
.hw-video-box video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}


/* --- 6. ANTI-TECH SECTION (Grauer Hintergrund) --- */
.hw-no-tech {
    background-color: var(--bg-light); /* Hellgrau */
    padding: 60px 0;
    text-align: center;
}
.hw-icon-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}
.hw-icon-item {
    background: #fff;
    padding: 30px 20px;
    border-radius: 8px;
    width: 220px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border-top: 4px solid var(--secondary);
    flex: 1 1 220px;
}
.hw-icon-item strong { display: block; font-size: 1.3rem; color: var(--primary-dark); margin-bottom: 10px; }

/* --- 7. FEATURES (Weißer Hintergrund & Robuster Look) --- */
.hw-features { 
    padding: 80px 0; 
    background-color: #fff; /* Explizit Weiß */
}
.hw-feature-card {
    background: #fff;
    /* Hier die Updates aus dem zweiten Style-Block: Dickerer Rahmen */
    border: 2px solid #eee; 
    border-left: 8px solid var(--secondary); /* Dickerer Akzent links */
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    transition: transform 0.2s;
}
.hw-feature-card:hover { transform: translateX(5px); border-left-color: var(--primary); }
.hw-feature-card h3 { margin-top: 0; color: var(--primary); font-size: 1.5rem; }

/* --- FOUNDER SECTION (Desktop & Mobile Logic) --- */
.hw-founder {
    background: #fff;
    padding-top: 0;
    padding-bottom: 0;
    border-top: 0px solid #eee;
    overflow: hidden; 
}

.hw-founder-layout {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

/* Desktop Bilder (Stehend) */
.hw-founder-side {
    flex: 0 0 auto;
    width: auto;
    z-index: 1;
    line-height: 0;
    margin-top: -100px;
}

.hw-founder-side img {
    height: 720px; 
    width: auto;
    display: block;
    transform: translateY(220px); 
}

/* Der Text-Container in der Mitte */
.hw-founder-center {
    flex: 1;
    text-align: center;
    padding-bottom: 140px;
    z-index: 2;
    padding-left: 20px;
    padding-right: 20px;
}

/* --- NEU: Mobile Kreise (Standardmäßig unsichtbar) --- */
.hw-founder-mobile-circles {
    display: none; /* Auf Desktop ausgeblendet */
}

/* --- MOBILE ANPASSUNG (Tablets & Handys) --- */
@media (max-width: 900px) {
    
    /* 1. Stehende Bilder ausblenden */
    .hw-founder-side {
        display: none; 
    }

    /* 2. Text-Abstand normalisieren */
    .hw-founder-center {
        padding-bottom: 60px;
        padding-top: 40px;
    }

    /* 3. Mobile Kreise sichtbar machen & stylen */
    .hw-founder-mobile-circles {
        display: flex;
        justify-content: center;
        gap: 20px; /* Abstand zwischen den Kreisen */
        margin-bottom: 30px; /* Abstand zum Text darunter */
    }

    .hw-founder-mobile-circles img {
        width: 120px;  /* Größe der Kreise */
        height: 120px;
        border-radius: 50%; /* Macht sie rund */
        border: 4px solid var(--primary); /* Oranger Rand */
        object-fit: cover; /* Füllt den Kreis ohne Verzerren */
        object-position: top center; /* Fokussiert auf das Gesicht (oben) */
        background-color: #eee;
    }
}


/* --- 9. OFFER SECTION --- */
.hw-offer-section {
    background-color: var(--secondary);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}
.hw-service-box {
    background: #fff; 
    color: #333;
    padding: 50px 40px; 
    border-radius: 10px; 
    display: inline-block; 
    margin: 20px 0; 
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    max-width: 700px;
    width: 100%;
    position: relative;
}

/* Guarantee Badge */
.hw-guarantee-badge {
    position: absolute;
    top: -30px;
    right: -30px;
    background: #27ae60;
    color: #fff;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transform: rotate(15deg);
    border: 3px solid #fff;
    z-index: 10;
}

.hw-check-list {
    text-align: left; 
    list-style: none; 
    padding: 0; 
    margin: 30px 0; 
    font-size: 1.2rem;
}
.hw-check-list li {
    margin-bottom: 15px;
    padding-left: 35px;
    position: relative;
}
.hw-check-list li::before {
    content: '✓';
    color: #27ae60;
    font-weight: 900;
    position: absolute;
    left: 0;
    font-size: 1.4rem;
}

/* --- 10. FOOTER --- */
.hw-footer {
    background: #1a252f;
    color: #7f8c8d;
    padding: 40px 0;
    text-align: center;
    font-size: 0.9rem;
}
.hw-footer a { color: #bdc3c7; text-decoration: none; margin: 0 10px; }

/* --- 11. MOBILE RESPONSIVE --- */
@media (max-width: 768px) {
    .hw-wrapper h1 { font-size: 1.8rem; margin-bottom: 15px; }
    .hw-wrapper h2 { font-size: 1.6rem; margin-bottom: 1.5rem; }
    .hw-hero p { font-size: 1.1rem; line-height: 1.5; }
    
    .hw-hero { padding: 40px 0; }
    .hw-no-tech, .hw-features, .hw-founder, .hw-offer-section { padding: 40px 0; }
    
    .hw-btn { 
        width: 100%; 
        padding: 18px; 
        font-size: 1.2rem; 
    }

    .hw-icon-grid { gap: 20px; }
    .hw-icon-item { width: 100%; }

    .hw-service-box { 
        padding: 40px 20px 30px 20px; 
        margin-top: 40px;
    }
    
    .hw-guarantee-badge { 
        top: -50px; 
        left: 50%;
        right: auto;
        transform: translateX(-50%) rotate(0deg);
        width: 90px;
        height: 90px;
        font-size: 0.8rem;
    }

    .hw-feature-card { padding: 20px; }
    .hw-feature-card h3 { font-size: 1.3rem; }
}