/*
Theme Name: Haushaltsherz
Theme URI: https://haushaltsherz.de
Author: Custom
Author URI: #
Description: Custom Haushaltsherz theme built from the bespoke homepage design.
Version: 0.1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: haushaltsherz
*/

:root {
  font-size: 16px;
  color-scheme: light;
}

body {
  margin: 0;
  font-family: 'Outfit', 'Work Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: #FFF5F5;
  color: #2B3E50;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  font-family: inherit;
  border: none;
  cursor: pointer;
}

.site {
  min-height: 100vh;
}

/* Custom Logo Styles */
.custom-logo-link {
  display: inline-block;
  max-height: 64px;
  width: auto;
}

.custom-logo-link img {
  height: auto;
  max-height: 64px;
  width: auto;
}

@media (min-width: 768px) {
  .custom-logo-link {
    max-height: 80px;
  }
  
  .custom-logo-link img {
    max-height: 80px;
  }
}

/* Mobile Menu Animation */
#mobile-menu {
  transition: all 0.3s ease-in-out;
}

/* Hero background image width adjustments */
@media (min-width: 768px) and (max-width: 1024px) {
  .hero-image-wrapper {
    width: 90% !important;
  }
}

/* Services section alignment fix for 900px width */
@media (min-width: 900px) and (max-width: 1279px) {
  .services-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
  }
  
  .services-pricing-card {
    max-width: 100%;
  }
  
  .services-button {
    text-align: center;
    white-space: normal;
    width: auto;
    min-width: 280px;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  
  /* Ensure spaces are preserved in button text */
  .services-button {
    word-spacing: normal;
  }
}

/* Hero section responsive min-height for Entlastungsbetrag template */
.hero-section-relief {
	min-height: auto;
}

@media (min-width: 768px) {
	.hero-section-relief {
		min-height: 600px;
	}
}

/* Skip to content link */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.sr-only:focus {
  position: absolute;
  width: auto;
  height: auto;
  padding: 0.5rem 1rem;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

