/* ENTAB — Modern, responsive stylesheet (no inline styles) */
:root{
  --orange: #f97316;
  --orange-dark: #d55c0a;
  --bg: #f6f7f8;
  --text: #222;
  --muted: #666;
  --white: #fff;
  --max-width: 1100px;
  --radius: 10px;
  --shadow: 0 6px 18px rgba(0,0,0,0.08);
  --container-padding: 20px;
  font-size: 16px;
}

/* Reset */
* { box-sizing: border-box; margin: 0; padding: 0; }
html,body { height: 100%; }
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.45;
  background: var(--bg);
  color: var(--text);
}

.article-image-left {
  width: 75px;
  object-fit: cover;
  display: block;
  background: #fff; /* Fallback Farbe */
}

/* Utility containers */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--container-padding);
}

/* Header */
.site-header {
  background: var(--white);
  color: var(--muted);
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-inner {
  display:flex;
  align-items:center;
  gap:18px;
  padding:14px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.brand {
  display:flex;
  gap:12px;
  align-items:center;
  text-decoration:none;
  color: inherit;
}
.logo { height:60px; display:block; }
.brand-text h1 { font-size:18px; margin:0; }
.brand-text .tagline{ font-size:12px; color:var(--muted); margin:0; }

/* Navigation */
.main-nav {
  margin-left: auto;
  display:flex;
  gap:10px;
  align-items:center;
}
.nav-link.active {
  background: var(--orange);
  color: var(--white);
}
.main-nav .nav-link{
  text-decoration:none;
  color:var(--text);
  padding:8px 12px;
  border-radius:8px;
  font-weight:600;
  transition: all 0.2s ease;
}
.main-nav .nav-link:hover{
  background: var(--orange);
  color: var(--white);
}

/* Menu toggle (mobile) - KORRIGIERT */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  color: var(--orange);
  cursor: pointer;
}

/* Call button in header */
.call-button{
  display:inline-block;
  background:transparent;
  border: 2px solid #eee;
  color:var(--text);
  padding:8px 12px;
  border-radius:8px;
  text-decoration:none;
  font-weight:700;
  margin-left:8px;
  transition: all 0.2s ease;
}
.call-button:focus, .call-button:hover{
  border-color:var(--orange);
  color:var(--orange-dark);
}

/* Hero sections - KORRIGIERT mit Farbverläufen */

.hero {
  min-height: 40vh;
  height: min(60vh, 420px);
  background: linear-gradient(135deg, #0ea5e9 0%, #0369a1 100%);
  background-image: url('/img/entab_gmbh_1.jpg');
  background-repeat: no-repeat;
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--white);
  text-align:center;
  padding:40px 20px;
  position:relative;
}

.hero_altmetall {
  min-height: 40vh;
  height: min(60vh, 420px);
  background: linear-gradient(135deg, #0ea5e9 0%, #0369a1 100%);
  background-image: url('/img/entab_gmbh_2.jpg');
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--white);
  text-align:center;
  padding:40px 20px;
  position:relative;
}
.hero_leistungen {
  min-height: 40vh;
  height: min(60vh, 420px);
  background: linear-gradient(135deg, #10b981 0%, #047857 100%);
  background-image: url('/img/entab_gmbh_3.jpg');
  display:flex;
  align-items:center;
  background-repeat: no-repeat; 
  justify-content:center;
  color:var(--white);
  text-align:center;
  padding:40px 20px;
  position:relative;
}
.hero_abbruch {
  min-height: 40vh;
  height: min(60vh, 420px);
  background: linear-gradient(135deg, #6b7280 0%, #374151 100%);
  background-image: url('/img/entab_gmbh_1.jpg');
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--white);
  text-align:center;
  padding:40px 20px;
  position:relative;
}
.hero_entsorgung {
  min-height: 40vh;
  height: min(60vh, 420px);
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  background-image: url('/img/entab_gmbh_2.jpg');
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--white);
  text-align:center;
  padding:40px 20px;
  position:relative;
}
/* --- Modernisierte Inhaltsbereiche (Abbruch & Sanierung) --- */

.content-section {
  margin: 4rem auto;
  max-width: 900px;
  line-height: 1.75;
  color: #222;
}

.content-section h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #f97316; /* dein Orange-Ton */
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.content-section p {
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
  font-weight: 400;
}

.content-section strong {
  color: #000;
  font-weight: 600;
}

/* --- Highlight-Box für Vorteile / Listen --- */
.highlight-box {
  background: #fff7ed; /* sehr helles Orange-Beige */
  border-left: 4px solid #f97316;
  border-radius: 8px;
  padding: 1.5rem 1.8rem;
  margin: 2rem 0;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.highlight-box h3 {
  margin-top: 0;
  font-size: 1.3rem;
  font-weight: 600;
  color: #d65f00;
  margin-bottom: 0.8rem;
}

.highlight-box ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.highlight-box li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.highlight-box li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #f97316;
  font-weight: 700;
}

/* --- Responsive Anpassung --- */
@media (max-width: 768px) {
  .content-section {
    padding: 0 1rem;
  }

  .content-section h2 {
    font-size: 1.6rem;
  }

  .highlight-box {
    padding: 1.2rem 1.4rem;
  }
}


/* DUNKLERES Overlay für bessere Lesbarkeit - KORRIGIERT */
.hero::after,
.hero_altmetall::after,
.hero_leistungen::after,
.hero_abbruch::after,
.hero_entsorgung::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg, 
    rgba(0, 0, 0, 0.6) 0%, 
    rgba(0, 0, 0, 0.4) 50%, 
    rgba(0, 0, 0, 0.6) 100%
  );
  z-index: 1;
}

