/*
Theme Name:  GdS Gebäudedienst Schmitt
Theme URI:   https://www.gds-kl.de
Author:      GdS Gebäudedienst Schmitt
Description: Modernes Theme für GdS Gebäudedienst Schmitt – Reinigung, Gym-Service, Trockenbau
Version:     1.0
License:     GNU General Public License v2 or later
Text Domain: gds-theme
*/

/* ═══════════════════════════════════════════════════════
   GdS Theme – Modern Enhancement | Blue Color Scheme
═══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --blue-50:   #eff6ff;
  --blue-100:  #dbeafe;
  --blue-200:  #bfdbfe;
  --blue-500:  #3b82f6;
  --blue-600:  #2563eb;
  --blue-700:  #1d4ed8;
  --blue-800:  #1e40af;
  --gray-50:   #f9fafb;
  --gray-100:  #f3f4f6;
  --gray-200:  #e5e7eb;
  --gray-400:  #9ca3af;
  --gray-500:  #6b7280;
  --gray-600:  #4b5563;
  --gray-700:  #374151;
  --gray-800:  #1f2937;
  --gray-900:  #111827;
  --white:     #ffffff;
  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.06);
  --shadow-lg:  0 12px 40px rgba(0,0,0,0.10), 0 4px 12px rgba(0,0,0,0.06);
  --shadow-xl:  0 24px 64px rgba(0,0,0,0.12), 0 8px 20px rgba(0,0,0,0.08);
  --shadow-blue: 0 8px 24px rgba(37,99,235,0.28);
  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Segoe UI', system-ui, Arial, sans-serif;
  background: var(--white);
  color: var(--gray-700);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--blue-200); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue-500); }

/* ── Header ── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(229,231,235,0.8);
  box-shadow: 0 1px 12px rgba(0,0,0,0.06);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.10); }
.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  height: 130px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.logo-wrap { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; color: var(--gray-900); flex-shrink: 0; }
.logo-wrap img { height: 120px; width: auto; }
.logo-fallback { background: var(--blue-600); color: white; font-weight: 800; font-size: 1.1rem; padding: 6px 14px; border-radius: var(--radius-md); }

.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav a { padding: 7px 15px; border-radius: var(--radius-sm); font-size: 0.9rem; font-weight: 500; color: var(--gray-600); transition: color var(--transition), background var(--transition); white-space: nowrap; }
.main-nav a:hover, .main-nav a.active { color: var(--blue-600); background: var(--blue-50); }
.main-nav a.nav-highlight { color: var(--blue-600); font-weight: 600; }
.main-nav a.active { font-weight: 600; }

.header-phone { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; font-weight: 600; color: var(--blue-600); border: 1.5px solid var(--blue-200); border-radius: var(--radius-md); padding: 7px 14px; transition: all var(--transition); flex-shrink: 0; }
.header-phone:hover { background: var(--blue-600); color: white; border-color: var(--blue-600); box-shadow: var(--shadow-blue); }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; border-radius: var(--radius-sm); }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--gray-700); border-radius: 2px; transition: transform var(--transition), opacity var(--transition); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu { display: none; position: fixed; top: 130px; left: 0; right: 0; background: rgba(255,255,255,0.97); backdrop-filter: blur(20px); border-bottom: 1px solid var(--gray-200); padding: 12px 20px 20px; z-index: 99; flex-direction: column; gap: 2px; box-shadow: var(--shadow-lg); }
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 11px 14px; border-radius: var(--radius-sm); font-size: 0.95rem; font-weight: 500; color: var(--gray-700); transition: color var(--transition), background var(--transition); }
.mobile-menu a:hover, .mobile-menu a.active { color: var(--blue-600); background: var(--blue-50); }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: inherit; font-size: 0.92rem; font-weight: 600; border-radius: var(--radius-md); padding: 11px 24px; border: none; cursor: pointer; transition: all var(--transition); white-space: nowrap; line-height: 1; }
.btn-primary { background: var(--blue-600); color: white; }
.btn-primary:hover { background: var(--blue-700); box-shadow: var(--shadow-blue); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--gray-700); border: 1.5px solid #d1d5db; }
.btn-outline:hover { background: var(--gray-50); border-color: var(--gray-400); transform: translateY(-1px); }
.btn-lg { padding: 14px 30px; font-size: 1rem; }
.btn-sm { padding: 8px 16px; font-size: 0.83rem; }

/* ── Page Hero ── */
.page-hero { background: linear-gradient(135deg, var(--blue-50) 0%, #f0f4ff 50%, var(--gray-50) 100%); padding: 64px 24px 72px; border-bottom: 1px solid var(--gray-200); position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; top: -80px; right: -80px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(37,99,235,0.06) 0%, transparent 70%); pointer-events: none; }
.page-hero-inner { max-width: 1200px; margin: 0 auto; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--gray-500); margin-bottom: 20px; }
.breadcrumb a { color: var(--blue-600); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: var(--gray-400); }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; color: var(--gray-900); line-height: 1.15; letter-spacing: -0.5px; margin-bottom: 14px; }
.page-hero p { font-size: 1.1rem; color: var(--gray-600); max-width: 580px; line-height: 1.7; }

