/*
Theme Name: Brautsalon Kärnten
Theme URI: https://www.brautsalon-kaernten.at
Author: Brautsalon Kärnten
Author URI: https://www.brautsalon-kaernten.at
Description: Elegantes WordPress-Theme für Brautsalons und Brautmoden-Geschäfte in Kärnten. Enthält Vorlagen für Brautkleider, Ballkleider, Maturaballkleider, Verleih und Curvy-Kollektionen, ein Anprobe-Terminbuchungssystem sowie SEO/AI-optimierte Inhaltsseiten. Farbwelt: Rosé, Champagner, Salbeigrün.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: brautsalon-kaernten
Tags: wedding, bridal, custom-menu, custom-logo, featured-images, translation-ready
*/

/* =========================================================
   1. GRUNDFARBEN & VARIABLEN
   ========================================================= */
:root {
  --rosa: #e8b4c0;
  --rosa-dunkel: #d68fa3;
  --rosa-hell: #f8e6ea;
  --champagner: #f3e5d3;
  --champagner-dunkel: #e3cba8;
  --salbei: #a3b18a;
  --salbei-dunkel: #7d8f63;
  --salbei-hell: #eef1e8;
  --creme: #fffaf5;
  --schrift-dunkel: #3f3a36;
  --schrift-hell: #7a726b;
  --gold: #cfa15e;
  --weiss: #ffffff;
  --schatten: 0 10px 30px rgba(63, 58, 54, 0.08);
  --schatten-stark: 0 15px 40px rgba(63, 58, 54, 0.16);
  --radius: 18px;
  --font-headline: "Playfair Display", Georgia, serif;
  --font-text: "Lato", "Helvetica Neue", Arial, sans-serif;
}

/* =========================================================
   2. RESET & BASIS
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-text);
  color: var(--schrift-dunkel);
  background: var(--creme);
  line-height: 1.7;
  font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rosa-dunkel); text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--salbei-dunkel); }
h1, h2, h3, h4 {
  font-family: var(--font-headline);
  color: var(--schrift-dunkel);
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1.2em; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--alt { background: var(--rosa-hell); }
.section--salbei { background: var(--salbei-hell); }
.section--champagner { background: var(--champagner); }
.text-center { text-align: center; }
.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .78rem;
  color: var(--rosa-dunkel);
  font-weight: 700;
  margin-bottom: 14px;
}
.lead { font-size: 1.15rem; color: var(--schrift-hell); max-width: 720px; margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 15px 34px;
  border-radius: 50px;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .02em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .25s ease;
}
.btn--primary { background: var(--rosa-dunkel); color: var(--weiss); }
.btn--primary:hover { background: var(--salbei-dunkel); color: var(--weiss); transform: translateY(-2px); }
.btn--outline { border-color: var(--rosa-dunkel); color: var(--rosa-dunkel); background: transparent; }
.btn--outline:hover { background: var(--rosa-dunkel); color: var(--weiss); }
.btn--salbei { background: var(--salbei-dunkel); color: var(--weiss); }
.btn--salbei:hover { background: var(--rosa-dunkel); }
.btn--block { display: block; width: 100%; text-align: center; }

/* =========================================================
   3. HEADER / NAVIGATION
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 500;
  background: rgba(255, 250, 245, .96);
  backdrop-filter: blur(6px);
  box-shadow: var(--schatten);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px;
  max-width: 1280px; margin: 0 auto;
}
.site-branding { display: flex; align-items: center; gap: 12px; }
.site-title {
  font-family: var(--font-headline);
  font-size: 1.6rem; margin: 0; letter-spacing: .02em;
}
.site-title a { color: var(--schrift-dunkel); }
.site-description { font-size: .78rem; color: var(--salbei-dunkel); letter-spacing: .06em; text-transform: uppercase; }

.main-navigation ul {
  list-style: none; display: flex; gap: 6px; margin: 0; padding: 0;
}
.main-navigation li { position: relative; }
.main-navigation a {
  display: block; padding: 10px 16px; color: var(--schrift-dunkel);
  font-weight: 600; font-size: .95rem; border-radius: 30px;
}
.main-navigation a:hover, .main-navigation .current-menu-item > a {
  background: var(--rosa-hell); color: var(--rosa-dunkel);
}
.main-navigation .sub-menu {
  list-style: none; position: absolute; top: 100%; left: 0;
  background: var(--weiss); box-shadow: var(--schatten-stark);
  border-radius: 14px; padding: 10px; min-width: 230px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .2s ease;
}
.main-navigation li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.main-navigation .sub-menu a { border-radius: 8px; padding: 10px 14px; }

.menu-toggle { display: none; background: none; border: none; font-size: 1.6rem; cursor: pointer; color: var(--rosa-dunkel); }
.header-cta { display: flex; align-items: center; gap: 14px; }

@media (max-width: 900px) {
  .main-navigation { position: fixed; inset: 0 0 0 30%; background: var(--weiss); transform: translateX(100%); transition: transform .3s ease; z-index: 600; padding: 100px 24px 24px; overflow-y: auto; }
  .main-navigation.is-open { transform: translateX(0); }
  .main-navigation ul { flex-direction: column; }
  .main-navigation .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; display: none; }
  .main-navigation li.is-open .sub-menu { display: block; }
  .menu-toggle { display: block; }
  .header-cta .btn { padding: 10px 18px; font-size: .82rem; }
}

/* =========================================================
   4. HERO
   ========================================================= */
