/*
Theme Name: Ulrike Wessel Coach
Description: Ein minimalistisches WordPress Theme für Coaching-Websites mit Onepager-Design und Custom Gutenberg Blocks.
Author: Ulrike Wessel
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Text Domain: ulrike-wessel-coach
*/

/* === LOKALE FONTS (DSGVO-KONFORM) === */
/* Lokale Inter-Fonts werden über functions.php geladen */

/* === CSS CUSTOM PROPERTIES === */
:root {
  --color-primary: #fe019a;      /* Hauptakzent */
  --color-background: #f8d3e0;   /* Hintergrund */
  --color-text: #000000;         /* Schwarz Text */
  --color-white: #ffffff;
  --color-gray-light: #f4a4bf;
  --color-gray-medium: #666666;
  
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-xxl: 4rem;
  
  --container-max-width: 1200px;
  --content-max-width: 1200px;
}

/* === TEMPORÄRES AUSBLENDEN (bei Bedarf entkommentieren) === */
/*
.hero-banner-content {
  display: none !important;
}
*/

/* === LOGO STYLES === */
.site-logo {
  display: inline-block;
  max-width: 100%;
  height: auto;
}

.site-logo svg {
  width: auto;
  height: 60px;
  max-width: 100%;
  display: block;
}

.site-logo-header {
  max-width: 200px;
  height: 60px;
}

.site-logo-main {
  max-width: 320px;
  height: 120px;
}

/* Responsive Logo */
@media (max-width: 768px) {
  .site-logo-header {
    max-width: 150px;
    height: 45px;
  }
}

@media (max-width: 480px) {
  .site-logo-header {
    max-width: 120px;
    height: 36px;
  }
}

/* === RESET & BASE === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  color: var(--color-text);
  background-color: var(--color-background);
  line-height: 1.6;
  font-size: 16px;
  font-weight: 600;
  overflow-x: hidden;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 999999;
  padding: 8px 16px;
  background: var(--color-primary);
  color: var(--color-white);
  text-decoration: none;
}

.skip-link:focus {
  left: 0;
  top: 0;
}

/* === HEADER & NAVIGATION === */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(254, 1, 154, 0.1);
  transition: all 0.3s ease;
}

/* Header scroll effect */
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  border-bottom-color: rgba(254, 1, 154, 0.2);
}

/* === STRICH UNTER MENÜLEISTE === */
.site-header::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-primary);
  position: absolute;
  left: 0;
  bottom: -2px;
  z-index: 1002;
}

/* Body class for mobile menu open */
.mobile-menu-open {
  overflow: hidden !important;
  position: fixed;
  width: 100%;
}

.main-navigation {
  width: 100%;
}

.nav-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--spacing-md);
  height: 80px;
}

.site-branding {
  flex-shrink: 0;
  z-index: 1001;
}

.logo-link {
  display: block;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.logo-link:hover {
  transform: scale(1.05);
}

/* Desktop Navigation */
.nav-menu-wrapper {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--spacing-xl);
  margin: 0;
  padding: 0;
}

