/* ============================================================
   MALER-HELDEN.DE - HOMEPAGE STYLESHEET
   ============================================================ */

/* ===== DESKTOP (min 951px) ===== */
@media only screen and (min-device-width: 951px) {
  #mobile {
    display: none;
  }

  /* --- RESET & BASE --- */
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  body {
    font-family: "Poppins", "Open Sans", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: #1e293b;
    background: #ffffff;
  }

  a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
  }

  ul {
    list-style: none;
  }

  img {
    max-width: 100%;
    height: auto;
  }

  .wrapper {
    width: 100%;
  }

  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
  }

  /* --- HEADER --- */
  .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
  }

  #header-wrapper {
    width: 100%;
    background: #ffffff;
    height: 80px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  }

  #header-wrapper .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  #logo {
    flex-shrink: 0;
  }

  #logo a {
    display: block;
  }

  #logo a img {
    height: 50px;
    width: auto;
  }

  #menu-container {
    display: flex;
    align-items: center;
  }

  #main-menu {
    display: flex;
    align-items: center;
  }

  #main-menu ul {
    display: flex;
    gap: 5px;
  }

  #main-menu ul li {
    display: inline-block;
  }

  #main-menu ul li a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #1e293b;
    border-radius: 3px;
    transition: all 0.3s ease;
    position: relative;
  }

  #main-menu ul li a:after {
    content: "";
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(135deg, #334155, #f97316);
    border-radius: 2px;
    transition: width 0.3s ease;
  }

  #main-menu ul li a:hover {
    color: #334155;
  }

  #main-menu ul li a:hover:after {
    width: 60%;
  }

  /* --- HERO SECTION --- */
  .hero {
    position: relative;
    min-height: 620px;
    background: url(assets/images/bg2.jpg) center center / cover no-repeat;
    display: flex;
    align-items: center;
    padding-top: 80px;
  }

  .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
      135deg,
      rgba(15, 23, 42, 0.88),
      rgba(51, 65, 85, 0.6)
    );
  }

  .hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    padding: 80px 20px;
    z-index: 2;
  }

  .hero-text {
    flex: 1;
    color: #ffffff;
  }

  .hero-text h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
  }

  .hero-text p {
    font-size: 18px;
    line-height: 1.7;
    opacity: 0.92;
    margin-bottom: 30px;
    max-width: 500px;
  }

  .btn-outline {
    display: inline-block;
    padding: 14px 34px;
    background: #ffffff;
    color: #334155;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  }

  .btn-outline:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    background: #fff7ed;
  }

  /* --- HERO FORM --- */
  .hero-form {
    background: #ffffff;
    border-radius: 4px;
    padding: 40px;
    width: 400px;
    flex-shrink: 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  }

  .hero-form h3 {
    font-size: 24px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 6px;
  }

  .hero-form-sub {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 24px;
    line-height: 1.5;
  }

  .form-group {
    margin-bottom: 16px;
  }

  .form-group input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 4px;
    font-size: 15px;
    font-family: "Poppins", sans-serif;
    color: #1e293b;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
    background: #f8fafc;
  }

  .form-group input:focus {
    border-color: #334155;
    box-shadow: 0 0 0 4px rgba(51, 65, 85, 0.1);
    background: #ffffff;
  }

  .form-group input::placeholder {
    color: #94a3b8;
  }

  .btn-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #334155, #f97316);
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    font-family: "Poppins", sans-serif;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(51, 65, 85, 0.3);
    margin-top: 8px;
  }

  .btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(51, 65, 85, 0.4);
  }

  /* --- WHY US SECTION --- */
  .why-us {
    padding: 100px 0;
    background: #f8fafc;
    text-align: center;
  }

  .why-us h2 {
    font-size: 36px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 10px;
  }

  .section-line {
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #334155, #f97316);
    margin: 0 auto 60px auto;
    border-radius: 2px;
  }

  .why-us-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
  }

  .why-card {
    background: #ffffff;
    border-radius: 4px;
    padding: 40px 24px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
  }

  .why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  }

  .why-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #334155, #f97316);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
  }

  .why-icon i {
    font-size: 28px;
    color: #ffffff;
  }

  .why-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 12px;
  }

  .why-card p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.7;
  }

  /* --- SERVICES SECTION --- */
  .services {
    padding: 100px 0;
    background: #ffffff;
    text-align: center;
  }

  .services h2 {
    font-size: 36px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 10px;
  }

  .services-subtitle {
    font-size: 18px;
    color: #64748b;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  .services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
  }

  .service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #f8fafc;
    border-radius: 4px;
    padding: 32px 16px;
    text-align: center;
    color: #1e293b;
  }

  .service-icon {
    margin-bottom: 16px;
  }

  .service-card h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
  }

  .service-card span {
    font-size: 13px;
    color: #64748b;
    display: block;
  }

  /* SERVICE ICON LABELS */
  .lb1,
  .lb2,
  .lb3,
  .lb4,
  .lb5 {
    display: block;
    width: 60px;
    height: 60px;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    margin: 0 auto;
  }

  .lb1 {
    background: url(assets/images/icon2.png) no-repeat center;
  }
  .lb2 {
    background: url(assets/images/icon1.png) no-repeat center;
  }
  .lb3 {
    background: url(assets/images/icon4.png) no-repeat center;
  }
  .lb4 {
    background: url(assets/images/icon5.png) no-repeat center;
  }
  .lb5 {
    background: url(assets/images/icon3.png) no-repeat center;
  }

  /* --- CTA SECTION --- */
  .cta-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #334155, #f97316);
    text-align: center;
  }

  .cta-section h3 {
    font-size: 28px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 24px;
  }

  .cta-phone {
    display: inline-block;
    padding: 14px 40px;
    background: #ffffff;
    color: #334155;
    font-size: 22px;
    font-weight: 700;
    border-radius: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  }

  .cta-phone:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  }

  .cta-phone i {
    margin-right: 10px;
  }

  /* --- FOOTER --- */
  #footer {
    width: 100%;
  }

  .footer-content {
    background: #1e293b;
    padding: 60px 0 40px;
  }

  .footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
  }

  .footer-brand img {
    max-width: 180px;
    margin-bottom: 16px;
  }

  .footer-brand p {
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.7;
  }

  .footer-col h4 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
  }

  .footer-col ul li {
    margin-bottom: 10px;
  }

  .footer-col ul li a {
    color: #94a3b8;
    font-size: 14px;
    transition: color 0.3s ease;
    text-transform: none;
  }

  .footer-col ul li a:hover {
    color: #ffffff;
  }

  .footer-col p {
    color: #94a3b8;
    font-size: 14px;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
  }

  .footer-col p i {
    color: #334155;
    margin-top: 4px;
    font-size: 14px;
    flex-shrink: 0;
  }

  .footer-col p a {
    color: #94a3b8;
    transition: color 0.3s ease;
    text-transform: none;
  }

  .footer-col p a:hover {
    color: #ffffff;
  }

  .copyright {
    background: #0f172a;
    padding: 16px 0;
  }

  .copyright .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .copyright p {
    color: #64748b;
    font-size: 13px;
    margin: 0;
  }

  .footer-links {
    display: flex;
    gap: 20px;
  }

  .footer-links li a {
    color: #64748b;
    font-size: 13px;
    transition: color 0.3s ease;
    text-transform: none;
  }

  .footer-links li a:hover {
    color: #ffffff;
  }
}