/* ── Sections ── */
.section { padding: 80px 24px; }
.section-sm { padding: 56px 24px; }
.section-bg { background: var(--gray-50); }
.section-blue { background: var(--blue-50); }
.container { max-width: 1200px; margin: 0 auto; }

.section-label { display: inline-block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--blue-600); background: var(--blue-50); border: 1px solid var(--blue-100); border-radius: 50px; padding: 4px 14px; margin-bottom: 14px; }
.section-title { font-size: clamp(1.7rem, 3.5vw, 2.5rem); font-weight: 800; color: var(--gray-900); line-height: 1.2; letter-spacing: -0.4px; margin-bottom: 14px; }
.section-sub { font-size: 1.05rem; color: var(--gray-500); line-height: 1.7; max-width: 540px; }
.section-header { margin-bottom: 52px; }
.section-header.center { text-align: center; }
.section-header.center .section-sub { margin: 0 auto; }

/* ── Cards ── */
.card { background: white; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition); overflow: hidden; }
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--blue-100); }
.card-body { padding: 28px; }

.service-card .card-image { height: 200px; overflow: hidden; background: var(--blue-50); }
.service-card .card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.service-card:hover .card-image img { transform: scale(1.04); }
.service-card h3 { font-size: 1.2rem; font-weight: 700; color: var(--blue-600); margin-bottom: 8px; }
.service-card p { font-size: 0.92rem; color: var(--gray-600); line-height: 1.65; }
.card-link { display: inline-flex; align-items: center; gap: 5px; font-size: 0.85rem; font-weight: 600; color: var(--blue-600); margin-top: 18px; transition: gap var(--transition); }
.card-link:hover { gap: 9px; }

.usp-card { background: white; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 36px 28px; text-align: center; box-shadow: var(--shadow-sm); transition: box-shadow var(--transition), transform var(--transition); }
.usp-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.usp-icon { width: 68px; height: 68px; background: var(--blue-50); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; box-shadow: 0 4px 12px rgba(37,99,235,0.12); transition: box-shadow var(--transition); }
.usp-card:hover .usp-icon { box-shadow: 0 8px 24px rgba(37,99,235,0.2); }
.usp-icon svg { color: var(--blue-600); }
.usp-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--gray-900); margin-bottom: 10px; }
.usp-card p { font-size: 0.9rem; color: var(--gray-500); line-height: 1.65; }