.nav-link {
  display: block;
  padding: var(--spacing-sm) 0;
  color: var(--color-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  position: relative;
  transition: all 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Mobile Menu Button */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  transition: transform 0.3s ease;
}

.mobile-menu-toggle:hover {
  transform: scale(1.1);
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  margin: 3px 0;
  transition: all 0.3s ease;
  transform-origin: center;
}

/* Hamburger Animation */
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Fullscreen Menu */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(135deg, var(--color-primary) 0%, rgba(254, 1, 154, 0.9) 100%);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(20px);
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-content {
  text-align: center;
  max-width: 90%;
  width: 100%;
  transform: translateY(50px);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-overlay.active .mobile-menu-content {
  transform: translateY(0);
}

.mobile-menu-close {
  position: absolute;
  top: var(--spacing-lg);
  right: var(--spacing-lg);
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.mobile-menu-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.close-line {
  position: absolute;
  width: 18px;
  height: 2px;
  background: var(--color-white);
  transition: all 0.3s ease;
}

.close-line:nth-child(1) {
  transform: rotate(45deg);
}

.close-line:nth-child(2) {
  transform: rotate(-45deg);
}

/* Mobile Navigation Menu */
.mobile-nav-menu {
  list-style: none;
  padding: 0;
  margin: var(--spacing-xxl) 0;
}

.mobile-nav-menu li {
  margin: var(--spacing-lg) 0;
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-overlay.active .mobile-nav-menu li {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered animation for menu items */
.mobile-menu-overlay.active .mobile-nav-menu li:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu-overlay.active .mobile-nav-menu li:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu-overlay.active .mobile-nav-menu li:nth-child(3) { transition-delay: 0.3s; }
.mobile-menu-overlay.active .mobile-nav-menu li:nth-child(4) { transition-delay: 0.4s; }
.mobile-menu-overlay.active .mobile-nav-menu li:nth-child(5) { transition-delay: 0.5s; }
.mobile-menu-overlay.active .mobile-nav-menu li:nth-child(6) { transition-delay: 0.6s; }

.mobile-nav-link {
  display: block;
  color: var(--color-white);
  text-decoration: none;
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  font-weight: 300;
  letter-spacing: 0.02em;
  padding: var(--spacing-md);
  position: relative;
  transition: all 0.3s ease;
  
  /* Touch-optimized */
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--color-white);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.mobile-nav-link:hover::before,
.mobile-nav-link:active::before {
  width: 80%;
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
  color: var(--color-white);
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
  transform: scale(1.05);
}

/* Mobile Menu Footer */
.mobile-menu-footer {
  margin-top: var(--spacing-xxl);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: 0.3s;
}

.mobile-menu-overlay.active .mobile-menu-footer {
  opacity: 0.8;
  transform: translateY(0);
  transition-delay: 0.7s;
}

.mobile-menu-footer .site-logo svg {
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

/* === CONTAINER & LAYOUT === */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.content-container {
  max-width: var(--content-max-width);
  margin: 0 auto;
}

/* === NAVIGATION === */
.section-nav {
  position: fixed;
  top: 50%;
  right: var(--spacing-lg);
  transform: translateY(-50%);
  z-index: 1000;
}

.nav-dots {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  background: rgba(255, 255, 255, 0.95);
  border-radius: 25px;
  padding: var(--spacing-md) var(--spacing-sm);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(254, 1, 154, 0.2);
}

.nav-dot {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(254, 1, 154, 0.4);
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  padding: 0;
  position: relative;
}

.nav-dot:hover,
.nav-dot.active {
  background: var(--color-primary);
  transform: scale(1.3);
  box-shadow: 0 0 10px rgba(254, 1, 154, 0.4);
}

.nav-dot:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

/* Legacy Navigation Support */
.onepager-nav {
  position: fixed;
  top: 50%;
  right: var(--spacing-lg);
  transform: translateY(-50%);
  z-index: 1000;
  background: var(--color-white);
  border-radius: 25px;
  padding: var(--spacing-sm);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.onepager-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.onepager-nav a {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-gray-medium);
  transition: all 0.3s ease;
  text-decoration: none;
}

.onepager-nav a.active,
.onepager-nav a:hover {
  background: var(--color-primary);
  transform: scale(1.2);
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
  color: var(--color-text);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); color: var(--color-primary); font-weight: 700; }
h2 { font-size: clamp(2rem, 4vw, 3rem); color: var(--color-primary); font-weight: 700; }
h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); color: var(--color-primary); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); color: var(--color-primary); }
h5 { font-size: clamp(1.125rem, 2vw, 1.5rem); color: #333333; }
h6 { font-size: clamp(1rem, 1.5vw, 1.25rem); color: #333333; }

/* Links in Hauptfarbe und unterstrichen */
a {
  color: var(--color-primary);
  text-decoration: underline;
  transition: color 0.3s ease;
}

a:hover {
  color: #d0016b;
}

p {
  margin-bottom: var(--spacing-md);
  line-height: 1.7;
  font-weight: 600;
}

/* Listen Styling mit eingerückten Bullet Points */
ul, ol {
  margin: 0 0 var(--spacing-lg) 0;
  padding-left: var(--spacing-xl);
  line-height: 1.8;
}

ul li, ol li {
  margin-bottom: var(--spacing-sm);
  padding-left: var(--spacing-xs);
}

ul {
  list-style-type: disc;
}

ol {
  list-style-type: decimal;
}

/* Verschachtelte Listen */
ul ul, ol ol, ul ol, ol ul {
  margin-top: var(--spacing-sm);
  margin-bottom: var(--spacing-sm);
  padding-left: var(--spacing-lg);
}

/* Größere Abstände für Sektionen */
.section {
  padding: var(--spacing-xxl) 0;
}

.onepage-section {
  padding: calc(var(--spacing-xxl) * 1.5) 0;
  
  /* Sanfte Erscheinungsanimation beim Scrollen */
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.onepage-section.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Sanfte Animationen für Listen */
ul li, ol li {
  opacity: 0;
  transform: translateX(-15px);
  animation: slideInLeft 0.6s ease forwards;
}

ul li:nth-child(1) { animation-delay: 0.1s; }
ul li:nth-child(2) { animation-delay: 0.2s; }
ul li:nth-child(3) { animation-delay: 0.3s; }
ul li:nth-child(4) { animation-delay: 0.4s; }
ul li:nth-child(5) { animation-delay: 0.5s; }

ol li:nth-child(1) { animation-delay: 0.1s; }
ol li:nth-child(2) { animation-delay: 0.2s; }
ol li:nth-child(3) { animation-delay: 0.3s; }
ol li:nth-child(4) { animation-delay: 0.4s; }
ol li:nth-child(5) { animation-delay: 0.5s; }

@keyframes slideInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Sanfte Hover-Effekte für Links */
a {
  transition: color 0.3s ease, text-decoration-color 0.3s ease;
  text-decoration-color: transparent;
}

a:hover {
  text-decoration-color: currentColor;
}

/* Sanfte Hover-Effekte für Überschriften */
h2, h3, h4 {
  transition: color 0.3s ease, transform 0.3s ease;
}

h2:hover, h3:hover, h4:hover {
  transform: translateX(5px);
}

/* === SECTIONS === */
.section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  scroll-margin-top: 0;
}

.section-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--color-white);
}

.section-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.section-hero .container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
}

.section-content {
  padding: var(--spacing-xxl) 0;
}

/* === ONEPAGE SECTIONS === */
.onepage-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-margin-top: 80px; /* Account for fixed header */
  position: relative;
  overflow: hidden;
  padding: var(--spacing-xxl) 0;
}