/* ===== MOBILE (max 950px) ===== */
@media only screen and (max-device-width: 950px) {
  #desktop {
    display: none;
  }

  /* --- RESET & BASE --- */
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  body {
    font-family: "Poppins", "Open Sans", sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.6;
    color: #1e293b;
    background: #ffffff;
  }

  a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
  }

  ul {
    list-style: none;
  }

  img {
    max-width: 100%;
    height: auto;
  }

  .wrapper {
    width: 100%;
  }

  .container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
  }

  /* --- MOBILE HEADER --- */
  .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
  }

  #header-wrapper {
    width: 100%;
    background: #ffffff;
    height: 60px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  }

  #header-wrapper .container {
    display: flex;
    align-items: center;
    height: 60px;
  }

  #logo {
    flex-shrink: 0;
  }

  #logo a {
    display: block;
  }

  #logo a img {
    height: 36px;
    width: auto;
    margin-left: 5px;
  }

  .nav {
    position: absolute;
    right: 0;
    top: 0;
  }

  .nav label {
    font-size: 28px;
    display: block;
    cursor: pointer;
    line-height: 60px;
    padding: 0 20px;
    color: #1e293b;
  }

  #toggle {
    display: none;
  }

  .menu2 {
    display: none;
    position: absolute;
    right: 0;
    top: 60px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    border-radius: 0 0 4px 4px;
    min-width: 220px;
    padding: 10px 0;
    z-index: 999;
  }

  #toggle:checked + .menu2 {
    display: block;
  }

  .menu2 a {
    display: block;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #f1f5f9;
  }

  .menu2 a:last-child {
    border-bottom: none;
  }

  .menu2 a:hover {
    color: #334155;
    background: rgba(51, 65, 85, 0.04);
  }

  /* --- MOBILE HERO --- */
  .hero {
    position: relative;
    background: url(assets/images/bg2-mobile.jpg) center center / cover
      no-repeat;
    padding-top: 60px;
  }

  .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
      180deg,
      rgba(15, 23, 42, 0.88),
      rgba(51, 65, 85, 0.7)
    );
  }

  .hero-content {
    position: relative;
    z-index: 2;
    padding: 40px 20px;
  }

  .hero-text {
    text-align: center;
    color: #ffffff;
    margin-bottom: 28px;
  }

  .hero-text h1 {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 10px;
  }

  .hero-text p {
    font-size: 15px;
    opacity: 0.9;
    line-height: 1.6;
  }

  /* --- MOBILE HERO FORM --- */
  .hero-form {
    background: #ffffff;
    border-radius: 4px;
    padding: 28px 24px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  }

  .hero-form h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 16px;
    text-align: center;
  }

  .hero-form-sub {
    display: none;
  }

  .form-group {
    margin-bottom: 12px;
  }

  .form-group input {
    width: 100%;
    padding: 13px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 4px;
    font-size: 15px;
    font-family: "Poppins", sans-serif;
    color: #1e293b;
    background: #f8fafc;
    outline: none;
    -webkit-appearance: none;
  }

  .form-group input:focus {
    border-color: #334155;
    background: #ffffff;
  }

  .form-group input::placeholder {
    color: #94a3b8;
  }

  .btn-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #334155, #f97316);
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    font-family: "Poppins", sans-serif;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 4px;
  }

  /* --- MOBILE WHY US --- */
  .why-us {
    padding: 60px 0;
    background: #f8fafc;
    text-align: center;
  }

  .why-us h2 {
    font-size: 26px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 10px;
  }

  .section-line {
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, #334155, #f97316);
    margin: 0 auto 40px auto;
    border-radius: 2px;
  }

  .why-us-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 10px;
  }

  .why-card {
    background: #ffffff;
    border-radius: 4px;
    padding: 28px 20px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  }

  .why-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #334155, #f97316);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px auto;
  }

  .why-icon i {
    font-size: 22px;
    color: #ffffff;
  }

  .why-card h4 {
    font-size: 17px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
  }

  .why-card p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
  }

  /* --- MOBILE SERVICES --- */
  .services {
    padding: 60px 0;
    background: #ffffff;
    text-align: center;
  }

  .services h2 {
    font-size: 26px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 10px;
  }

  .services-subtitle {
    display: none;
  }

  .services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    padding: 0 10px;
  }

  .service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #f8fafc;
    border-radius: 4px;
    padding: 24px 12px;
    text-align: center;
    color: #1e293b;
  }

  .service-card:last-child {
    grid-column: 1 / -1;
    max-width: 200px;
    margin: 0 auto;
    width: 100%;
  }

  .service-icon {
    margin-bottom: 10px;
  }

  .service-card h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 0;
  }

  .service-card span {
    display: none;
  }

  .lb1,
  .lb2,
  .lb3,
  .lb4,
  .lb5 {
    display: block;
    width: 50px;
    height: 50px;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    margin: 0 auto;
  }

  .lb1 {
    background: url(assets/images/icon2.png) no-repeat center;
  }
  .lb2 {
    background: url(assets/images/icon1.png) no-repeat center;
  }
  .lb3 {
    background: url(assets/images/icon4.png) no-repeat center;
  }
  .lb4 {
    background: url(assets/images/icon5.png) no-repeat center;
  }
  .lb5 {
    background: url(assets/images/icon3.png) no-repeat center;
  }

  /* --- MOBILE CTA --- */
  .cta-section {
    padding: 40px 20px;
    background: linear-gradient(135deg, #334155, #f97316);
    text-align: center;
  }

  .cta-section h3 {
    font-size: 22px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 16px;
  }

  .cta-phone {
    display: inline-block;
    padding: 12px 30px;
    background: #ffffff;
    color: #334155;
    font-size: 18px;
    font-weight: 700;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  }

  .cta-phone i {
    margin-right: 8px;
  }

  /* --- MOBILE FOOTER --- */
  #footer {
    width: 100%;
  }

  .footer-content {
    background: #1e293b;
    padding: 40px 0 30px;
  }

  .footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .footer-brand img {
    max-width: 150px;
    margin-bottom: 12px;
  }

  .footer-brand p {
    display: none;
  }

  .footer-col h4 {
    color: #ffffff;
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 14px;
  }

  .footer-col ul li {
    margin-bottom: 8px;
  }

  .footer-col ul li a {
    color: #94a3b8;
    font-size: 14px;
    text-transform: none;
  }

  .footer-col p {
    color: #94a3b8;
    font-size: 14px;
    margin-bottom: 10px;
  }

  .footer-col p i {
    color: #334155;
    margin-right: 8px;
    font-size: 14px;
  }

  .footer-col p a {
    color: #94a3b8;
    text-transform: none;
  }

  .copyright {
    background: #0f172a;
    padding: 14px 0;
    text-align: center;
  }

  .copyright .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .copyright p {
    color: #64748b;
    font-size: 12px;
    margin: 0;
  }

  .footer-links {
    display: flex;
    gap: 16px;
  }

  .footer-links li a {
    color: #64748b;
    font-size: 12px;
    text-transform: none;
  }
}
