/* Salecker Dachwerk GbR - Main Stylesheet */

:root {
  --primary: #c23b22;         /* Warm Dachziegel Red */
  --primary-hover: #a02d18;
  --secondary: #1e293b;       /* Dark slate / Anthracite */
  --accent: #f59e0b;          /* Safety Gold / Notdienst Amber */
  --accent-light: #fef3c7;
  --bg-dark: #0f172a;
  --bg-light: #f8fafc;
  --surface: #ffffff;
  --surface-alt: #f1f5f9;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --text-light: #f8fafc;
  --border: #e2e8f0;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 10px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.05);
  --shadow-lg: 0 20px 30px -10px rgba(0,0,0,0.15);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-family);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
}

/* Top Bar */
.top-bar {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 8px 0;
  font-size: 0.875rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.top-bar-info {
  display: flex;
  gap: 20px;
  align-items: center;
}

.top-bar-info div {
  display: flex;
  align-items: center;
  gap: 6px;
}

.badge-emergency {
  background-color: var(--accent);
  color: var(--bg-dark);
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
  70% { transform: scale(1.03); box-shadow: 0 0 0 8px rgba(245, 158, 11, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

/* Header & Navigation */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--secondary);
  max-width: calc(100% - 60px);
}

.logo img {
  height: 44px;
  width: auto;
  flex-shrink: 0;
}

.logo-text {
  min-width: 0;
}

.logo-text h1 {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.logo-text span {
  font-size: 0.7rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}

.nav-links {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 6px;
  list-style: none !important;
  align-items: center;
  margin: 0;
  padding: 4px 8px;
  background: var(--surface-alt);
  border-radius: 40px;
  border: 1px solid var(--border);
}

.nav-links li {
  margin: 0;
  padding: 0;
  list-style: none !important;
  display: inline-block !important;
}

.nav-links a {
  text-decoration: none;
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 16px;
  border-radius: 30px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--primary);
  background: rgba(255, 255, 255, 0.8);
  transform: translateY(-1px);
}

.nav-links a.active {
  color: white;
  background: var(--primary);
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(194, 59, 34, 0.3);
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--primary);
  color: white;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 4px 14px rgba(194, 59, 34, 0.35);
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.cta-btn:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(194, 59, 34, 0.45);
}

.cta-btn-accent {
  background-color: var(--accent);
  color: var(--bg-dark);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.cta-btn-accent:hover {
  background-color: #d97706;
  color: white;
}

.cta-btn-outline {
  background-color: transparent;
  color: var(--secondary);
  border: 2px solid var(--secondary);
  box-shadow: none;
}

.cta-btn-outline:hover {
  background-color: var(--secondary);
  color: white;
}

/* Container */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Hero Section - Meisterbetrieb Design with Realistic Overlay */
.hero {
  position: relative;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.94) 0%, rgba(15, 23, 42, 0.82) 50%, rgba(15, 23, 42, 0.92) 100%), url('hero_roof_worker.jpg') center/cover no-repeat;
  color: white;
  padding: 70px 0 90px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.hero-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  padding: 8px 18px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.875rem;
  color: #f1f5f9;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.hero-title .highlight-subtext {
  display: block;
  color: var(--accent);
  font-size: 2.2rem;
  font-weight: 800;
  margin-top: 4px;
}

.hero-title .hero-location {
  display: block;
  font-size: 1.25rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 8px;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 28px;
  max-width: 580px;
  line-height: 1.5;
}

/* 4 Vorteils-Karten im Hero */
.hero-usps-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 32px;
}

.hero-usp-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255, 255, 255, 0.06);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-usp-card i {
  color: var(--accent);
  font-size: 1.25rem;
  margin-top: 2px;
}

.hero-usp-card strong {
  display: block;
  font-size: 0.9rem;
  color: white;
  margin-bottom: 2px;
}

.hero-usp-card span {
  display: block;
  font-size: 0.775rem;
  color: rgba(255, 255, 255, 0.75);
}

