/*
Theme Name: Bobe Handwerk & Dienstleistung – Neumorphism
Theme URI: https://bobe-handwerk-dienstleistung-1.lead.bummeltech.com/
Author: Bobe Handwerk & Dienstleistung
Description: Individuelles Neumorphism-Theme für Hausmeisterservice und Gebäudedienstleistungen
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: bobe-handwerk
*/

/* ============================================================
   DESIGN SYSTEM — Neumorphism / Soft UI Evolution
   uiux: "Soft UI embossed debossed" --design-system
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@300;400;500;600;700&family=Varela+Round&display=swap');

:root {
  /* Neumorphism Base */
  --bg:          #E8E8E8;
  --bg-light:    #F0F0F0;
  --bg-dark:     #D0D0D0;

  /* Neumorphism Shadows */
  --shadow-out:  -5px -5px 15px rgba(255,255,255,0.8), 5px 5px 15px rgba(0,0,0,0.12);
  --shadow-in:   inset -5px -5px 15px rgba(255,255,255,0.8), inset 5px 5px 15px rgba(0,0,0,0.12);
  --shadow-hover: -8px -8px 20px rgba(255,255,255,0.9), 8px 8px 20px rgba(0,0,0,0.14);
  --shadow-card: -6px -6px 18px rgba(255,255,255,0.85), 6px 6px 18px rgba(0,0,0,0.1);

  /* Brand Colors (Soft Pastels) */
  --color-primary:    #C8E0F4;
  --color-primary-d:  #A8C8E8;
  --color-secondary:  #F5E0E8;
  --color-secondary-d: #E8C8D4;
  --color-accent:     #0284C7;
  --color-accent-d:   #0369A1;

  /* Text */
  --color-fg:         #2D3748;
  --color-fg-muted:   #4A5568;
  --color-fg-light:   #718096;
  --color-on-accent:  #FFFFFF;

  /* UI */
  --color-border:     #DCDCDC;
  --radius:           14px;
  --radius-sm:        10px;
  --radius-lg:        20px;

  /* Typography */
  --font-head:  'Varela Round', 'Nunito Sans', sans-serif;
  --font-body:  'Nunito Sans', sans-serif;

  /* Transitions */
  --transition: 200ms ease;
  --transition-slow: 300ms ease;
}

/* ============================================================
   RESET & BASE
   ============================================================ */

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--color-fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--color-accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-accent-d); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--color-fg);
  line-height: 1.25;
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section--sm { padding: 48px 0; }
.section--lg { padding: 120px 0; }

/* ============================================================
   NEUMORPHISM COMPONENTS
   ============================================================ */

.neu-card {
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 32px;
  transition: box-shadow var(--transition-slow);
}

.neu-card:hover {
  box-shadow: var(--shadow-hover);
}

.neu-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg);
  color: var(--color-fg);
  border: none;
  border-radius: var(--radius-sm);
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-out);
  transition: box-shadow var(--transition), transform var(--transition);
  text-decoration: none;
}

.neu-btn:hover {
  box-shadow: var(--shadow-hover);
  color: var(--color-fg);
}

.neu-btn:active {
  box-shadow: var(--shadow-in);
  transform: scale(0.98);
}

.neu-btn:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
}

.neu-btn--primary {
  background: linear-gradient(145deg, var(--color-primary), var(--color-primary-d));
  color: var(--color-accent-d);
  box-shadow: -4px -4px 12px rgba(255,255,255,0.9), 4px 4px 12px rgba(0,0,0,0.12);
}

.neu-btn--accent {
  background: linear-gradient(145deg, var(--color-accent), var(--color-accent-d));
  color: #fff;
  box-shadow: -4px -4px 12px rgba(255,255,255,0.6), 4px 4px 12px rgba(2,132,199,0.3);
}

.neu-btn--accent:hover { color: #fff; }

.neu-input {
  background: var(--bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-in);
  padding: 12px 18px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-fg);
  width: 100%;
  transition: box-shadow var(--transition);
}

.neu-input:focus {
  outline: none;
  box-shadow: var(--shadow-in), 0 0 0 3px rgba(2,132,199,0.25);
}

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */

#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08), 0 -1px 0 rgba(255,255,255,0.9);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 72px;
  padding: 0 32px;
  max-width: 1280px;
  margin: 0 auto;
}

/* Logo */
.site-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo__name {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-fg);
  white-space: nowrap;
}

.site-logo__tagline {
  font-size: 11px;
  color: var(--color-fg-light);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

/* Desktop Nav */
#primary-nav {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
}

#primary-nav li { position: relative; }