.onepage-section .section-content {
  width: 100%;
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

/* Alternierende Hintergründe */
.onepage-section:nth-child(even) {
  background-color: var(--color-background);
}

.onepage-section:nth-child(odd) {
  background-color: var(--color-white);
}

/* Standard Inhalts-Section */
.default-content {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-xxl) 0;
}

.default-content .container {
  width: 100%;
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.no-content {
  text-align: center;
  padding: var(--spacing-xxl);
  background: var(--color-background);
  border-radius: 12px;
  border: 2px dashed rgba(254, 1, 154, 0.3);
}

.no-content h1 {
  color: var(--color-primary);
  margin-bottom: var(--spacing-lg);
}

.no-content p {
  font-size: 1.1rem;
  margin-bottom: var(--spacing-lg);
}

.no-content a {
  color: var(--color-primary);
  text-decoration: underline;
  font-weight: 600;
}

.no-content a:hover {
  text-decoration: none;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  :root {
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-xxl: 2.5rem;
  }
  
  /* Hide desktop navigation on mobile */
  .nav-menu-wrapper {
    display: none;
  }

  /* Show mobile menu button */
  .mobile-menu-toggle {
    display: flex;
  }

  /* Mobile header adjustments */
  .nav-container {
    height: 70px;
    padding: 0 var(--spacing-sm);
  }
  
  .section-nav {
    right: var(--spacing-sm);
    top: calc(50% + 35px); /* Account for fixed header */
  }
  
  .nav-dots {
    padding: var(--spacing-sm) var(--spacing-xs);
    gap: var(--spacing-xs);
  }
  
  .nav-dot {
    width: 10px;
    height: 10px;
  }
  
  .onepager-nav {
    right: var(--spacing-sm);
    padding: var(--spacing-xs);
    top: calc(50% + 35px); /* Account for fixed header */
  }
  
  .section-hero {
    background-attachment: scroll;
  }
  
  /* Sections need padding-top for fixed header */
  .section {
    padding-top: 70px;
    min-height: calc(100vh - 70px);
  }

  .section:first-child {
    padding-top: 0;
    min-height: 100vh;
  }

  /* Mobile menu close button positioning */
  .mobile-menu-close {
    top: var(--spacing-md);
    right: var(--spacing-md);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--spacing-sm);
  }
  
  .section-nav,
  .onepager-nav {
    display: none;
  }
}