/* ── Checklist ── */
.checklist { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.95rem; color: var(--gray-600); line-height: 1.55; }
.check-badge { flex-shrink: 0; width: 22px; height: 22px; background: var(--blue-600); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.check-badge svg { width: 11px; height: 11px; }

/* ── CTA Banner ── */
.cta-banner { background: linear-gradient(135deg, var(--blue-600) 0%, var(--blue-800) 100%); border-radius: var(--radius-xl); padding: 56px 48px; text-align: center; position: relative; overflow: hidden; }
.cta-banner::before { content: ''; position: absolute; top: -60px; right: -60px; width: 280px; height: 280px; border-radius: 50%; background: rgba(255,255,255,0.05); pointer-events: none; }
.cta-banner::after { content: ''; position: absolute; bottom: -80px; left: -40px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,0.04); pointer-events: none; }
.cta-banner h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: white; margin-bottom: 14px; position: relative; }
.cta-banner p { color: rgba(255,255,255,0.8); font-size: 1.05rem; margin-bottom: 32px; position: relative; }
.btn-white { background: white; color: var(--blue-600); font-weight: 700; }
.btn-white:hover { background: var(--blue-50); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.btn-outline-white { background: transparent; color: white; border: 2px solid rgba(255,255,255,0.4); }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.7); transform: translateY(-2px); }

/* ── Contact Form ── */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.83rem; font-weight: 600; color: var(--gray-700); margin-bottom: 7px; }
.form-control { width: 100%; padding: 11px 14px; border: 1.5px solid var(--gray-200); border-radius: var(--radius-md); font-size: 0.93rem; font-family: inherit; color: var(--gray-800); background: white; transition: border-color var(--transition), box-shadow var(--transition); outline: none; }
.form-control::placeholder { color: var(--gray-400); }
.form-control:focus { border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(37,99,235,0.10); }
textarea.form-control { min-height: 130px; resize: vertical; }
select.form-control { cursor: pointer; }

/* ── Footer ── */
.site-footer { background: var(--gray-900); color: var(--gray-400); padding: 64px 24px 32px; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-desc { font-size: 0.88rem; color: var(--gray-500); line-height: 1.7; margin-top: 16px; }
.footer-col h4 { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; color: #d1d5db; margin-bottom: 18px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.88rem; color: var(--gray-500); transition: color var(--transition); }
.footer-links a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 28px; display: flex; justify-content: space-between; align-items: center; font-size: 0.82rem; flex-wrap: wrap; gap: 12px; }
.footer-bottom a { color: var(--gray-500); }
.footer-bottom a:hover { color: white; }

/* ── Grids ── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }

/* ── Animations ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Leistungen Detail ── */
.service-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 72px 0; border-bottom: 1px solid var(--gray-200); }
.service-detail:last-child { border-bottom: none; }
.service-detail.reverse { direction: rtl; }
.service-detail.reverse > * { direction: ltr; }
.service-detail-img { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow-lg); background: var(--blue-50); display: flex; align-items: center; justify-content: center; }
.service-detail-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.service-detail-img:hover img { transform: scale(1.03); }
.service-number { font-size: 4rem; font-weight: 900; color: var(--blue-100); line-height: 1; margin-bottom: 8px; }
.service-detail h2 { font-size: 2rem; font-weight: 800; color: var(--gray-900); margin-bottom: 16px; letter-spacing: -0.3px; }
.service-detail p { color: var(--gray-500); line-height: 1.75; margin-bottom: 12px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tag { background: var(--blue-50); color: var(--blue-700); border: 1px solid var(--blue-100); border-radius: 50px; padding: 4px 14px; font-size: 0.8rem; font-weight: 600; }

/* ── Gym Service ── */
.solution-card { background: white; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 40px 36px; box-shadow: var(--shadow-sm); transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition); position: relative; overflow: hidden; }
.solution-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--blue-600), var(--blue-400)); transform: scaleX(0); transform-origin: left; transition: transform var(--transition); }
.solution-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--blue-100); }
.solution-card:hover::before { transform: scaleX(1); }
.solution-icon { width: 60px; height: 60px; background: var(--blue-50); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; border: 1px solid var(--blue-100); }
.solution-card h3 { font-size: 1.3rem; font-weight: 700; color: var(--gray-900); margin-bottom: 12px; }
.solution-card p { color: var(--gray-500); line-height: 1.7; font-size: 0.95rem; }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.process-grid::before { content: ''; position: absolute; top: 28px; left: 12.5%; right: 12.5%; height: 2px; background: linear-gradient(90deg, var(--blue-200), var(--blue-400), var(--blue-200)); z-index: 0; }
.process-step { text-align: center; padding: 0 16px 16px; position: relative; z-index: 1; }
.step-num { width: 56px; height: 56px; background: var(--blue-600); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; font-weight: 800; margin: 0 auto 20px; border: 4px solid white; box-shadow: 0 0 0 2px var(--blue-200), var(--shadow-md); }
.process-step h4 { font-size: 0.98rem; font-weight: 700; color: var(--gray-900); margin-bottom: 8px; }
.process-step p { font-size: 0.83rem; color: var(--gray-500); line-height: 1.6; }