#primary-nav li a {
  display: block;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-fg-muted);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

#primary-nav li a:hover,
#primary-nav li.current-menu-item a,
#primary-nav li.current-page-ancestor a {
  color: var(--color-accent);
  background: var(--bg);
  box-shadow: var(--shadow-out);
}

/* Header CTA */
.header-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-fg-muted);
  white-space: nowrap;
}

.header-phone svg { color: var(--color-accent); }

/* Burger Button */
#burger-btn {
  display: none;
  background: var(--bg);
  border: none;
  border-radius: var(--radius-sm);
  width: 44px;
  height: 44px;
  box-shadow: var(--shadow-out);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: box-shadow var(--transition);
  flex-shrink: 0;
}

#burger-btn:active { box-shadow: var(--shadow-in); }

#burger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-fg);
  border-radius: 2px;
  transition: all var(--transition-slow);
}

#burger-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#burger-btn.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
#burger-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav Overlay */
#mobile-nav {
  display: none;
  position: fixed;
  inset: 72px 0 0 0;
  background: var(--bg);
  z-index: 999;
  padding: 32px 24px;
  overflow-y: auto;
  box-shadow: 0 4px 30px rgba(0,0,0,0.12);
}

#mobile-nav.open { display: block; }

#mobile-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#mobile-nav ul li a {
  display: block;
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-fg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-out);
  text-decoration: none;
  transition: all var(--transition);
}

#mobile-nav ul li a:hover,
#mobile-nav ul li.current-menu-item a {
  color: var(--color-accent);
  box-shadow: var(--shadow-in);
}

/* ============================================================
   HERO / SLIDER
   ============================================================ */

.hero-slider {
  position: relative;
  overflow: hidden;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  min-height: 560px;
  background: var(--bg-dark);
}

.slide {
  display: none;
  position: relative;
  width: 100%;
  min-height: 560px;
}

.slide.active { display: flex; }

.slide__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.slide__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(200,224,244,0.7) 0%,
    rgba(0,0,0,0.35) 100%
  );
}

.slide__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 60px;
  min-height: 560px;
  max-width: 680px;
}

.slide__label {
  display: inline-block;
  background: rgba(255,255,255,0.25);
  backdrop-filter: blur(8px);
  border-radius: 99px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}

.slide__title {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 52px);
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
  margin-bottom: 16px;
}

.slide__text {
  font-size: 17px;
  color: rgba(255,255,255,0.92);
  margin-bottom: 32px;
  max-width: 480px;
}

.slider-controls {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}

.slider-dot.active {
  background: #fff;
  width: 28px;
  border-radius: 5px;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  z-index: 10;
}

.slider-arrow:hover { background: rgba(255,255,255,0.4); }
.slider-arrow--prev { left: 24px; }
.slider-arrow--next { right: 24px; }

/* ============================================================
   TRUST BAR
   ============================================================ */

.trust-bar {
  padding: 32px 0;
  background: var(--bg);
}

.trust-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px 48px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-fg-muted);
}

.trust-item svg { color: var(--color-accent); }

/* ============================================================
   SERVICES GRID
   ============================================================ */

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-label {
  display: inline-block;
  background: linear-gradient(145deg, var(--color-primary), var(--color-secondary));
  color: var(--color-accent-d);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 99px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-out);
}

.section-title {
  font-size: clamp(26px, 3vw, 40px);
  font-family: var(--font-head);
  color: var(--color-fg);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--color-fg-light);
  max-width: 560px;
  margin: 0 auto;
}

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

.service-card {
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: box-shadow var(--transition-slow), transform var(--transition-slow);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
  color: inherit;
}

.service-card__image {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.service-card__body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card__icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(145deg, var(--color-primary), var(--color-primary-d));
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-out);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--color-accent-d);
}

.service-card__title {
  font-size: 18px;
  font-family: var(--font-head);
  margin-bottom: 10px;
  color: var(--color-fg);
}

.service-card__text {
  font-size: 14px;
  color: var(--color-fg-light);
  line-height: 1.6;
  flex: 1;
}

.service-card__link {
  margin-top: 20px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-accent);
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.02em;
}

/* ============================================================
   ABOUT / WHY US
   ============================================================ */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-image-wrap img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: linear-gradient(145deg, var(--color-primary), var(--color-secondary));
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow-hover);
  text-align: center;
}

.about-badge__number {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 700;
  color: var(--color-accent-d);
  line-height: 1;
}

.about-badge__label {
  font-size: 12px;
  color: var(--color-fg-muted);
  margin-top: 4px;
}