.hero {
  background: linear-gradient(135deg, var(--rosa-hell) 0%, var(--champagner) 55%, var(--salbei-hell) 100%);
  padding: 100px 0 90px;
  text-align: center;
}
.hero h1 { max-width: 900px; margin: 0 auto .4em; }
.hero .lead { margin-bottom: 2em; }
.hero-badges { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; margin-top: 46px; }
.hero-badge { background: rgba(255,255,255,.7); padding: 14px 22px; border-radius: 14px; font-size: .9rem; font-weight: 700; color: var(--schrift-dunkel); box-shadow: var(--schatten); }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* =========================================================
   5. KARTEN / GRIDS
   ========================================================= */
.grid { display: grid; gap: 30px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1000px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; } }

.card {
  background: var(--weiss); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--schatten); transition: transform .3s ease, box-shadow .3s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--schatten-stark); }
.card__image { aspect-ratio: 3/4; background: var(--rosa-hell) center/cover no-repeat; display: flex; align-items: center; justify-content: center; color: var(--rosa-dunkel); font-family: var(--font-headline); font-size: 1.1rem; text-align: center; padding: 20px;}
.card__body { padding: 26px; flex: 1; display: flex; flex-direction: column; }
.card__body h3 { margin-bottom: .3em; }
.card__tag { display: inline-block; background: var(--salbei-hell); color: var(--salbei-dunkel); font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 5px 12px; border-radius: 20px; margin-bottom: 14px; align-self: flex-start; }
.card__price { margin-top: auto; font-weight: 700; color: var(--rosa-dunkel); padding-top: 14px; }

/* Preiskategorie-Karten */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; align-items: stretch; }
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; } }
.pricing-card {
  background: var(--weiss); border-radius: var(--radius); padding: 40px 32px;
  box-shadow: var(--schatten); border-top: 6px solid var(--rosa);
  display: flex; flex-direction: column; position: relative;
}
.pricing-card--mid { border-top-color: var(--champagner-dunkel); transform: translateY(-14px); box-shadow: var(--schatten-stark); }
.pricing-card--couture { border-top-color: var(--gold); }
.pricing-card__badge { position: absolute; top: -14px; right: 28px; background: var(--rosa-dunkel); color: var(--weiss); font-size: .72rem; font-weight: 700; padding: 6px 16px; border-radius: 20px; text-transform: uppercase; letter-spacing: .05em; }
.pricing-card h3 { font-size: 1.6rem; }
.pricing-card .price-range { font-size: 1.4rem; font-weight: 700; color: var(--rosa-dunkel); margin-bottom: 18px; font-family: var(--font-headline); }
.pricing-card ul { list-style: none; padding: 0; margin: 0 0 26px; }
.pricing-card li { padding: 8px 0 8px 28px; position: relative; color: var(--schrift-hell); }
.pricing-card li::before { content: "✓"; position: absolute; left: 0; color: var(--salbei-dunkel); font-weight: 700; }

/* =========================================================
   6. TERMINKALENDER (Anprobe)
   ========================================================= */
.booking-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: flex-start; }
@media (max-width: 900px) { .booking-wrap { grid-template-columns: 1fr; } }

.kalender-box { background: var(--weiss); border-radius: var(--radius); box-shadow: var(--schatten); padding: 30px; }
.kalender-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.kalender-header h3 { margin: 0; }
.kalender-nav button {
  background: var(--rosa-hell); border: none; width: 38px; height: 38px; border-radius: 50%;
  font-size: 1.1rem; cursor: pointer; color: var(--rosa-dunkel); margin-left: 6px;
}
.kalender-nav button:hover { background: var(--rosa); color: var(--weiss); }
.kalender-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; text-align: center; }
.kalender-grid .weekday { font-weight: 700; font-size: .78rem; color: var(--schrift-hell); padding-bottom: 8px; text-transform: uppercase; }
.kalender-day {
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  border-radius: 10px; font-size: .9rem; cursor: default; color: var(--schrift-hell);
}
.kalender-day.empty { visibility: hidden; }
.kalender-day.available { background: var(--salbei-hell); color: var(--salbei-dunkel); font-weight: 700; cursor: pointer; }
.kalender-day.available:hover { background: var(--salbei); color: var(--weiss); }
.kalender-day.selected { background: var(--rosa-dunkel) !important; color: var(--weiss) !important; }
.kalender-day.closed { background: var(--rosa-hell); opacity: .45; text-decoration: line-through; }
.kalender-legend { display: flex; gap: 20px; margin-top: 18px; font-size: .85rem; flex-wrap: wrap; }
.kalender-legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend-dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.legend-dot--frei { background: var(--salbei); }
.legend-dot--belegt { background: var(--rosa-hell); }
.legend-dot--gewaehlt { background: var(--rosa-dunkel); }

