/*
Theme Name: Zweifach
Theme URI: https://www.zweifach-boutique.ch
Author: zweifach secondhand
Description: Modernes Theme für zweifach Boutique, Zofingen
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: zweifach
*/

/* ===== VARIABLEN ===== */
:root {
  --color-purple: #7B5EA7;
  --color-purple-dark: #5E4480;
  --color-purple-light: #9B7EC8;
  --color-lavender: #F0E8F6;
  --color-lavender-mid: #DFD0EE;
  --color-white: #ffffff;
  --color-text: #3a3a3a;
  --color-text-light: #6a6a6a;
  --color-border: #d8c8e8;
  --font-main: 'Georgia', 'Times New Roman', serif;
  --font-ui: 'Helvetica Neue', Arial, sans-serif;
  --max-width: 1100px;
  --border-radius: 8px;
}

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

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

body {
  font-family: var(--font-ui);
  color: var(--color-text);
  background: var(--color-lavender);
  line-height: 1.7;
}

a { color: var(--color-purple); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--color-purple-dark); text-decoration: underline; }

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

p { margin-bottom: 1em; }
h1, h2, h3, h4 { font-family: var(--font-main); color: var(--color-purple); line-height: 1.3; margin-bottom: 0.5em; }
h1 { font-size: 2rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.3rem; }

ul, ol { padding-left: 1.5em; margin-bottom: 1em; }
li { margin-bottom: 0.3em; }

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

/* ===== HEADER ===== */
#site-header {
  background: var(--color-white);
  padding: 20px 0 10px;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}

.site-branding {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.site-logo img {
  max-height: 80px;
  width: auto;
}

.site-contact-bar {
  font-size: 0.85rem;
  color: var(--color-text-light);
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.site-contact-bar a { color: var(--color-text-light); }
.site-contact-bar a:hover { color: var(--color-purple); }

/* ===== NAVIGATION ===== */
#site-nav {
  background: var(--color-lavender-mid);
  border-bottom: 2px solid var(--color-border);
}

#site-nav .container {
  display: flex;
  align-items: center;
}

#site-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

#site-nav ul li a {
  display: block;
  padding: 12px 18px;
  color: var(--color-purple-dark);
  font-size: 0.9rem;
  font-family: var(--font-ui);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
}

#site-nav ul li a:hover,
#site-nav ul li.current-menu-item a {
  background: var(--color-purple);
  color: var(--color-white);
  text-decoration: none;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 10px;
  color: var(--color-purple-dark);
  margin-left: auto;
}

/* ===== HERO IMAGE ===== */
.hero-image {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  background: var(--color-lavender-mid);
}

.hero-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center top;
}

/* ===== MAIN CONTENT ===== */
#main-content {
  padding: 40px 0 60px;
}

/* ===== CONTENT CARD ===== */
.content-card {
  background: var(--color-white);
  border-radius: var(--border-radius);
  padding: 40px;
  margin-bottom: 30px;
  box-shadow: 0 2px 12px rgba(123, 94, 167, 0.08);
  border: 1px solid var(--color-border);
}

.content-card.lavender-bg {
  background: var(--color-lavender);
}

/* ===== WELCOME BOX (Startseite) ===== */
.welcome-box {
  background: linear-gradient(135deg, #f8f4fc 0%, #ede0f4 100%);
  border-left: 4px solid var(--color-purple);
  border-radius: var(--border-radius);
  padding: 36px 40px;
  margin-bottom: 30px;
}

.welcome-box h1 { font-size: 1.8rem; margin-bottom: 12px; }
.welcome-box .subtitle { font-size: 1.1rem; color: var(--color-text-light); font-style: italic; margin-bottom: 24px; }

/* ===== INFO BOXES ===== */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin: 30px 0;
}

.info-box {
  background: var(--color-white);
  border-radius: var(--border-radius);
  padding: 28px;
  border: 1px solid var(--color-border);
  box-shadow: 0 2px 8px rgba(123,94,167,0.06);
}

.info-box h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-lavender-mid);
}

.info-box ul { list-style: none; padding: 0; }
.info-box ul li { padding: 4px 0; border-bottom: 1px solid #f5f0fb; font-size: 0.95rem; }
.info-box ul li:last-child { border-bottom: none; }

/* ===== ANNOUNCEMENT BOX ===== */
.announcement-box {
  background: linear-gradient(135deg, #f5f0e8 0%, #ede8d8 100%);
  border: 1px solid #d8cca8;
  border-radius: var(--border-radius);
  padding: 32px 40px;
  margin-bottom: 30px;
  font-size: 1.05rem;
}

.announcement-box p { color: var(--color-purple); }

/* ===== PAGE TITLE ===== */
.page-title-section {
  background: var(--color-white);
  padding: 30px 0 0;
  margin-bottom: 30px;
  border-bottom: 2px solid var(--color-lavender-mid);
}

.page-title-section h1 {
  font-size: 2rem;
  padding-bottom: 20px;
}

/* ===== AGB SEITE ===== */
.agb-section {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--color-border);
}
.agb-section:last-child { border-bottom: none; }
.agb-section h3 { color: var(--color-purple); margin-bottom: 12px; }

/* ===== KONTAKT ===== */
.kontakt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.kontakt-box {
  background: var(--color-lavender);
  border-radius: var(--border-radius);
  padding: 28px;
  border: 1px solid var(--color-border);
}

.kontakt-box h3 { margin-bottom: 16px; }

.kontakt-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.kontakt-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }

/* ===== SOCIAL ICONS ===== */
.social-links {
  display: flex;
  gap: 16px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-purple);
  color: var(--color-white) !important;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  transition: background 0.2s;
}

.social-link:hover {
  background: var(--color-purple-dark);
  text-decoration: none !important;
}

/* ===== FOOTER ===== */
#site-footer {
  background: var(--color-purple-dark);
  color: #d8c8e8;
  padding: 40px 0 20px;
  margin-top: 60px;
}

#site-footer .footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

#site-footer h4 {
  color: var(--color-white);
  font-family: var(--font-ui);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

#site-footer ul { list-style: none; padding: 0; }
#site-footer ul { margin-top: 0; padding-top: 0; }
#site-footer ul li { margin-bottom: 2px; }
#site-footer ul li a { color: #c8b8d8 !important; font-size: 0.9rem; transition: color 0.2s; }
#site-footer ul li a:hover { color: var(--color-white); text-decoration: none; }

#site-footer p { font-size: 0.9rem; margin-bottom: 6px; color: #e8d8f8 !important; }
#site-footer p a { color: #ffffff !important; text-decoration: underline !important; }
#site-footer p a:hover { color: #e0c8ff !important; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 20px;
  text-align: center;
  font-size: 0.8rem;
  color: #a898b8;
}

.footer-bottom a { color: #b8a8c8; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.3rem; }

  .content-card { padding: 24px 20px; }
  .welcome-box { padding: 24px 20px; }
  .announcement-box { padding: 24px 20px; }

  .nav-toggle { display: block; }

  #site-nav ul {
    flex-direction: column;
    display: none;
    width: 100%;
  }

  #site-nav ul.is-open { display: flex; }
  #site-nav ul li a { padding: 14px 20px; border-bottom: 1px solid var(--color-border); }

  #site-nav .container {
    flex-wrap: wrap;
    padding: 0;
  }

  .hero-image img { height: 280px; }

  .info-grid { grid-template-columns: 1fr; }
  .kontakt-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .content-card { padding: 20px 16px; }
}
