/* Scoped stylesheet for WordPress Compatibility */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;600;700;800&display=swap');

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  width: 100%;
}

/* Color Variables */
.wp-custom-landing {
  --wp-font-headings: 'Outfit', sans-serif;
  --wp-font-body: 'Inter', sans-serif;
  
  /* Palette from Logo */
  --wp-color-blue-dark: #0f4c81; /* Shield Blue */
  --wp-color-blue-light: #2563eb;
  --wp-color-flame-orange: #f97316; /* Flame Orange */
  --wp-color-flame-red: #ef4444; /* Flame Red */
  --wp-color-gray-dark: #2a2d34; /* Logo B Dark Gray */
  --wp-color-gray-medium: #6b7280;
  --wp-color-gray-light: #f3f4f6;
  --wp-color-white: #ffffff;
  --wp-color-background: #fafafc;
  
  /* Gradients */
  --wp-grad-flame: linear-gradient(135deg, var(--wp-color-flame-orange) 0%, var(--wp-color-flame-red) 100%);
  --wp-grad-shield: linear-gradient(135deg, var(--wp-color-blue-dark) 0%, var(--wp-color-blue-light) 100%);
  --wp-grad-hero: linear-gradient(135deg, #0f4c81 0%, #1e1b4b 100%);
  
  /* Shadows & Radius */
  --wp-shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --wp-shadow-md: 0 8px 16px rgba(15, 76, 129, 0.08);
  --wp-shadow-lg: 0 16px 32px rgba(15, 76, 129, 0.12);
  --wp-radius-sm: 8px;
  --wp-radius-md: 16px;
  --wp-radius-lg: 24px;
  
  /* Layout settings */
  box-sizing: border-box;
  font-family: var(--wp-font-body);
  color: var(--wp-color-gray-dark);
  background-color: var(--wp-color-background);
  line-height: 1.6;
  overflow-x: hidden;
}

.wp-custom-landing *, 
.wp-custom-landing *::before, 
.wp-custom-landing *::after {
  box-sizing: inherit;
}

/* WordPress reset overrides to prevent theme underlines and bullet points */
.wp-custom-landing a {
  text-decoration: none !important;
}

.wp-custom-landing ul,
.wp-custom-landing li {
  list-style: none !important;
  list-style-type: none !important;
  padding: 0;
  margin: 0;
}

/* Typography helper */
.wp-custom-landing h1, 
.wp-custom-landing h2, 
.wp-custom-landing h3, 
.wp-custom-landing h4 {
  font-family: var(--wp-font-headings);
  font-weight: 700;
  margin-top: 0;
  color: var(--wp-color-blue-dark);
}

/* Container */
.wp-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Sections */
.wp-section {
  padding: 80px 0;
  position: relative;
}

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

/* Header & Nav */
.wp-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--wp-shadow-sm);
  border-bottom: 1px solid rgba(15, 76, 129, 0.08);
}

.wp-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.wp-logo-area {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.wp-logo-img {
  height: 50px;
  width: auto;
}

.logo-symbol {
  height: 50px;
  width: auto;
}

.logo-text {
  height: 30px;
  width: auto;
}

.wp-menu {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Dropdown Sub-Menu */
.wp-menu-item {
  position: relative;
}

.wp-menu-link {
  text-decoration: none;
  color: var(--wp-color-gray-dark);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 10px 0;
}

.wp-menu-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--wp-grad-flame);
  transition: width 0.3s ease;
}

.wp-menu-link:hover {
  color: var(--wp-color-flame-orange);
}

.wp-menu-link:hover::after {
  width: 100%;
}

.wp-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--wp-color-white);
  border-radius: var(--wp-radius-sm);
  box-shadow: var(--wp-shadow-lg);
  border: 1px solid rgba(15, 76, 129, 0.08);
  min-width: 260px;
  padding: 12px 0;
  list-style: none;
  z-index: 1010;
}

.wp-dropdown-menu li {
  width: 100%;
}

.wp-dropdown-link {
  display: block;
  padding: 10px 24px;
  color: var(--wp-color-gray-dark);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.wp-dropdown-link:hover {
  background-color: var(--wp-color-gray-light);
  color: var(--wp-color-flame-orange);
  padding-left: 28px;
}

.wp-dropdown-divider {
  border-top: 1px solid var(--wp-color-gray-light);
  margin: 6px 0;
}

/* Show dropdown on hover (Desktop) */
@media (min-width: 769px) {
  .wp-menu-item:hover .wp-dropdown-menu {
    display: block;
    animation: dropdownSlide 0.3s ease forwards;
  }
}

@keyframes dropdownSlide {
  from {
    opacity: 0;
    transform: translate(-50%, 10px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.wp-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  min-height: 48px;
}

.wp-mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--wp-color-blue-dark);
  margin: 6px 0;
  transition: all 0.3s ease;
}

/* Hero Section */
.wp-hero {
  background: var(--wp-grad-hero);
  color: var(--wp-color-white);
  padding: 100px 0 0 0;
  position: relative;
  overflow: hidden;
}

.wp-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.wp-hero-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: end;
}

