/*
Theme Name: AYA Psychology
Theme URI: https://bilderfuerdieseele.at
Author: Eveline Bugajski, MA., BA.
Author URI: https://bilderfuerdieseele.at
Description: Sanftes, naturnahes Theme für Mentale Gesundheit & Achtsamkeit
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: ayapsychology
*/

/* ===== CSS VARIABLES ===== */
:root {
  --color-sage:       #7a9e7e;
  --color-sage-light: #a8c5a0;
  --color-sage-pale:  #e8f0e8;
  --color-warm:       #c8a96e;
  --color-warm-light: #f5ede0;
  --color-cream:      #faf7f2;
  --color-sand:       #e8ddd0;
  --color-brown:      #5c4a3a;
  --color-text:       #3a3028;
  --color-text-muted: #7a6e65;
  --color-white:      #ffffff;
  --font-heading:     'Playfair Display', Georgia, serif;
  --font-body:        'Lato', 'Helvetica Neue', sans-serif;
  --radius:           8px;
  --shadow:           0 4px 20px rgba(60,48,40,0.08);
  --shadow-hover:     0 8px 32px rgba(60,48,40,0.14);
  --transition:       0.3s ease;
  --max-width:        1100px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-cream);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--color-sage); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-warm); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-brown);
  line-height: 1.25;
  font-weight: 700;
}

p { margin-bottom: 1.25rem; }

ul, ol { padding-left: 1.5rem; margin-bottom: 1rem; }

/* ===== LAYOUT ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 80px 0; }
.section--alt { background: var(--color-warm-light); }
.section--sage { background: var(--color-sage-pale); }

/* ===== TYPOGRAPHY ===== */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-sage);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: var(--color-brown);
  margin-bottom: 1rem;
}

.section-intro {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin-bottom: 3rem;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: var(--color-sage);
  color: var(--color-white);
  border-color: var(--color-sage);
}
.btn-primary:hover {
  background: var(--color-brown);
  border-color: var(--color-brown);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-outline {
  background: transparent;
  color: var(--color-brown);
  border-color: var(--color-brown);
}
.btn-outline:hover {
  background: var(--color-brown);
  color: var(--color-white);
  transform: translateY(-2px);
}

/* ===== HEADER & NAV ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,247,242,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-sand);
  padding: 1rem 0;
  transition: box-shadow var(--transition);
}

.site-header.scrolled { box-shadow: var(--shadow); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--color-brown);
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
}
.site-logo span {
  display: block;
  font-size: 0.7rem;
  font-family: var(--font-body);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-sage);
  font-weight: 400;
}
.site-logo:hover { color: var(--color-sage); }

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 0.25rem;
  padding: 0;
  margin: 0;
}

.main-nav a {
  display: block;
  padding: 0.5rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
  border-radius: 50px;
  letter-spacing: 0.02em;
  transition: all var(--transition);
}
.main-nav a:hover,
.main-nav .current-menu-item a {
  background: var(--color-sage-pale);
  color: var(--color-sage);
}

.nav-cta .btn { padding: 0.55rem 1.3rem; font-size: 0.875rem; }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-brown);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ===== HERO ===== */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-warm-light) 50%, var(--color-sage-pale) 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 120%;
  background: radial-gradient(ellipse, rgba(122,158,126,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 6rem 0;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-sage);
  margin-bottom: 1.25rem;
}
.hero-label::before {
  content: '';
  display: inline-block;
  width: 2rem;
  height: 2px;
  background: var(--color-sage);
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: var(--color-brown);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-title em {
  font-style: italic;
  color: var(--color-sage);
}

.hero-text {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 480px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-image-wrapper {
  position: relative;
}

.hero-image-wrapper::before {
  content: '';
  position: absolute;
  inset: -1.5rem;
  border-radius: 60% 40% 55% 45% / 50% 45% 55% 50%;
  background: var(--color-sage-pale);
  z-index: 0;
}

.hero-image-wrapper img {
  position: relative;
  z-index: 1;
  border-radius: 55% 45% 50% 50% / 45% 50% 50% 55%;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  object-fit: cover;
  aspect-ratio: 4/5;
}

.hero-image-placeholder {
  position: relative;
  z-index: 1;
  border-radius: 55% 45% 50% 50% / 45% 50% 50% 55%;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--color-sage-light), var(--color-warm));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  color: var(--color-white);
  font-size: 1rem;
  text-align: center;
  padding: 2rem;
}

/* ===== TRUST BAR ===== */
.trust-bar {
  background: var(--color-brown);
  padding: 1.5rem 0;
}

.trust-bar-inner {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-sand);
  font-size: 0.9rem;
}

.trust-item svg {
  width: 20px;
  height: 20px;
  color: var(--color-warm);
  flex-shrink: 0;
}