.termin-form { background: var(--weiss); border-radius: var(--radius); box-shadow: var(--schatten); padding: 34px; }
.termin-form h3 { margin-top: 0; }
.termin-form label { display: block; font-weight: 700; font-size: .85rem; margin: 16px 0 6px; }
.termin-form input, .termin-form select, .termin-form textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--champagner-dunkel); border-radius: 10px;
  font-family: var(--font-text); font-size: .95rem; background: var(--creme);
}
.termin-form input:focus, .termin-form select:focus, .termin-form textarea:focus { outline: none; border-color: var(--rosa-dunkel); }
.termin-selected-info { background: var(--salbei-hell); padding: 12px 16px; border-radius: 10px; font-size: .9rem; margin-top: 18px; color: var(--salbei-dunkel); font-weight: 700; }
.form-message { margin-top: 16px; padding: 14px 16px; border-radius: 10px; font-weight: 700; display: none; }
.form-message.success { display: block; background: var(--salbei-hell); color: var(--salbei-dunkel); }
.form-message.error { display: block; background: #fbe4e4; color: #a13f3f; }

/* =========================================================
   7. ANPROBE-ABLAUF / TIMELINE
   ========================================================= */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
@media (max-width: 900px) { .timeline { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .timeline { grid-template-columns: 1fr; } }
.timeline-step { background: var(--weiss); border-radius: var(--radius); padding: 30px 24px; box-shadow: var(--schatten); position: relative; }
.timeline-step::before {
  counter-increment: step; content: counter(step);
  width: 42px; height: 42px; border-radius: 50%; background: var(--rosa-dunkel); color: var(--weiss);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-headline); font-size: 1.2rem; margin-bottom: 16px;
}

/* =========================================================
   8. FAQ
   ========================================================= */
.faq-item { background: var(--weiss); border-radius: 14px; box-shadow: var(--schatten); margin-bottom: 14px; overflow: hidden; }
.faq-question { padding: 20px 26px; font-weight: 700; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-question::after { content: "+"; font-size: 1.4rem; color: var(--rosa-dunkel); }
.faq-item.open .faq-question::after { content: "–"; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease; padding: 0 26px; color: var(--schrift-hell); }
.faq-item.open .faq-answer { max-height: 500px; padding-bottom: 22px; }

/* =========================================================
   9. REGIONEN / STANDORTE
   ========================================================= */
.regionen-liste { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; list-style: none; padding: 0; }
@media (max-width: 700px) { .regionen-liste { grid-template-columns: repeat(2, 1fr); } }
.regionen-liste li { background: var(--weiss); border-radius: 12px; padding: 16px 20px; box-shadow: var(--schatten); font-weight: 700; text-align: center; }

/* =========================================================
   10. TESTIMONIALS
   ========================================================= */
.testimonial { background: var(--weiss); border-radius: var(--radius); padding: 30px; box-shadow: var(--schatten); }
.testimonial__stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 10px; }
.testimonial__name { font-weight: 700; margin-top: 14px; color: var(--rosa-dunkel); }

/* =========================================================
   11. FOOTER
   ========================================================= */
.site-footer { background: var(--schrift-dunkel); color: #ece6e1; padding: 70px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 40px; margin-bottom: 50px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
.site-footer h4 { color: var(--weiss); font-size: 1.05rem; }
.site-footer a { color: #d8cfc7; }
.site-footer a:hover { color: var(--rosa); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; text-align: center; font-size: .85rem; color: #b7ada4; }

/* =========================================================
   12. UTILITY / MISC
   ========================================================= */
.badge-inline { display: inline-block; background: var(--rosa-dunkel); color: var(--weiss); padding: 4px 12px; border-radius: 20px; font-size: .72rem; font-weight: 700; margin-right: 8px; }
.divider-flourish { text-align: center; color: var(--rosa); font-size: 1.6rem; margin: 10px 0 30px; }
.content-page { padding: 70px 0; max-width: 900px; margin: 0 auto; }
.content-page img { border-radius: var(--radius); margin: 20px 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; } }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 10px; top: 10px; background: var(--weiss); padding: 10px; z-index: 9999; }