.wp-hero-text {
  padding-bottom: 80px;
}

.wp-hero h1 {
  color: var(--wp-color-white);
  font-size: 3.25rem;
  line-height: 1.15;
  margin-bottom: 24px;
}

.wp-hero h1 span {
  background: var(--wp-grad-flame);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.wp-hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
  max-width: 850px;
}

.wp-hero-visual {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  height: 100%;
  position: relative;
}

/* Trust Badges Bar */
.wp-trust-badges-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
  text-align: center;
}

.wp-badge-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: var(--wp-radius-sm);
  color: var(--wp-color-white);
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}

.wp-badge-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

.wp-badge-card i {
  color: var(--wp-color-flame-orange);
  margin-bottom: 10px;
}

.wp-badge-card h5 {
  font-size: 0.95rem;
  margin: 0;
  color: var(--wp-color-white);
}

/* Buttons */
.wp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--wp-radius-sm);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  min-height: 48px;
}

.wp-btn-primary {
  background: var(--wp-grad-flame);
  color: var(--wp-color-white);
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.3);
}

.wp-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
}

.wp-btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--wp-color-white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.wp-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

.wp-hero-buttons {
  display: flex;
  gap: 16px;
}

/* Services / Leistungen */
.wp-section-title {
  text-align: center;
  font-size: 2.25rem;
  margin-bottom: 16px;
  position: relative;
}

.wp-section-subtitle {
  text-align: center;
  color: var(--wp-color-gray-medium);
  max-width: 850px;
  margin: 0 auto 60px auto;
  font-size: 1.05rem;
}

.wp-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.wp-service-card {
  background: var(--wp-color-white);
  border-radius: var(--wp-radius-md);
  padding: 40px 32px;
  box-shadow: var(--wp-shadow-md);
  border: 1px solid rgba(15, 76, 129, 0.04);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.wp-service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--wp-shadow-lg);
  border-color: rgba(249, 115, 22, 0.2);
}

.wp-service-icon-box {
  width: 60px;
  height: 60px;
  border-radius: var(--wp-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  background: var(--wp-color-white) !important;
  border: 1.5px solid rgba(15, 76, 129, 0.1);
  box-shadow: var(--wp-shadow-sm);
}

.wp-service-icon-box.brand {
  color: var(--wp-color-flame-orange) !important;
}

.wp-service-icon-box.tablet {
  color: var(--wp-color-blue-dark) !important;
}

.wp-service-icon-box.software {
  color: var(--wp-color-blue-dark) !important;
}

.wp-service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 16px;
}

.wp-service-card p {
  font-size: 0.95rem;
  color: var(--wp-color-gray-medium);
  margin-bottom: 24px;
  flex-grow: 1;
}

.wp-service-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
}

.wp-service-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.wp-service-list li svg {
  color: var(--wp-color-flame-orange);
  flex-shrink: 0;
}

.wp-service-card .wp-btn {
  width: 100%;
  justify-content: center;
}

/* About Section */
.wp-about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.wp-about-image-wrapper {
  position: relative;
}

.wp-about-image-frame {
  width: 100%;
  border-radius: var(--wp-radius-lg);
  overflow: hidden;
  box-shadow: var(--wp-shadow-lg);
  border: 4px solid var(--wp-color-white);
}

.wp-about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--wp-grad-shield);
  color: var(--wp-color-white);
  padding: 24px;
  border-radius: var(--wp-radius-md);
  box-shadow: var(--wp-shadow-lg);
  font-family: var(--wp-font-headings);
  text-align: center;
}

.wp-about-badge-number {
  font-size: 2rem;
  font-weight: 800;
  display: block;
  line-height: 1;
}