.hero-inner{ 
  position:relative; 
  z-index: 2; 
  max-width:860px; 
  margin: 0 auto;
  padding: 20px;
}

/* Text kontrastreicher gestalten */
.hero h2 {
  font-size: 32px;
  margin: 10px 0;
  color: var(--white);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
  font-weight: 700;
}

.hero p {
  color: #ffffff;
  font-size: 18px;
  margin-bottom: 18px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
  font-weight: 500;
  line-height: 1.6;
}

.hero .badge {
  display: inline-block;
  background: rgba(255, 244, 230, 0.95);
  color: #bf620a;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700;
  margin-bottom: 15px;
  text-shadow: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Buttons */
.btn{ 
  text-decoration:none; 
  display:inline-block; 
  border-radius:10px; 
  padding:10px 16px; 
  font-weight:700; 
  transition: all 0.3s ease;
}
.btn-primary{ 
  background:var(--orange); 
  color:var(--white); 
}
.btn-primary:hover{ 
  background:var(--orange-dark); 
  transform:translateY(-2px); 
}
.btn-outline{ 
  background:transparent; 
  border:2px solid var(--orange); 
  color:var(--orange); 
}
.btn-outline:hover {
  background: var(--orange);
  color: var(--white);
}
.btn-ghost{ 
  background:transparent; 
  border:2px solid #ddd; 
  color:var(--text); 
}
.btn-ghost:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 18px;
}

/* Hero Button Styles für bessere Sichtbarkeit */
.hero-ctas .btn {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border: none;
}

.hero-ctas .btn-outline {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.8) !important;
  color: white !important;
}

.hero-ctas .btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.5) !important;
  color: white !important;
}

/* Services grid */
.services { 
  margin-top:20px; 
  display:grid; 
  gap:20px; 
  grid-template-columns: repeat(3, 1fr); 
}
article { 
  background: var(--white); 
  padding:18px; 
  border-radius:12px; 
  box-shadow: var(--shadow); 
  transition: transform 0.2s ease;
}
article:hover {
  transform: translateY(-5px);
}
article h4{ 
  color:var(--orange-dark); 
  margin-bottom:8px; 
}
.lead{ 
  color:var(--muted); 
  margin-bottom:14px; 
  font-size: 1.1rem;
}

/* Callout */
.callout{ 
  margin:30px 0; 
  padding:18px; 
  border-radius:10px; 
  background:#fff8f1; 
  border:1px solid #ffe6cc; 
  text-align:center; 
}
.callout .phone{ 
  font-weight:700; 
  margin:12px 0 18px; 
  font-size: 1.2rem;
}