/* CTA & Direct Call Buttons */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-btn-primary {
  background-color: var(--primary);
  color: white;
  padding: 14px 28px;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(194, 59, 34, 0.4);
}

.hero-direct-call {
  display: flex;
  flex-direction: column;
}

.hero-direct-call .call-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-direct-call .call-number {
  color: white;
  font-size: 1.2rem;
  font-weight: 800;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-direct-call .call-number:hover {
  color: var(--accent);
}

/* Compact Trust Strip */
.trust-strip {
  background-color: #0b1329;
  border-bottom: 3px solid var(--primary);
  padding: 18px 0;
  color: white;
}

.trust-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-item i {
  font-size: 1.6rem;
  color: var(--accent);
}

.trust-item strong {
  display: block;
  font-size: 0.925rem;
  color: white;
  line-height: 1.2;
}

.trust-item span {
  display: block;
  font-size: 0.775rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Kleinaufträge Section */
.small-jobs-box {
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 32px;
  align-items: center;
}

.small-jobs-badge-card {
  background: var(--surface-alt);
  padding: 30px;
  border-radius: var(--radius-md);
  text-align: center;
  border-top: 4px solid var(--primary);
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.project-img-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.project-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-img-wrapper img {
  transform: scale(1.05);
}

.project-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--secondary);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
}

.project-info {
  padding: 20px;
}

.project-info h4 {
  font-size: 1.1rem;
  color: var(--secondary);
  margin-bottom: 6px;
}

.project-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Quick Inquiry Card */
.inquiry-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  padding: 32px;
  color: var(--text-dark);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.inquiry-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 8px;
}

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

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

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 6px;
  color: var(--secondary);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
  background-color: white;
  color: var(--text-dark);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(194, 59, 34, 0.15);
}

/* Modern Select Dropdown Styling */
select.form-control {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231e293b'%3E%3Cpath d='M11.9999 13.1714L16.9497 8.22168L18.3639 9.63589L11.9999 16L5.63599 9.63589L7.0502 8.22168L11.9999 13.1714Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 42px;
  cursor: pointer;
  font-weight: 500;
  border-radius: var(--radius-sm);
  background-color: #f8fafc;
  border: 1.5px solid #cbd5e1;
}

select.form-control:hover {
  border-color: var(--primary);
  background-color: white;
}

select.form-control:focus {
  background-color: white;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(194, 59, 34, 0.15);
}

select.form-control option {
  padding: 10px;
  background-color: white;
  color: var(--text-dark);
  font-size: 0.95rem;
}

textarea.form-control {
  resize: vertical;
  min-height: 90px;
}

/* Highlights Banner */
.highlights-banner {
  background-color: var(--secondary);
  color: white;
  padding: 40px 0;
  border-bottom: 4px solid var(--primary);
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.highlight-box {
  padding: 16px;
}

.highlight-number {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.highlight-text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
}

/* Services Section */
.section {
  padding: 90px 0;
}

.section-alt {
  background-color: var(--surface-alt);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 56px;
}

.section-tag {
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.85rem;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--secondary);
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.section-description {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-img {
  height: 220px;
  width: 100%;
  object-fit: cover;
}

.service-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-icon {
  width: 48px;
  height: 48px;
  background-color: var(--accent-light);
  color: var(--accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.service-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 12px;
}

.service-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-list {
  list-style: none;
  margin-bottom: 24px;
}

.service-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--secondary);
  margin-bottom: 6px;
}

.service-list li i {
  color: var(--primary);
}

/* Guarantee / Comparison Section */
.why-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.comparison-box {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--primary);
}

.comparison-box h3 {
  font-size: 1.5rem;
  color: var(--secondary);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.comparison-item {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.comparison-icon {
  background-color: rgba(34, 197, 94, 0.1);
  color: #16a34a;
  padding: 10px;
  border-radius: 50%;
  font-size: 1.2rem;
}

.comparison-content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--secondary);
}