.wp-about-badge-text {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.wp-about-text h2 {
  font-size: 2.25rem;
  margin-bottom: 24px;
}

.wp-about-text p {
  margin-bottom: 20px;
  color: var(--wp-color-gray-medium);
}

.wp-about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.wp-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.wp-highlight-icon {
  color: var(--wp-color-blue-dark);
  flex-shrink: 0;
  margin-top: 3px;
}

.wp-highlight-item h4 {
  margin-bottom: 4px;
  font-size: 1rem;
}

.wp-highlight-item p {
  margin: 0;
  font-size: 0.85rem;
}

/* FAQ Accordion Styles */
.wp-faq-container {
  max-width: 800px;
  margin: 60px auto 0 auto;
}

.wp-faq-item {
  background: var(--wp-color-white);
  border-radius: var(--wp-radius-sm);
  margin-bottom: 16px;
  box-shadow: var(--wp-shadow-sm);
  border: 1px solid rgba(15, 76, 129, 0.06);
  overflow: hidden;
}

.wp-faq-trigger {
  width: 100%;
  padding: 20px 24px;
  text-align: left;
  background: none;
  border: none;
  font-family: var(--wp-font-headings);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--wp-color-blue-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
  min-height: 48px;
}

.wp-faq-trigger:hover {
  background-color: rgba(15, 76, 129, 0.02);
}

.wp-faq-trigger .lucide-chevron-down {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.wp-faq-content {
  display: none;
  padding: 0 24px 20px 24px;
  font-size: 0.95rem;
  color: var(--wp-color-gray-medium);
  border-top: 1px solid rgba(15, 76, 129, 0.04);
}

.wp-faq-content.active {
  display: block;
  animation: faqFade 0.3s ease forwards;
}

@keyframes faqFade {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Contact Form */
.wp-contact-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
}

.wp-contact-info {
  background: var(--wp-grad-shield);
  color: var(--wp-color-white);
  padding: 32px;
  border-radius: var(--wp-radius-md);
  box-shadow: var(--wp-shadow-lg);
}

.wp-contact-info a {
  color: var(--wp-color-white) !important;
  text-decoration: none !important;
  transition: opacity 0.2s ease;
}

.wp-contact-info a:hover {
  opacity: 0.85;
}

.wp-contact-info h3 {
  color: var(--wp-color-white);
  font-size: 1.75rem;
  margin-bottom: 16px;
}

.wp-contact-info p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
}

.wp-contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.wp-contact-detail-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.wp-contact-icon {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--wp-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wp-color-white);
  flex-shrink: 0;
}

.wp-contact-text h5 {
  margin: 0;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

.wp-contact-text p {
  margin: 0;
  color: var(--wp-color-white);
  font-weight: 500;
  font-size: 0.95rem;
}

.wp-contact-form-container {
  background: var(--wp-color-white);
  padding: 48px;
  border-radius: var(--wp-radius-md);
  box-shadow: var(--wp-shadow-md);
  border: 1px solid rgba(15, 76, 129, 0.04);
}

/* Centered Single Contact Layout Styles */
.wp-contact-layout-single {
  max-width: 950px;
  margin: 0 auto;
}

.wp-contact-info-centered {
  background: var(--wp-grad-shield);
  color: var(--wp-color-white);
  padding: 48px;
  border-radius: var(--wp-radius-md);
  box-shadow: var(--wp-shadow-lg);
  text-align: center;
}

.wp-contact-info-centered h3 {
  color: var(--wp-color-white);
  font-size: 2rem;
  margin-bottom: 16px;
}

.wp-contact-info-centered p {
  color: rgba(255,255,255,0.85);
  max-width: 850px;
  margin: 0 auto 40px auto;
}

.wp-contact-grid-details {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.wp-contact-detail-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 16px;
  border-radius: var(--wp-radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.3s ease;
}

.wp-contact-detail-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-3px);
}

.wp-contact-detail-card .wp-contact-icon {
  margin: 0 auto 12px auto;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--wp-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wp-color-white);
}

.wp-contact-detail-card h5 {
  margin: 0 0 8px 0;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 1px;
}

.wp-contact-detail-card p {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--wp-color-white);
  line-height: 1.4;
}

.wp-contact-detail-card a {
  color: var(--wp-color-white) !important;
  text-decoration: none !important;
  font-weight: 600;
}

@media (max-width: 992px) {
  .wp-contact-grid-details {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .wp-contact-grid-details {
    grid-template-columns: 1fr;
  }
  .wp-contact-info-centered {
    padding: 32px 20px;
  }
}

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

.wp-form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 0.9rem;
}

.wp-form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--wp-color-gray-light);
  border-radius: var(--wp-radius-sm);
  font-family: var(--wp-font-body);
  font-size: 0.95rem;
  transition: all 0.3s ease;
  background-color: var(--wp-color-gray-light);
  min-height: 48px;
}