/* === CONTACT FORM 7 STYLING === */
.wpcf7 {
  margin: 0;
}

.wpcf7-form {
  display: grid;
  gap: var(--spacing-lg);
  max-width: 600px;
  margin: 0 auto;
}

.wpcf7-form-control-wrap {
  position: relative;
}

.wpcf7-acceptance{
  padding: 5px !important;
}

.wpcf7-form-control {
  width: 100%;
  padding: var(--spacing-md);
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-family: var(--font-family);
  font-size: 1rem;
  line-height: 1.5;
  background: var(--color-white);
  transition: all 0.3s ease;
  outline: none;
}

.wpcf7-form-control:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(254, 1, 154, 0.1);
}

.wpcf7-textarea {
  min-height: 150px;
  resize: vertical;
}

.wpcf7-submit {
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
  padding: var(--spacing-md) var(--spacing-xl);
  border-radius: 8px;
  font-family: var(--font-family);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: none;
  justify-self: start;
}

.wpcf7-submit:hover {
  background: #d0016b;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(254, 1, 154, 0.3);
}

.wpcf7-submit:active {
  transform: translateY(0);
}

/* Labels */
.wpcf7-form label {
  display: block;
  margin-bottom: var(--spacing-xs);
  font-weight: 500;
  color: var(--color-text);
}

/* Validation Messages */
.wpcf7-not-valid-tip {
  color: #e74c3c;
  font-size: 0.875rem;
  margin-top: var(--spacing-xs);
  display: block;
}

.wpcf7-validation-errors {
  background: #fdeaea;
  border: 1px solid #e74c3c;
  border-radius: 6px;
  padding: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
  color: #e74c3c;
}

.wpcf7-mail-sent-ok {
  background: #eaf7ea;
  border: 1px solid #27ae60;
  border-radius: 6px;
  padding: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
  color: #27ae60;
}

/* Checkbox und Radio Buttons */
.wpcf7-list-item {
  margin: var(--spacing-xs) 0;
}

.wpcf7-list-item input[type="checkbox"],
.wpcf7-list-item input[type="radio"] {
  margin-right: var(--spacing-xs);
  accent-color: var(--color-primary);
}

/* Responsive Form */
@media (max-width: 768px) {
  .wpcf7-form {
    gap: var(--spacing-md);
  }
  
  .wpcf7-form-control {
    padding: var(--spacing-sm);
  }
  
  .wpcf7-submit {
    padding: var(--spacing-sm) var(--spacing-lg);
    width: 100%;
    justify-self: stretch;
  }
}

/* Contact Form Pattern Styling */
.contact-form-section {
  background: var(--color-white);
  padding: var(--spacing-xxl);
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  margin: var(--spacing-xl) 0;
}

.contact-form-section h2 {
  text-align: center;
  margin-bottom: var(--spacing-xl);
  color: var(--color-text);
}

.contact-form-section p {
  text-align: center;
  margin-bottom: var(--spacing-lg);
  color: var(--color-gray-medium);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* === FOOTER STYLING === */
.site-footer {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-top: 1px solid #e9ecef;
  margin-top: var(--spacing-xxl);
  padding: 0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-xxl);
  padding: var(--spacing-xxl) 0;
}

.footer-section {
  display: flex;
  flex-direction: column;
}

.footer-heading {
  color: var(--color-primary);
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: var(--spacing-lg);
  position: relative;
  padding-bottom: var(--spacing-xs);
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--color-primary);
  border-radius: 2px;
}

/* Praxis Information Section */
.footer-logo {
  margin-top: var(--spacing-lg);
  margin-bottom: 0;
}

.footer-logo .site-logo svg {
  max-width: 240px;
  height: 60px;
}

.praxis-details .praxis-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--spacing-sm);
}

.praxis-details .qualification {
  font-size: 1rem;
  color: var(--color-gray-medium);
  margin-bottom: var(--spacing-xs);
}

/* Contact Information Section */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}


.address p:first-child,
.email p:first-child {
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
}

.address p:not(:first-child),
.email p:not(:first-child) {
  color: var(--color-text);
  line-height: 1.6;
  margin-bottom: 0;
}

.email a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.email a:hover {
  color: #d0016b;
  text-decoration: underline;
}

/* Services Section */
.services-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.services-list li {
  margin-bottom: var(--spacing-sm);
}