.about-content .section-header {
  text-align: left;
  margin-bottom: 32px;
}

.about-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-out);
  font-size: 14px;
  color: var(--color-fg-muted);
}

.about-feature__icon {
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ============================================================
   CTA BANNER
   ============================================================ */

.cta-banner {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
  box-shadow: var(--shadow-hover);
  margin: 0 24px;
}

.cta-banner__title {
  font-size: clamp(24px, 3vw, 38px);
  font-family: var(--font-head);
  color: var(--color-fg);
  margin-bottom: 16px;
}

.cta-banner__text {
  font-size: 16px;
  color: var(--color-fg-muted);
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.contact-item__icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(145deg, var(--color-primary), var(--color-primary-d));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-d);
  flex-shrink: 0;
  box-shadow: var(--shadow-out);
}

.contact-item__label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-fg-light);
  margin-bottom: 4px;
}

.contact-item__value {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-fg);
}

.contact-item__value a { color: var(--color-fg); }
.contact-item__value a:hover { color: var(--color-accent); }

.contact-form {
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 40px;
}

.contact-form__title {
  font-family: var(--font-head);
  font-size: 22px;
  margin-bottom: 24px;
}

.form-row { margin-bottom: 18px; }

.form-row label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-fg-muted);
  margin-bottom: 8px;
}

textarea.neu-input { min-height: 120px; resize: vertical; }

/* ============================================================
   FOOTER
   ============================================================ */

#site-footer {
  background: var(--bg-dark);
  padding: 64px 0 0;
  margin-top: 80px;
  box-shadow: inset 0 4px 20px rgba(0,0,0,0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand__logo {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-fg);
  margin-bottom: 8px;
}

.footer-brand__tagline {
  font-size: 13px;
  color: var(--color-fg-light);
  margin-bottom: 20px;
  line-height: 1.6;
  max-width: 280px;
}

.footer-col__title {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-fg);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.footer-nav { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.footer-nav li a {
  font-size: 14px;
  color: var(--color-fg-light);
  transition: color var(--transition);
  text-decoration: none;
}

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

.footer-contact-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }

.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--color-fg-light);
}

.footer-contact-list li svg { color: var(--color-accent); flex-shrink: 0; }
.footer-contact-list li a { color: var(--color-fg-light); }
.footer-contact-list li a:hover { color: var(--color-accent); }

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom__copy {
  font-size: 13px;
  color: var(--color-fg-light);
}

.footer-bottom__links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-bottom__links li a {
  font-size: 13px;
  color: var(--color-fg-light);
  text-decoration: none;
}

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

/* ============================================================
   PAGE TEMPLATES
   ============================================================ */

.page-hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  padding: 72px 0;
  text-align: center;
  margin-bottom: 64px;
  box-shadow: var(--shadow-card);
}

.page-hero__title {
  font-size: clamp(28px, 4vw, 48px);
  font-family: var(--font-head);
  color: var(--color-fg);
  margin-bottom: 12px;
}

.page-hero__subtitle {
  font-size: 16px;
  color: var(--color-fg-muted);
  max-width: 520px;
  margin: 0 auto;
}

.page-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

.page-content h1, .page-content h2, .page-content h3 {
  font-family: var(--font-head);
  margin-top: 36px;
  margin-bottom: 16px;
  color: var(--color-fg);
}

.page-content p { margin-bottom: 18px; color: var(--color-fg-muted); line-height: 1.8; }
.page-content ul, .page-content ol { margin: 0 0 18px 24px; color: var(--color-fg-muted); }
.page-content li { margin-bottom: 8px; line-height: 1.7; }

/* ============================================================
   SERVICES PAGE
   ============================================================ */

.services-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-bottom: 64px;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */

.breadcrumb {
  font-size: 13px;
  color: var(--color-fg-light);
  padding: 16px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.breadcrumb a { color: var(--color-accent); }
.breadcrumb__sep { color: var(--color-border); }

/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-image-wrap { max-width: 560px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  #primary-nav, .header-phone { display: none; }
  #burger-btn { display: flex; }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .hero-slider { min-height: 420px; }
  .slide { min-height: 420px; }
  .slide__content { padding: 48px 32px; }
  .cta-banner { padding: 48px 28px; margin: 0 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .services-grid { grid-template-columns: 1fr; }
  .about-badge { right: 0; bottom: -20px; }
}

@media (max-width: 480px) {
  .header-inner { padding: 0 16px; }
  .slide__content { padding: 40px 20px; }
  .neu-card { padding: 20px; }
  .contact-form { padding: 24px; }
}