.wp-form-control:focus {
  outline: none;
  border-color: var(--wp-color-blue-dark);
  background-color: var(--wp-color-white);
  box-shadow: 0 0 0 4px rgba(15, 76, 129, 0.1);
}

.wp-checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 12px;
}

.wp-checkbox-group input {
  margin-top: 4px;
  min-width: 24px;
  min-height: 24px;
}

.wp-checkbox-label {
  font-size: 0.8rem;
  color: var(--wp-color-gray-medium);
}

.wp-checkbox-label a {
  color: var(--wp-color-blue-dark);
  text-decoration: underline;
}

/* Sticky Contact CTA Widget */
.wp-sticky-cta {
  display: flex;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  flex-direction: column;
  gap: 12px;
}

.wp-sticky-cta-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wp-color-white);
  box-shadow: 0 4px 16px rgba(15, 76, 129, 0.2);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
}

.wp-sticky-cta-btn svg {
  width: 24px;
  height: 24px;
}

.wp-sticky-cta-btn.whatsapp {
  background: #25d366;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}

.wp-sticky-cta-btn.instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285ae5 90%);
  box-shadow: 0 4px 16px rgba(214, 36, 159, 0.3);
}

.wp-sticky-cta-btn.call {
  background: var(--wp-color-blue-dark);
  box-shadow: 0 4px 16px rgba(15, 76, 129, 0.3);
}

.wp-sticky-cta-btn:hover {
  transform: scale(1.15) translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Contact Form Divider & Instagram Button */
.wp-contact-form-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 20px 0;
  color: var(--wp-color-gray-medium);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.wp-contact-form-divider::before,
.wp-contact-form-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1.5px solid var(--wp-color-gray-light);
}

.wp-contact-form-divider:not(:empty)::before {
  margin-right: .5em;
}

.wp-contact-form-divider:not(:empty)::after {
  margin-left: .5em;
}

.wp-btn-instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285ae5 90%);
  color: var(--wp-color-white);
  border: none;
  box-shadow: 0 4px 14px rgba(214, 36, 159, 0.25);
}

.wp-btn-instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285ae5 90%);
  color: var(--wp-color-white) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(214, 36, 159, 0.35);
}

/* Interactive Calculator Styles */
.wp-calc-card {
  background: var(--wp-color-white);
  border-radius: var(--wp-radius-md);
  border: 2px solid rgba(15, 76, 129, 0.08);
  padding: 40px;
  box-shadow: var(--wp-shadow-lg);
  margin-top: 40px;
}

.wp-calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.wp-calc-results {
  background: var(--wp-grad-shield);
  color: var(--wp-color-white);
  padding: 32px;
  border-radius: var(--wp-radius-sm);
  text-align: center;
}

.wp-calc-number {
  font-size: 3.5rem;
  font-weight: 800;
  display: block;
  line-height: 1;
  margin-bottom: 8px;
  background: var(--wp-grad-flame);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* News Section Cards */
.wp-news-card {
  background: var(--wp-color-white);
  border-radius: var(--wp-radius-md);
  box-shadow: var(--wp-shadow-md);
  overflow: hidden;
  border: 1px solid rgba(15,76,129,0.04);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.wp-news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--wp-shadow-lg);
}

.wp-news-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.wp-news-meta {
  padding: 24px 24px 0 24px;
  font-size: 0.8rem;
  color: var(--wp-color-gray-medium);
  display: flex;
  gap: 12px;
}

.wp-news-content {
  padding: 16px 24px 24px 24px;
  flex-grow: 1;
}

.wp-news-content h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.wp-news-content p {
  font-size: 0.9rem;
  color: var(--wp-color-gray-medium);
  margin-bottom: 20px;
}

/* App Screenshot Layouts */
.wp-app-screenshot-frame {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 9/19;
  background: #111827;
  border-radius: 36px;
  border: 12px solid #374151;
  box-shadow: var(--wp-shadow-lg), 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.wp-app-screenshot-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 18px;
  background: #374151;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  z-index: 10;
}

.wp-app-screenshot-content {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #1e1b4b 0%, #0f172a 100%);
  color: #fff;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-family: var(--wp-font-body);
}

.wp-app-widget {
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--wp-radius-sm);
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 10px;
}

/* Collapsible Legal Modals */
.wp-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(42, 45, 52, 0.6);
  backdrop-filter: blur(5px);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  padding: 24px;
}

.wp-modal.active {
  display: flex;
}

