/*
Theme Name: Gutachter Suche
Description: Professional one-page WordPress theme for Gutachter-suche.com - Find qualified experts and appraisers across Germany
Author: Gutachter-suche.com
Version: 1.0.0
License: GPL v2 or later
Text Domain: gutachter-suche
*/

/* CSS Variables for Design System - Updated with lighter blue */
:root {
  --primary: hsl(210, 90%, 60%);
  --primary-foreground: hsl(0, 0%, 98%);
  --primary-glow: hsl(160, 60%, 65%);
  --secondary: hsl(220, 14%, 96%);
  --secondary-foreground: hsl(220, 14%, 15%);
  --background: hsl(0, 0%, 100%);
  --foreground: hsl(220, 14%, 15%);
  --muted: hsl(220, 14%, 96%);
  --muted-foreground: hsl(220, 14%, 60%);
  --accent: hsl(160, 30%, 90%);
  --accent-foreground: hsl(210, 90%, 60%);
  --border: hsl(220, 14%, 91%);
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(220, 14%, 15%);
  
  --gradient-primary: linear-gradient(135deg, hsl(210, 90%, 60%), hsl(160, 60%, 65%));
  --gradient-hero: linear-gradient(135deg, hsl(210, 90%, 60%) 0%, hsl(210, 85%, 65%) 50%, hsl(210, 90%, 70%) 100%);
  --gradient-card: linear-gradient(145deg, hsl(0, 0%, 100%) 0%, hsl(160, 15%, 98%) 100%);
  
  --shadow-card: 0 4px 6px -1px hsl(220, 14%, 0%, 0.1), 0 2px 4px -2px hsl(220, 14%, 0%, 0.1);
  --shadow-elevated: 0 10px 15px -3px hsl(220, 14%, 0%, 0.1), 0 4px 6px -4px hsl(220, 14%, 0%, 0.1);
  --shadow-hero: 0 25px 50px -12px hsl(210, 90%, 60%, 0.25);
  
  --radius: 0.5rem;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--foreground);
  background-color: var(--background);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
  .container { padding: 0 2rem; }
}

/* Header/Navigation */
.site-header {
  background: var(--background);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4rem;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--primary);
}

.site-logo img {
  height: 2rem;
  width: auto;
}

.site-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

.main-navigation {
  display: none;
}

@media (min-width: 768px) {
  .main-navigation {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
}

.nav-menu a {
  text-decoration: none;
  color: var(--muted-foreground);
  font-weight: 500;
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.current {
  color: var(--primary);
}

.header-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-hero);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-elevated);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--primary-foreground);
}

.btn-sm {
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
}

.btn-lg {
  padding: 0.75rem 2rem;
  font-size: 1.125rem;
}

/* Hero Section */
.hero-section {
  position: relative;
  background: var(--gradient-hero);
  overflow: hidden;
  padding: 6rem 0 8rem;
}

.hero-background {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.5);
}

.hero-content {
  position: relative;
  text-align: center;
  color: white;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 3rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.5rem;
  }
}

.hero-glow {
  color: var(--primary-glow);
}

/* Search Form */
.search-form {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-radius: 0.75rem;
  padding: 1.5rem;
  max-width: 64rem;
  margin: 0 auto 4rem;
  box-shadow: var(--shadow-hero);
}

.search-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .search-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.form-select,
.form-input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.875rem;
  background: var(--background);
  color: var(--foreground);
}

.form-select:focus,
.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

.search-note {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-align: center;
}

/* Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 4rem;
}

@media (min-width: 768px) {
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.benefit-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.benefit-icon {
  width: 3rem;
  height: 3rem;
  color: var(--primary-glow);
  margin-bottom: 1rem;
}

.benefit-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: white;
}

.benefit-description {
  color: rgba(255, 255, 255, 0.8);
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--foreground);
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.5rem;
  }
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  max-width: 48rem;
  margin: 0 auto;
}

/* Cards */
.card {
  background: var(--gradient-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 1.5rem;
  transition: all 0.3s ease;
  border: none;
}

.card:hover {
  box-shadow: var(--shadow-elevated);
  transform: translateY(-2px);
}

.card-header {
  text-align: center;
  padding-bottom: 1rem;
}

.card-icon {
  width: 3rem;
  height: 3rem;
  background: var(--gradient-primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  transition: transform 0.3s ease;
}

.card:hover .card-icon {
  transform: scale(1.1);
}

.card-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary-foreground);
}

.card-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.card-description {
  color: var(--muted-foreground);
  text-align: center;
}

/* Grid Layouts */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-1 { grid-template-columns: 1fr; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 1023px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .grid-2,
  .grid-3 { grid-template-columns: 1fr; }
}

/* Target Groups Section */
.target-groups {
  background: var(--gradient-card);
}

.target-group-card {
  background: var(--gradient-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-elevated);
  padding: 2rem;
  border: none;
}

.target-group-header {
  text-align: center;
  padding-bottom: 2rem;
}

.target-group-icon {
  width: 4rem;
  height: 4rem;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.target-group-icon svg {
  width: 2rem;
  height: 2rem;
  color: var(--primary-foreground);
}

.target-group-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.target-group-tagline {
  font-size: 1.125rem;
  color: var(--primary);
  font-weight: 600;
}

.feature-list {
  list-style: none;
  margin: 1.5rem 0;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.feature-list svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
  flex-shrink: 0;
}

/* Expert Cards */
.expert-card {
  background: var(--background);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
}

.expert-card:hover {
  box-shadow: var(--shadow-elevated);
  transform: translateY(-2px);
}

.expert-avatar {
  width: 4rem;
  height: 4rem;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-foreground);
}

.expert-name {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.expert-specialty {
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 1rem;
}

.expert-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.star-icon {
  width: 1rem;
  height: 1rem;
  color: #fbbf24;
  fill: currentColor;
}

.expert-location {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.expert-experience {
  color: var(--primary);
  font-weight: 500;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.expert-certifications {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.certification-badge {
  background: var(--secondary);
  color: var(--secondary-foreground);
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}

.expert-actions {
  display: flex;
  gap: 0.5rem;
}

.expert-actions .btn {
  flex: 1;
  font-size: 0.75rem;
  padding: 0.5rem;
}

/* Benefits Section with Background */
.benefits-section {
  position: relative;
  background: var(--gradient-hero);
  overflow: hidden;
  padding: 5rem 0;
}

.benefits-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
}

.benefits-content {
  position: relative;
  color: white;
}

.benefits-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
}

@media (min-width: 640px) {
  .benefits-contact {
    flex-direction: row;
    justify-content: center;
  }
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-item svg {
  width: 1rem;
  height: 1rem;
}

.benefits-logo {
  width: 5rem;
  height: 5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}

.benefits-list {
  list-style: none;
  margin-bottom: 3rem;
}

.benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}

.benefits-list svg {
  width: 2rem;
  height: 2rem;
  color: var(--primary-glow);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.benefit-content {
  color: white;
}

.benefit-content strong {
  font-size: 1.125rem;
  font-weight: 600;
}

.benefit-content p {
  font-size: 1.125rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 0.25rem;
}

/* Footer */
.site-footer {
  background: var(--foreground);
  color: white;
  padding: 3rem 0 2rem;
}

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

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-section h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-section p {
  color: #d1d5db;
  margin-bottom: 1rem;
}

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

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 2rem;
  text-align: center;
  color: #d1d5db;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
}

.footer-links a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

/* Responsive Design */
@media (max-width: 767px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .hero-section {
    padding: 4rem 0 5rem;
  }
}

/* WordPress Specific */
.wp-block-group {
  margin-bottom: 2rem;
}

.alignwide {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.alignfull {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
}

/* Screen Reader Text */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}