.services-list a {
  color: var(--color-text);
  text-decoration: none;
  padding: var(--spacing-xs) 0;
  display: block;
  transition: all 0.3s ease;
  padding-left: var(--spacing-sm);
  position: relative;
}

.services-list a::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: bold;
  transition: transform 0.3s ease;
}

.services-list a:hover {
  color: var(--color-primary);
  background: rgba(254, 1, 154, 0.05);
  padding-left: var(--spacing-md);
}

.services-list a:hover::before {
  transform: translateX(4px);
}

/* Legal Information Section */
.legal-content {
  background: var(--color-white);
  padding: var(--spacing-lg);
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

.impressum-title {
  color: var(--color-primary);
  font-size: 1.1rem;
  margin-bottom: var(--spacing-md);
}

.legal-text {
  color: var(--color-gray-medium);
  font-size: 0.9rem;
  margin-bottom: var(--spacing-xs);
}

.tax-info {
  margin-top: var(--spacing-lg);
  padding-top: var(--spacing-md);
  border-top: 1px solid #e9ecef;
}

.tax-number {
  font-family: 'Courier New', monospace;
  font-weight: 600;
  color: var(--color-text);
  background: #f8f9fa;
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: 4px;
  display: inline-block;
}

/* Footer Bottom */
.footer-bottom {
  background: transparent;
  color: #555555;
  padding: var(--spacing-lg) 0;
  border-top: 1px solid #e9ecef;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

.copyright p {
  margin: 0;
  font-size: 0.9rem;
  color: #555555;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.footer-links a,
.footer-menu li a {
  color: #555555;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
  padding: var(--spacing-xs);
}

.footer-links a:hover,
.footer-menu li a:hover {
  color: var(--color-primary);
}

.footer-links .separator {
  color: #999999;
  font-size: 0.8rem;
}

/* Footer Menu Styling */
.footer-menu {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-menu li {
  margin: 0;
  position: relative;
}

.footer-menu li:not(:last-child)::after {
  content: '|';
  color: #999999;
  font-size: 0.8rem;
  margin-left: var(--spacing-md);
}

/* Footer Responsive Design */
@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
  }
}

@media (max-width: 768px) {
  .footer-container {
    padding: 0 var(--spacing-md);
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    padding: var(--spacing-xl) 0;
  }
  
  .footer-section {
    text-align: left;
  }
  
  .footer-logo {
    text-align: center;
    margin-top: var(--spacing-md);
    margin-bottom: 0;
  }
  
  .footer-logo .site-logo svg {
    max-width: 200px;
  }
  
  .contact-details {
    gap: var(--spacing-md);
  }
  
  .address,
  .email {
    padding: var(--spacing-md);
  }
  
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-sm);
  }
  
  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer-container {
    padding: 0 var(--spacing-sm);
  }
  
  .footer-content {
    padding: var(--spacing-lg) 0;
  }
  
  .footer-heading {
    font-size: 1.25rem;
  }
  
  .footer-logo .site-logo svg {
    max-width: 180px;
  }
  
  .legal-content {
    padding: var(--spacing-md);
  }
  
  .footer-links {
    gap: var(--spacing-xs);
  }
  
  .footer-menu {
    gap: var(--spacing-xs);
  }
}

/* === GUTENBERG COLUMNS ALIGNMENT === */
/* Vertikale Zentrierung für Gutenberg Spalten */
.wp-block-columns {
  align-items: center !important;
  max-width: var(--content-max-width);
  margin-left: auto !important;
  margin-right: auto !important;
  gap: var(--spacing-xl) !important; /* Mehr Abstand zwischen Spalten */
}