.comparison-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Service Area Section */
.area-box {
  background: var(--bg-dark);
  color: white;
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Dynamic Interactivity & Animations */
.area-tag {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 10px 22px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.925rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(8px);
}

.area-tag:hover, .area-tag.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 8px 20px rgba(194, 59, 34, 0.4);
}

.area-tag.primary {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  box-shadow: 0 4px 14px rgba(194, 59, 34, 0.3);
}

/* Dynamic Interactive Cards */
.dynamic-card {
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.dynamic-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.dynamic-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
  border-color: rgba(194, 59, 34, 0.3);
}

.dynamic-card:hover::before {
  opacity: 1;
}

/* Scroll Fade In Animation */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Interactive Accordion Customization */
details summary {
  user-select: none;
  transition: color 0.3s ease;
}

details summary:hover {
  color: var(--primary);
}

details[open] summary i.fa-chevron-down {
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}

details summary i.fa-chevron-down {
  transition: transform 0.3s ease;
}

/* Pulsing Badge Icon */
.pulse-icon {
  animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
  0% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(245, 158, 11, 0.7)); }
  50% { transform: scale(1.1); filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.9)); }
  100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(245, 158, 11, 0.7)); }
}


/* Contact Footer & Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background-color: var(--surface-alt);
  color: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.contact-details h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--secondary);
}

.contact-details p, .contact-details a {
  font-size: 0.95rem;
  color: var(--text-muted);
  text-decoration: none;
}

.contact-details a:hover {
  color: var(--primary);
}

footer {
  background-color: var(--bg-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 24px;
  font-size: 0.9rem;
}

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

.footer-about h3 {
  color: white;
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.footer-links h4 {
  color: white;
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer-links ul {
  list-style: none;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* Floating Emergency Button */
.floating-emergency {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  background-color: var(--primary);
  color: white;
  padding: 14px 22px;
  border-radius: 50px;
  box-shadow: 0 8px 25px rgba(194, 59, 34, 0.5);
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
}

.floating-emergency:hover {
  transform: scale(1.05);
  background-color: var(--primary-hover);
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--secondary);
  max-width: 80%;
}

.logo img {
  height: 40px;
  width: auto;
  flex-shrink: 0;
}

.logo-text {
  min-width: 0;
  flex-shrink: 1;
}

.logo-text h1 {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.logo-text span {
  font-size: 0.65rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Header Action Buttons (Mobile Phone & Hamburger) */
.header-actions {
  display: none;
  align-items: center;
  gap: 10px;
}

.header-phone-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--accent);
  color: var(--bg-dark);
  border-radius: var(--radius-sm);
  font-size: 1.15rem;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(245, 158, 11, 0.35);
}