.wp-modal-content {
  background: var(--wp-color-white);
  border-radius: var(--wp-radius-md);
  max-width: 800px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
  box-shadow: var(--wp-shadow-lg);
}

.wp-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--wp-color-gray-medium);
  transition: color 0.3s ease;
  min-height: 48px;
  min-width: 48px;
}

.wp-modal-close:hover {
  color: var(--wp-color-flame-red);
}

/* Scroll Animation Reveal Classes */
.wp-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.wp-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Footer */
.wp-footer {
  background: var(--wp-color-gray-dark);
  color: var(--wp-color-white);
  padding: 60px 0 30px 0;
  border-top: 4px solid var(--wp-color-blue-dark);
}

.wp-footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}

.wp-footer-brand {
  font-family: var(--wp-font-headings);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--wp-color-white);
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.wp-footer-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.85rem;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  min-height: 44px;
}

.wp-footer-link:hover {
  color: var(--wp-color-flame-orange);
}

.wp-footer-copyright {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
}

/* Animations */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .wp-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .wp-hero h1 {
    font-size: 2.75rem;
  }
}

@media (max-width: 992px) {
  .wp-contact-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .wp-about-content {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
}

@media (max-width: 768px) {
  .wp-hero {
    padding: 60px 0 0 0 !important;
  }
  .wp-hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
    align-items: center;
  }
  .wp-hero-text {
    padding-bottom: 0 !important;
  }
  .wp-hero-buttons {
    justify-content: center;
  }
  .wp-hero p {
    margin-left: auto;
    margin-right: auto;
  }
  .wp-hero-portrait-frame {
    margin: 0 auto !important;
    max-width: 280px !important;
  }
  
  /* Font size reductions for mobile readability */
  .wp-hero h1 {
    font-size: 2rem !important;
    line-height: 1.2 !important;
  }
  .wp-section-title, .wp-about-text h2 {
    font-size: 1.65rem !important;
    line-height: 1.3 !important;
  }
  .wp-services-grid .wp-service-card h3,
  .wp-services-grid .wp-service-card h4 {
    font-size: 1.1rem !important;
    margin-bottom: 10px !important;
  }
  
  /* Horizontal swipeable layout for cards on mobile */
  .wp-services-grid {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    scroll-behavior: smooth !important;
    gap: 16px !important;
    padding: 10px 4px 20px 4px !important;
    margin-left: -24px !important;
    margin-right: -24px !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .wp-services-grid::-webkit-scrollbar {
    display: none;
  }
  .wp-services-grid .wp-service-card {
    flex: 0 0 82% !important;
    scroll-snap-align: center !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
    margin-bottom: 5px !important;
    padding: 24px 20px !important;
  }
  
  .wp-about-image-wrapper {
    order: 2;
    max-width: 400px;
    margin: 0 auto;
  }
  .wp-calc-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .wp-about-highlights {
    grid-template-columns: 1fr !important;
  }
  
  /* Trust Badges Column Layout */
  .wp-trust-badges-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .wp-trust-badges-grid {
    grid-template-columns: 1fr;
  }
  
  /* Mobile Sticky Call Widget Adjustments */
  .wp-sticky-cta {
    bottom: 20px;
    right: 20px;
    gap: 10px;
  }
  .wp-sticky-cta-btn {
    width: 50px;
    height: 50px;
  }
  .wp-sticky-cta-btn svg {
    width: 22px;
    height: 22px;
  }
  
  /* Mobile Navigation Adjustments */
  .wp-menu {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--wp-color-white);
    flex-direction: column;
    padding: 24px 36px;
    box-shadow: var(--wp-shadow-lg);
    border-bottom: 1px solid var(--wp-color-gray-light);
    gap: 16px;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }
  .wp-menu.active {
    display: flex;
  }
  
  .wp-dropdown-menu {
    display: none;
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 10px 0 0 16px;
    background: transparent;
  }
  .wp-dropdown-menu.active {
    display: block;
  }
  
  .wp-menu-link {
    width: 100%;
    justify-content: space-between;
  }
  
  .wp-mobile-toggle {
    display: block;
  }
  .wp-mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  .wp-mobile-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .wp-mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

/* Dennis Portrait Styling for Hero Visual */
.wp-hero-portrait-frame {
  max-width: 380px;
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  margin: 0;
}

.wp-hero-portrait {
  width: 100%;
  height: auto;
  max-height: 480px;
  display: block;
  object-fit: contain;
  margin-bottom: 0;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.25));
}

/* Brandschutzhelfer training photos grid */
.wp-praxis-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}
@media (max-width: 768px) {
  .wp-praxis-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}