/* Mehr Gutter/Abstand zwischen Spalten */
.wp-block-columns .wp-block-column {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Zusätzliche Klasse für größeren Spalten-Abstand */
.wp-block-columns.has-large-gutter {
  gap: var(--spacing-xxl) !important;
}

/* Zusätzliche Klasse für explizite vertikale Zentrierung */
.wp-block-columns.is-vertically-centered {
  align-items: center !important;
}

/* WordPress Standard-Klasse für vertikale Zentrierung überschreiben */
.wp-block-columns.are-vertically-aligned-center {
  align-items: center !important;
}

/* NEUE KLASSE: Oben-Ausrichtung für Spalten */
.wp-block-columns.align-columns-top,
.wp-block-columns.are-vertically-aligned-top,
.wp-block-columns.align-top {
  align-items: flex-start !important;
}

.wp-block-columns.align-columns-top .wp-block-column,
.wp-block-columns.are-vertically-aligned-top .wp-block-column,
.wp-block-columns.align-top .wp-block-column {
  justify-content: flex-start !important;
}

/* Responsive Anpassungen für vertikal zentrierte Spalten */
@media (max-width: 781px) {
  .wp-block-columns {
    align-items: center !important;
    gap: var(--spacing-lg) !important; /* Weniger Abstand auf Mobile */
  }
  
  .wp-block-columns.has-large-gutter {
    gap: var(--spacing-xl) !important;
  }
}

/* Spalten-Container für bessere vertikale Zentrierung */
.wp-block-columns .wp-block-column {
  display: flex;
    flex-direction: column;
  justify-content: center;
  height: 100%;
}

/* === BREADCRUMBS === */
.breadcrumb {
  margin-bottom: var(--spacing-lg);
  padding: var(--spacing-sm) 0;
  font-size: 0.9rem;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
}

.breadcrumb-item a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
  color: var(--color-text);
  text-decoration: underline;
}

.breadcrumb-separator {
  margin: 0 var(--spacing-xs);
  color: var(--color-gray-medium);
  font-size: 0.8rem;
}

/* === CONTACT FORM 7 STYLES === */

/* Contact Form Container */
.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--color-white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-row:last-child {
    margin-bottom: 0;
}

.form-field {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-field.full-width {
    flex: 1 1 100%;
}

.form-field label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.form-field input,
.form-field textarea {
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-family);
    font-weight: 600;
    transition: border-color 0.3s ease;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(254, 1, 154, 0.1);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #999;
    font-weight: 400;
}

.form-field textarea {
    resize: vertical;
    min-height: 120px;
}

/* Submit Button */
.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    width: 100%;
}

.btn-primary:hover {
    background: #d0016b;
    transform: translateY(-2px);
}

/* Datenschutz Checkbox */
.wpcf7-acceptance label {
    display: inline;
    font-weight: 400;
    margin-bottom: 0;
}
.wpcf7-acceptance .wpcf7-list-item {
  display: inline;
  margin: 0;
  padding: 0;
}
.wpcf7-acceptance input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0 0.5em 0 0;
  vertical-align: middle;
  accent-color: var(--color-primary);
}

/* reCAPTCHA Styling */
.recaptcha-field {
    text-align: center;
}

.grecaptcha-badge {
    visibility: hidden;
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-field {
        margin-bottom: 1rem;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
}

/* Success/Error Messages */
.wpcf7-response-output {
    border: none;
    margin: 1rem 0;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 600;
}

.wpcf7-mail-sent-ok {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.wpcf7-mail-sent-ng,
.wpcf7-validation-errors {
    background: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

/* Validation Errors */
.wpcf7-not-valid {
    border-color: #dc3545 !important;
}

.wpcf7-not-valid-tip {
    color: #dc3545;
    font-size: 0.9rem;
    margin-top: 0.25rem;
} 

/* === TO-TOP BUTTON === */

/* Verstecke alle anderen potentiellen to-top buttons von Plugins etc. */
*:not(.to-top-button)[class*="to-top"],
*:not(.to-top-button)[class*="back-to-top"],
*:not(.to-top-button)[class*="scroll-to-top"],
*:not(.to-top-button)[id*="to-top"],
*:not(.to-top-button)[id*="back-to-top"],
*:not(.to-top-button)[id*="scroll-to-top"] {
    display: none !important;
}

/* Unser eigener, runder to-top button */
.to-top-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 50% !important; /* Force round shape */
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-weight: bold;
    line-height: 1;
}

.to-top-button.visible {
    opacity: 1;
    visibility: visible;
}

.to-top-button:hover {
    background: #d0016b;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .to-top-button {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
        font-size: 16px;
    }
}

/* === IMPRESSUM & DATENSCHUTZ PAGES === */

/* Body-Hintergrund für Templates auf weiß setzen */
body.page-template-page-impressum,
body.page-template-page-datenschutz {
    background: white !important;
}

/* Override alle 100vh Regeln für Impressum/Datenschutz-Seiten */
body.page-template-page-impressum *,
body.page-template-page-datenschutz * {
    height: auto !important;
    min-height: auto !important;
}

body.page-template-page-impressum .hero-section,
body.page-template-page-datenschutz .hero-section,
body.page-template-page-impressum .onepage-section,
body.page-template-page-datenschutz .onepage-section,
body.page-template-page-impressum .section,
body.page-template-page-datenschutz .section {
    height: auto !important;
    min-height: auto !important;
}

/* Impressum und Datenschutz Container */
.impressum-page,
.datenschutz-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    min-height: auto;
}