/* Floating Emergency Bar (Sticky Bottom Bar) */
.floating-emergency {
  position: fixed;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background-color: var(--primary);
  color: white;
  padding: 11px 20px;
  border-radius: 40px;
  box-shadow: 0 8px 25px rgba(194, 59, 34, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  font-size: 0.9rem;
  z-index: 9999;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.floating-emergency i {
  font-size: 1.1rem;
  color: var(--accent);
}

body {
  padding-bottom: 64px;
}

/* Mobile & Tablet Responsive Layout */
@media (max-width: 900px) {
  .hero-grid, .why-us-grid, .contact-grid, .small-jobs-box, .projects-grid, .services-grid {
    grid-template-columns: 1fr;
  }
  
  .highlights-grid, .footer-grid, .trust-strip-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .header-actions {
    display: flex;
  }

  .header-desktop-cta {
    display: none !important;
  }

  .top-bar {
    display: none !important;
  }

  .nav-container {
    height: 64px;
    padding: 0 16px;
  }

  .logo img {
    height: 38px;
  }

  .logo-text h1 {
    font-size: 0.95rem;
  }

  .logo-text span {
    font-size: 0.55rem;
  }

  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: var(--surface-alt);
    border-radius: var(--radius-sm);
    font-size: 1.3rem;
    color: var(--secondary);
    border: none;
    cursor: pointer;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column !important;
    padding: 16px 20px;
    gap: 4px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    border-bottom: 3px solid var(--primary);
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-top: none;
    display: none !important;
    z-index: 1001;
  }

  .nav-links.active {
    display: flex !important;
  }

  .nav-links a {
    font-size: 1.05rem;
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
    width: 100%;
    border-radius: 6px;
    background: transparent;
    color: var(--secondary);
  }

  .nav-links a:hover {
    background: var(--surface-alt);
    color: var(--primary);
  }

  .nav-links a.active {
    background: var(--primary);
    color: white;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 32px 0 44px;
  }

  .hero-trust-badge {
    font-size: 0.775rem;
    padding: 6px 14px;
    margin-bottom: 16px;
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .hero-title {
    font-size: 1.75rem;
    line-height: 1.2;
    margin-bottom: 12px;
  }

  .hero-title .highlight-subtext {
    font-size: 1.35rem;
  }

  .hero-title .hero-location {
    font-size: 0.95rem;
    margin-top: 4px;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  .hero-usps-list {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 24px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .cta-btn-primary {
    width: 100%;
    text-align: center;
    padding: 14px;
  }

  .hero-direct-call {
    align-items: center;
    text-align: center;
    background: rgba(255, 255, 255, 0.08);
    padding: 10px;
    border-radius: var(--radius-sm);
  }

  .trust-strip-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .trust-item {
    font-size: 0.8rem;
  }

  .small-jobs-box {
    padding: 24px 16px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 36px 0;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .inquiry-card {
    padding: 20px 16px;
  }

/* Modern Modal Popup & Cookie Banner */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.popup-container {
  background: white;
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  padding: 32px 28px 28px;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border);
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.popup-overlay.active .popup-container {
  transform: scale(1);
}

.popup-close-btn {
  position: absolute;
  top: 14px;
  right: 16px;
  background: var(--surface-alt);
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.popup-close-btn:hover {
  background: var(--primary);
  color: white;
}

.popup-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-light);
  color: #b45309;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.popup-header h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.25;
  margin-bottom: 8px;
}

.popup-header p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.5;
}

.popup-call-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  color: white;
  text-decoration: none;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  box-shadow: 0 6px 18px rgba(194, 59, 34, 0.35);
  margin-bottom: 16px;
  transition: var(--transition);
}

.popup-call-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(194, 59, 34, 0.45);
}

.popup-call-btn i {
  font-size: 1.6rem;
  color: var(--accent);
}

.popup-call-btn strong {
  display: block;
  font-size: 0.95rem;
}

.popup-call-btn span {
  display: block;
  font-size: 0.8rem;
  opacity: 0.9;
}

.popup-divider {
  text-align: center;
  position: relative;
  margin: 16px 0;
}

.popup-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--border);
}

.popup-divider span {
  position: relative;
  background: white;
  padding: 0 12px;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Cookie Consent Banner - z-index höher als Floating Bar & mit sauberem Bottom Offset */
.cookie-banner {
  position: fixed;
  bottom: 72px;
  left: 16px;
  right: 16px;
  max-width: 540px;
  margin: 0 auto;
  background: #0f172a;
  color: white;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  z-index: 10005;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transform: translateY(180%);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cookie-banner.active {
  transform: translateY(0);
}

.cookie-content {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.cookie-content p {
  font-size: 0.8rem;
  line-height: 1.4;
  color: rgba(255,255,255,0.9);
}

.cookie-buttons {
  display: flex;
  gap: 8px;
  width: 100%;
  justify-content: flex-end;
}

.cookie-btn {
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.825rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.cookie-accept {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 12px rgba(194, 59, 34, 0.35);
}

.cookie-accept:hover {
  background: var(--primary-hover);
}

.cookie-deny {
  background: rgba(255,255,255,0.15);
  color: white;
}

.cookie-deny:hover {
  background: rgba(255,255,255,0.25);
}

@media (min-width: 769px) {
  .cookie-banner {
    bottom: 24px;
    left: 24px;
    right: auto;
  }
  .cookie-buttons {
    width: auto;
  }
}