/* ===== ABOUT TEASER ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img,
.about-image-placeholder {
  border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.about-image-placeholder {
  background: linear-gradient(160deg, var(--color-sage-pale), var(--color-warm-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  text-align: center;
}

.about-badge {
  position: absolute;
  bottom: 2rem;
  right: -1rem;
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow);
  text-align: center;
}

.about-badge strong {
  display: block;
  font-size: 1.8rem;
  font-family: var(--font-heading);
  color: var(--color-sage);
}

.about-badge span {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.about-content h2 { margin-bottom: 1.25rem; }
.about-content p { color: var(--color-text-muted); }

.qualifications {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem;
}

.qualifications li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--color-sand);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.qualifications li::before {
  content: '✦';
  color: var(--color-sage);
  flex-shrink: 0;
  margin-top: 0.1em;
  font-size: 0.7rem;
}

/* ===== BLOG GRID ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.post-card {
  background: var(--color-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

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

.post-card-image {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--color-sage-pale);
}

.post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.post-card:hover .post-card-image img { transform: scale(1.05); }

.post-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }

.post-category {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-sage);
  margin-bottom: 0.5rem;
}

.post-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.post-card-body h3 a { color: var(--color-brown); }
.post-card-body h3 a:hover { color: var(--color-sage); }

.post-excerpt {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  flex: 1;
  margin-bottom: 1.25rem;
}

.post-meta {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.read-more {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-sage);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.75rem;
}

.read-more::after { content: '→'; transition: transform var(--transition); }
.read-more:hover::after { transform: translateX(4px); }

/* ===== QUOTE / PHILOSOPHY ===== */
.philosophy {
  background: var(--color-brown);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.philosophy::before {
  content: '"';
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-heading);
  font-size: 20rem;
  color: rgba(255,255,255,0.03);
  line-height: 1;
  pointer-events: none;
}

.philosophy blockquote {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--color-cream);
  font-style: italic;
  max-width: 750px;
  margin: 0 auto 1.5rem;
  line-height: 1.4;
}

.philosophy cite {
  display: block;
  font-style: normal;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-warm);
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contact-info h2 { margin-bottom: 1rem; }
.contact-info p { color: var(--color-text-muted); margin-bottom: 2rem; }

.contact-detail {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-sand);
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-sage-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 18px;
  height: 18px;
  color: var(--color-sage);
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--color-brown);
  color: var(--color-sand);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 2rem;
}

.footer-brand .site-logo { color: var(--color-cream); }
.footer-brand .site-logo:hover { color: var(--color-warm); }
.footer-brand .site-logo span { color: var(--color-warm); }

.footer-tagline {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: rgba(232,221,208,0.7);
  line-height: 1.7;
  max-width: 280px;
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-warm);
  margin-bottom: 1rem;
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-nav a {
  color: rgba(232,221,208,0.75);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--color-warm); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(232,221,208,0.5);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: rgba(232,221,208,0.5); }
.footer-legal a:hover { color: var(--color-warm); }

/* ===== SINGLE POST / PAGE ===== */
.page-hero {
  background: linear-gradient(135deg, var(--color-cream), var(--color-warm-light));
  padding: 80px 0 60px;
  text-align: center;
}

.page-hero .section-label { display: block; }

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  max-width: 700px;
  margin: 0 auto;
}

.entry-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 1.5rem;
}

.entry-content h2 { font-size: 1.8rem; margin: 2.5rem 0 1rem; }
.entry-content h3 { font-size: 1.4rem; margin: 2rem 0 0.75rem; }
.entry-content p { color: var(--color-text-muted); }
.entry-content ul, .entry-content ol { color: var(--color-text-muted); margin-bottom: 1.5rem; }
.entry-content li { margin-bottom: 0.5rem; }

/* ===== IMPRESSUM / DATENSCHUTZ ===== */
.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 1.5rem;
}

.legal-content h2 { font-size: 1.5rem; margin: 2.5rem 0 0.75rem; color: var(--color-brown); }
.legal-content h3 { font-size: 1.15rem; margin: 1.75rem 0 0.5rem; color: var(--color-brown); }
.legal-content p { color: var(--color-text-muted); margin-bottom: 1rem; }
.legal-content a { color: var(--color-sage); }

/* ===== WORDPRESS DEFAULTS ===== */
.wp-block-image { margin: 2rem 0; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text { font-size: 0.85rem; color: var(--color-text-muted); text-align: center; margin-top: 0.5rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-image-wrapper { order: -1; max-width: 320px; margin: 0 auto; }
  .hero-buttons { justify-content: center; }
  .about-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .section { padding: 60px 0; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .trust-bar-inner { gap: 1.5rem; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--color-cream); padding: 1rem; border-bottom: 1px solid var(--color-sand); }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .philosophy { padding: 70px 0; }
}

/* ===== HERO PORTRAIT (echtes Foto) ===== */
.hero-portrait {
  position: relative;
  z-index: 1;
  border-radius: 55% 45% 50% 50% / 45% 50% 50% 55%;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  object-fit: cover;
  aspect-ratio: 3/4;
  box-shadow: 0 20px 60px rgba(60,48,40,0.18);
  display: block;
}

/* Hero mit Waldatmosphäre als dezenter Hintergrund */
.hero {
  background:
    linear-gradient(135deg,
      rgba(250,247,242,0.97) 0%,
      rgba(245,237,224,0.93) 40%,
      rgba(232,240,232,0.90) 100%),
    url('images/eveline-bugajski.jpg') center 30% / cover no-repeat fixed;
}