.impressum-page .page-header,
.datenschutz-page .page-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--color-primary);
    background: white;
}

.impressum-page .page-title,
.datenschutz-page .page-title {
    color: var(--color-primary);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Content Sections - weniger aufdringlich */
.impressum-content .section,
.datenschutz-content .section,
.impressum-content > div,
.datenschutz-content > div {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    border-left: 3px solid var(--color-primary);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    height: auto;
    min-height: auto;
}

/* Keine Section-Container - direkte Inhalte */
.impressum-content,
.datenschutz-content {
    background: white;
    line-height: 1.7;
}


.impressum-content h2,
.datenschutz-content h2 {
    color: var(--color-primary);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
    margin-top: 0;
}

.impressum-content h3,
.datenschutz-content h3 {
    color: var(--color-text);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    margin-top: 1.5rem;
}

.impressum-content p,
.datenschutz-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
    font-weight: 400;
}

/* Listen-Styling */
.impressum-content ul,
.datenschutz-content ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.impressum-content li,
.datenschutz-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Spezielle Bereiche - vereinfacht */
.disclaimer {
    background: #f9f9f9;
    border-left-color: #999;
    padding: 1.2rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
}

/* Intro-Text */
.intro {
    background: linear-gradient(135deg, var(--color-primary) 0%, #e0007a 100%);
    color: var(--color-white);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border-left: none;
}

.intro p {
    margin: 0;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Links in Impressum/Datenschutz */
.impressum-content a,
.datenschutz-content a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.impressum-content a:hover,
.datenschutz-content a:hover {
    color: #d0016b;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .impressum-page,
    .datenschutz-page {
        padding: 1rem;
        margin: 1rem;
    }
    
    .impressum-page .page-title,
    .datenschutz-page .page-title {
        font-size: 2rem;
    }
    
    .impressum-content .section,
    .datenschutz-content .section,
    .impressum-content > div,
    .datenschutz-content > div {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .impressum-content h2,
    .datenschutz-content h2 {
        font-size: 1.4rem;
    }
    
    .impressum-content h3,
    .datenschutz-content h3 {
        font-size: 1.2rem;
    }
}

/* Print-Styling für Datenschutz/Impressum */
@media print {
    .impressum-page,
    .datenschutz-page {
        box-shadow: none;
        background: white;
        padding: 1rem;
    }
    
    .impressum-content .section,
    .datenschutz-content .section,
    .impressum-content > div,
    .datenschutz-content > div {
        background: white;
        border: 1px solid #ccc;
        box-shadow: none;
    }
    
    .intro {
        background: #f0f0f0;
        color: black;
    }
    
    .impressum-content a,
    .datenschutz-content a {
        color: black;
        text-decoration: underline;
  }
} 

/* === PRIMARY BUTTON MIT WELLENANIMATION === */
.primary-btn {
  position: relative;
  display: inline-block;
  padding: 0.75em 2em;
  font-size: 1.1em;
  font-weight: bold;
  color: #fff;
  background: var(--color-primary);
  border: none;
  border-radius: 2em;
  cursor: pointer;
  overflow: hidden;
  transition: background 0.3s;
  z-index: 1;
}
.primary-btn:hover {
  color: #fff;
  background: color-mix(in srgb, var(--color-primary) 80%, #000 20%);
}
.primary-btn::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  background: rgba(255,255,255,0.2);
  border-radius: 100%;
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease;
  z-index: 0;
  pointer-events: none;
}
.primary-btn:hover::after {
  width: 300%;
  height: 300%;
}
.primary-btn > * {
  position: relative;
  z-index: 1;
}

/* === NEON PINK FETT === */
.neon-pink-bold {
  color: var(--color-primary);
  font-weight: bold;
} 

/* Aktiver Menüpunkt wie Hover */
.nav-link.active {
  color: var(--color-primary);
}
.nav-link.active::after {
  width: 100%;
} 