/* Footer links */
.footer-links .cols{ 
  display:flex; 
  gap:20px; 
  flex-wrap:wrap; 
}
.footer-links h5{ 
  margin-bottom:8px; 
  color:var(--text); 
}
.content-container {
            display: flex;
            align-items: flex-start;
            gap: 20px;
            margin: 20px 0;
        }
        
        .article-image-left {
            max-width: 300px;
            height: auto;
            flex-shrink: 0;
        }
        
        ul {
            margin: 0;
            padding-left: 20px;
        }
        
        li {
            margin-bottom: 10px;
            line-height: 1.5;
        }
        
        /* Responsive Design für mobile Geräte */
        @media (max-width: 768px) {
            .content-container {
                flex-direction: column;
            }
            
            .article-image-left {
                max-width: 100%;
            }
        }

/* Footer */
footer p {
  font-size: 8px !important;
  line-height: 1.4;
}
footer{ 
  line-height: 1.4;
  margin-top:30px; 
  background:var(--white); 
  /*color:var(--muted);*/ 
  color: #444;
  border-top:1px solid #eee; 
}
.footer-inner{ 
  padding:20px; 
  text-align:center; 
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Content sections */
.content-section {
  max-width: var(--max-width);
  margin: 30px auto;
  padding: 0 var(--container-padding);
}

/* Table styles */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

th, td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

th {
  background-color: #f8f9fa;
  font-weight: 600;
}

tr:hover {
  background-color: #f8f9fa;
}

/* Für noch bessere Lesbarkeit der Tabellen */
@media (max-width: 768px) {
  table {
    font-size: 14px;
  }
  th, td {
    padding: 8px 10px;
  }
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 30px auto;
}

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

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
  font-size: 16px;
  box-sizing: border-box;
}

.form-textarea {
  min-height: 200px;
  resize: vertical;
  line-height: 1.5;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

/* Fixed call button for mobile */
.fixed-call {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 1200;
  display: none; /* Standardmäßig ausgeblendet */
}
.fixed-call a{
  display:inline-block;
  background:var(--orange);
  color:var(--white);
  padding:12px 16px;
  border-radius:999px;
  text-decoration:none;
  font-weight:700;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  transition: all 0.2s ease;
}
.fixed-call a:hover {
  background: var(--orange-dark);
  transform: scale(1.05);
}

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

/* Bei Desktop: Navigation immer anzeigen, Toggle ausblenden */
@media (min-width: 769px) {
  .menu-toggle {
    display: none !important;
  }
  .main-nav {
    display: flex !important;
  }
  .fixed-call {
    display: none !important;
  }
}

/* Tablet */
@media (max-width: 1024px){
  .services{ grid-template-columns: repeat(2, 1fr); }
  .logo{ height:52px; }
}

/* Mobile */
@media (max-width: 768px){
  .header-inner{ 
    align-items:center; 
    gap:10px; 
    padding:12px; 
    flex-wrap: wrap;
  }
  
  /* Menu toggle bei Mobile anzeigen */
  .menu-toggle { 
    display: block; 
    margin-left: auto; 
  }
  
  .main-nav{ 
    display: none; 
    position: absolute; 
    top: 70px; 
    right: 12px; 
    background: rgba(255,255,255,0.98); 
    padding: 12px; 
    border-radius: 10px; 
    box-shadow: var(--shadow); 
    flex-direction: column; 
    min-width: 200px; 
    z-index: 999; 
  }
  
  .main-nav.active{ 
    display: flex; 
  }
  
  .main-nav .nav-link{ 
    padding: 10px 14px; 
    display: block; 
    width: 100%; 
    color: #222; 
  }
  
  .call-button{ 
    display: none; 
  }

  .hero, 
  .hero_altmetall, 
  .hero_leistungen, 
  .hero_abbruch, 
  .hero_entsorgung { 
    padding: 28px 12px; 
    height: auto; 
    min-height: 42vh; 
  }
  
  .hero h2{ 
    font-size: 22px; 
  }
  
  .services{ 
    grid-template-columns: 1fr; 
  }
  
  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }
  
  /* Fixed call button auf Mobile anzeigen */
  .fixed-call {
    display: block;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .hero-inner {
    padding: 10px;
  }
  .hero h2 {
    font-size: 20px;
  }
  .hero p {
    font-size: 14px;
  }
  .btn {
    padding: 8px 12px;
    font-size: 14px;
  }
}

/* Small visual helpers */
a { color: var(--orange); }
p { color: var(--muted); }

/* End of stylesheet */