.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.feature-item { display: flex; align-items: flex-start; gap: 14px; padding: 20px; background: white; border: 1px solid var(--gray-200); border-radius: var(--radius-md); transition: border-color var(--transition), box-shadow var(--transition); }
.feature-item:hover { border-color: var(--blue-200); box-shadow: var(--shadow-sm); }
.feature-dot { flex-shrink: 0; width: 52px; height: 52px; background: var(--blue-600); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.feature-dot svg { width: 26px; height: 26px; }
.feature-item h4 { font-size: 0.92rem; font-weight: 700; color: var(--gray-800); margin-bottom: 4px; }
.feature-item p { font-size: 0.85rem; color: var(--gray-500); line-height: 1.55; }

/* ── Contact Page ── */
.contact-info-card { background: white; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.contact-info-header { background: linear-gradient(135deg, var(--blue-600), var(--blue-800)); padding: 28px; }
.contact-info-header h3 { color: white; font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; }
.contact-info-header p { color: rgba(255,255,255,0.75); font-size: 0.88rem; }
.contact-info-item { display: flex; align-items: flex-start; gap: 16px; padding: 18px 28px; border-bottom: 1px solid var(--gray-100); transition: background var(--transition); }
.contact-info-item:last-child { border-bottom: none; }
.contact-info-item:hover { background: var(--gray-50); }
.ci-icon { width: 40px; height: 40px; background: var(--blue-50); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; flex-shrink: 0; border: 1px solid var(--blue-100); }
.ci-label { font-size: 0.75rem; color: var(--gray-400); font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 3px; }
.ci-value { font-size: 0.92rem; color: var(--gray-800); font-weight: 600; }
.ci-value a { color: var(--blue-600); }

.form-card { background: white; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-sm); }
.form-card h2 { font-size: 1.5rem; font-weight: 800; color: var(--gray-900); margin-bottom: 6px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── Über uns ── */
.value-card { background: white; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 32px 28px; box-shadow: var(--shadow-sm); transition: box-shadow var(--transition), transform var(--transition); }
.value-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.value-icon { width: 52px; height: 52px; background: var(--blue-50); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; border: 1px solid var(--blue-100); }
.value-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--gray-900); margin-bottom: 8px; }
.value-card p { font-size: 0.88rem; color: var(--gray-500); line-height: 1.65; }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--gray-200); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.stat-box { background: white; padding: 36px 24px; text-align: center; }
.stat-num { font-size: 2.4rem; font-weight: 900; color: var(--blue-600); line-height: 1; margin-bottom: 6px; }
.stat-label { font-size: 0.85rem; color: var(--gray-500); font-weight: 500; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .main-nav, .header-phone { display: none; }
  .hamburger { display: flex; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .section { padding: 56px 20px; }
  .page-hero { padding: 48px 20px 56px; }
  .cta-banner { padding: 40px 24px; }
  .service-detail { grid-template-columns: 1fr; gap: 32px; }
  .service-detail.reverse { direction: ltr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-grid::before { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .cta-btns { flex-direction: column; }
  .cta-btns .btn { width: 100%; }
  .process-grid { grid-template-columns: 1fr; }
}
