/* wohnstudio s — Custom CSS */
/* Primary: #bf1015 | Fonts: Raleway, Roboto */

:root {
  --primary:   #bf1015;
  --secondary: #f5f5f5;
  --accent:    #bf1015;
  --text:      #333333;
  --bg:        #ffffff;
  --border:    #e0e0e0;
  --dark:      #1a1a1a;
  --footer-bg: #1a1a1a;
  --footer-text: #cccccc;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; color: #8a0c0f; }
p { margin-bottom: 1em; }
ul, ol { margin: 0.75em 0 1em 1.5em; }
h1, h2, h3, h4 { font-family: 'Raleway', 'Arial Narrow', Arial, sans-serif; font-weight: 500; line-height: 1.3; }

/* ──────────────── HEADER ──────────────── */
.site-header {
  background: var(--bg);
  border-bottom: 3px solid var(--primary);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.site-header-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.site-logo {
  font-family: 'Raleway', Arial, sans-serif;
  font-size: 22px;
  font-weight: 300;
  letter-spacing: 3px;
  color: var(--primary);
  text-transform: lowercase;
  text-decoration: none;
}
.site-logo span { font-weight: 500; }
.site-logo:hover { text-decoration: none; color: #8a0c0f; }

/* ──────────────── NAVIGATION ──────────────── */
.main-nav { display: flex; align-items: center; gap: 0; }

.main-nav a {
  font-family: 'Raleway', Arial, sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--dark);
  padding: 8px 14px;
  display: block;
  transition: color 0.2s;
  text-decoration: none;
}
.main-nav a:hover { color: var(--primary); text-decoration: none; }
.main-nav a.active { color: var(--primary); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--dark);
  transition: 0.3s;
}

/* ──────────────── HERO (HOME) ──────────────── */
.wohnstudio-hero {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: var(--dark);
}

.wohnstudio-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.65;
}

.wohnstudio-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1300px;
  margin: 0 auto;
  padding: 60px 24px;
  color: #fff;
}

.wohnstudio-hero-content h1 {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 300;
  letter-spacing: 2px;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.wohnstudio-hero-content p {
  font-size: 18px;
  font-weight: 300;
  max-width: 560px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
  opacity: 0.92;
}

.wohnstudio-hero-badge {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-family: 'Raleway', Arial, sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 18px;
  margin-bottom: 18px;
}

/* ──────────────── PAGE HEADER (inner pages) ──────────────── */
.page-hero {
  background: var(--secondary);
  padding: 48px 24px 40px;
  border-bottom: 1px solid var(--border);
}

.page-hero-inner {
  max-width: 1300px;
  margin: 0 auto;
}

.page-hero h1 {
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 300;
  letter-spacing: 2px;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.page-hero p {
  font-size: 16px;
  color: #666;
  max-width: 600px;
  margin-bottom: 0;
}

/* ──────────────── PAGE WITH PHOTO HEADER ──────────────── */
.page-hero-photo {
  position: relative;
  height: 280px;
  overflow: hidden;
  background: var(--dark);
}

.page-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.page-hero-photo-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 0 24px;
}

.page-hero-photo-text-inner {
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
}

.page-hero-photo-text h1 {
  font-size: clamp(26px, 3.5vw, 44px);
  font-weight: 300;
  letter-spacing: 3px;
  color: #fff;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

/* ──────────────── MAIN CONTAINER ──────────────── */
.site-main {
  max-width: 1300px;
  margin: 0 auto;
  padding: 48px 24px;
}

.site-main.wide { max-width: 100%; padding: 0; }

/* ──────────────── HOME — INTRO SECTION ──────────────── */
.wohnstudio-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 64px 24px;
  max-width: 1300px;
  margin: 0 auto;
}

.wohnstudio-intro-text h2 {
  font-size: 28px;
  font-weight: 300;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
  color: var(--primary);
}

.wohnstudio-intro-text p { color: #555; }

.wohnstudio-intro-image img {
  width: 100%;
  object-fit: cover;
  max-height: 400px;
}

/* ──────────────── HOME — COLLECTION BANNER ──────────────── */
.wohnstudio-collection-banner {
  background: var(--secondary);
  padding: 40px 24px;
  text-align: center;
  border-top: 1px solid var(--border);
}

.wohnstudio-collection-banner p {
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 1px;
  color: #555;
  margin-bottom: 6px;
}

.wohnstudio-collection-banner strong {
  color: var(--primary);
  font-weight: 500;
}

/* ──────────────── HOME — GALLERY ROW ──────────────── */
.wohnstudio-gallery-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  height: 320px;
  overflow: hidden;
}

.wohnstudio-gallery-row img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.wohnstudio-gallery-row img:hover { transform: scale(1.04); }

/* ──────────────── HOME — CONTACT SECTION ──────────────── */
.wohnstudio-contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 64px 24px;
  max-width: 1300px;
  margin: 0 auto;
}

.wohnstudio-contact-info h2 {
  font-size: 22px;
  letter-spacing: 1.5px;
  color: var(--primary);
  margin-bottom: 24px;
  text-transform: uppercase;
}

.wohnstudio-contact-info address {
  font-style: normal;
  color: #555;
  line-height: 2;
}

.wohnstudio-contact-info a { color: var(--primary); }

.wohnstudio-map-placeholder {
  background: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  border: 1px solid var(--border);
  color: #999;
  font-size: 14px;
  text-align: center;
  padding: 24px;
}

/* ──────────────── ONLINESHOP ──────────────── */
.onlineshop-banner {
  background: var(--dark);
  color: #fff;
  text-align: center;
  padding: 60px 24px;
}

.onlineshop-banner h1 {
  font-size: clamp(26px, 4vw, 48px);
  font-weight: 300;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.onlineshop-kategorie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: var(--border);
  margin: 0;
}

.onlineshop-kategorie-item {
  background: var(--bg);
  padding: 48px 24px;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  transition: background 0.2s, color 0.2s;
  display: block;
}

.onlineshop-kategorie-item:hover {
  background: var(--primary);
  color: #fff;
  text-decoration: none;
}

.onlineshop-kategorie-item h2 {
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
}

/* ──────────────── LIVING PAGE ──────────────── */
.living-teaser-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 480px;
}

.living-teaser-item {
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: block;
}

.living-teaser-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
  min-height: 480px;
}

.living-teaser-item:hover img { transform: scale(1.06); }

.living-teaser-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.65));
  padding: 32px 28px;
  color: #fff;
}

.living-teaser-overlay h2 {
  font-size: 22px;
  font-weight: 300;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.living-teaser-overlay span {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.8;
  font-family: 'Raleway', Arial, sans-serif;
}

/* ──────────────── BRAND SECTION (Indoor/Outdoor) ──────────────── */
.marken-section {
  max-width: 1300px;
  margin: 0 auto;
  padding: 64px 24px;
}

.marke-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 72px;
  padding-bottom: 72px;
  border-bottom: 1px solid var(--border);
}

.marke-block:last-child { border-bottom: none; margin-bottom: 0; }
.marke-block.reverse { direction: rtl; }
.marke-block.reverse > * { direction: ltr; }

.marke-block-text h2 {
  font-size: 28px;
  font-weight: 300;
  letter-spacing: 2px;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.marke-block-text p { color: #555; }

.marke-block-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

/* ──────────────── ÜBER UNS ──────────────── */
.ueber-uns-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  max-width: 1300px;
  margin: 0 auto;
  padding: 64px 24px;
}

.ueber-uns-text h1 {
  font-size: 30px;
  font-weight: 300;
  letter-spacing: 2px;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.ueber-uns-text h2 {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--dark);
  margin: 32px 0 12px;
}

.ueber-uns-text p { color: #555; }

.team-liste { list-style: none; margin: 0 0 24px; padding: 0; }
.team-liste li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  color: #444;
  font-size: 15px;
}
.team-liste li strong { display: block; color: var(--dark); font-weight: 500; }

.ueber-uns-image img { width: 100%; height: 480px; object-fit: cover; }

/* ──────────────── REFERENZEN / INTERIOR ──────────────── */
.referenzen-section {
  text-align: center;
  padding: 80px 24px;
  max-width: 800px;
  margin: 0 auto;
}

.referenzen-section h1 {
  font-size: 32px;
  font-weight: 300;
  letter-spacing: 2px;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.referenzen-section p { color: #666; font-size: 17px; }

.referenzen-image-block {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px 64px;
}
.referenzen-image-block img { width: 100%; max-height: 480px; object-fit: cover; }

/* ──────────────── MÖBELMANUFAKTUR ──────────────── */
.moebelmanufaktur-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 64px 24px;
}

.moebelmanufaktur-section h1 {
  font-size: 30px;
  font-weight: 300;
  letter-spacing: 2px;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.moebelmanufaktur-section p { color: #555; }

/* ──────────────── MÖBEL PAGE ──────────────── */
.moebel-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px;
}

.moebel-gallery img { width: 100%; height: 280px; object-fit: cover; }

/* ──────────────── INTERIOR PAGE ──────────────── */
.interior-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 64px 24px;
  text-align: center;
}
.interior-section h1 {
  font-size: 30px;
  font-weight: 300;
  letter-spacing: 2px;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 24px;
}
.interior-section p { color: #555; }
.interior-image { max-width: 1300px; margin: 0 auto; padding: 0 24px 64px; }
.interior-image img { width: 100%; max-height: 460px; object-fit: cover; }

/* ──────────────── IMPRESSUM / LEGAL ──────────────── */
.legal-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 64px 24px;
}

.legal-section h1 {
  font-size: 28px;
  font-weight: 300;
  letter-spacing: 1.5px;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--primary);
}

.legal-section h2 {
  font-size: 17px;
  font-weight: 500;
  color: var(--dark);
  margin: 28px 0 10px;
}

.legal-section h3 {
  font-size: 15px;
  font-weight: 500;
  color: #555;
  margin: 20px 0 8px;
}

.legal-section p, .legal-section li { color: #555; font-size: 15px; }
.legal-section address { font-style: normal; line-height: 2; color: #444; }
.legal-section a { color: var(--primary); word-break: break-word; }

/* ──────────────── DOCX ARTICLE PAGE ──────────────── */
.article-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 64px 24px;
}

.article-content h1 {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 24px;
  line-height: 1.3;
}

.article-content h2 {
  font-size: 20px;
  font-weight: 500;
  color: var(--primary);
  margin: 36px 0 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}

.article-content h3 {
  font-size: 17px;
  font-weight: 500;
  color: var(--dark);
  margin: 24px 0 10px;
}

.article-content p { color: #555; }
.article-content ul { color: #555; }
.article-content li { margin-bottom: 8px; }

.article-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
  overflow-x: auto;
  display: block;
}

.article-table th {
  background: var(--primary);
  color: #fff;
  padding: 12px 14px;
  text-align: left;
  font-family: 'Raleway', Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.article-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  color: #444;
}

.article-table tr:nth-child(even) td { background: #f8f9fa; }

.faq-section { margin-top: 40px; }
.faq-section h3 {
  background: #f0f4f8;
  padding: 14px 18px;
  border-left: 4px solid var(--accent);
  margin: 0 0 2px;
  font-size: 15px;
  color: var(--dark);
}
.faq-section p {
  padding: 12px 18px;
  background: #fafafa;
  border-left: 4px solid var(--border);
  margin-bottom: 16px;
  color: #555;
}

/* ──────────────── 404 ──────────────── */
.error-404-wrapper {
  text-align: center;
  padding: 100px 24px;
  min-height: calc(100vh - 250px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-404 .big-404 {
  font-size: 120px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  font-family: 'Raleway', Arial, sans-serif;
}

.error-404 h2 {
  font-size: 28px;
  font-weight: 300;
  letter-spacing: 2px;
  margin: 16px 0;
  color: var(--dark);
}

.error-404 p { color: #666; margin-bottom: 0; }

.btn-back {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 12px 32px;
  border-radius: 2px;
  font-family: 'Raleway', Arial, sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 24px;
  text-decoration: none;
  transition: background 0.2s;
}
.btn-back:hover { background: #8a0c0f; text-decoration: none; color: #fff; }

/* ──────────────── HOURS BOX ──────────────── */
.oeffnungszeiten-box {
  background: var(--secondary);
  border-left: 4px solid var(--primary);
  padding: 20px 24px;
  margin: 32px 0;
  display: inline-block;
}
.oeffnungszeiten-box h3 {
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}
.oeffnungszeiten-box p { margin: 0; color: #444; font-size: 14px; line-height: 1.9; }

/* ──────────────── FOOTER ──────────────── */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 48px 24px 24px;
}

.site-footer-grid {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col h3 {
  font-family: 'Raleway', Arial, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}

.footer-col p, .footer-col address { font-size: 14px; color: #aaa; line-height: 1.9; font-style: normal; }
.footer-col a { color: #aaa; text-decoration: none; display: block; font-size: 14px; line-height: 2; }
.footer-col a:hover { color: var(--primary); text-decoration: none; }

.site-footer-bottom {
  max-width: 1300px;
  margin: 24px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer-bottom p { font-size: 13px; color: #666; margin: 0; }
.footer-legal-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-legal-links a { font-size: 12px; color: #666; }
.footer-legal-links a:hover { color: var(--primary); }

/* ──────────────── RESPONSIVE ──────────────── */
@media (max-width: 1024px) {
  .wohnstudio-intro { grid-template-columns: 1fr; }
  .wohnstudio-contact-section { grid-template-columns: 1fr; }
  .marke-block { grid-template-columns: 1fr; }
  .marke-block.reverse { direction: ltr; }
  .ueber-uns-section { grid-template-columns: 1fr; }
  .site-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .main-nav { 
    display: none;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 2px solid var(--primary);
    box-shadow: 0 8px 16px rgba(0,0,0,0.12);
    padding: 8px 0;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 24px; border-bottom: 1px solid var(--secondary); }
  .nav-toggle { display: flex; }
  .site-header { position: sticky; }

  .living-teaser-grid { grid-template-columns: 1fr; min-height: auto; }
  .living-teaser-item img { min-height: 300px; }

  .wohnstudio-gallery-row { grid-template-columns: 1fr; height: auto; }
  .wohnstudio-gallery-row img { height: 220px; }

  .onlineshop-kategorie-grid { grid-template-columns: 1fr 1fr; }

  .site-footer-grid { grid-template-columns: 1fr; }
  .site-footer-bottom { flex-direction: column; align-items: flex-start; }

  .moebel-gallery { grid-template-columns: 1fr; }
  .ueber-uns-image img { height: auto; max-height: 320px; }
  .marke-block-image img { height: 220px; }

  .article-table { font-size: 13px; }
  .article-table th, .article-table td { padding: 8px 10px; }
}

@media (max-width: 480px) {
  .site-header-inner { padding: 0 16px; }
  .site-main { padding: 32px 16px; }
  .wohnstudio-hero-content { padding: 48px 16px; }
  .onlineshop-banner { padding: 40px 16px; }
  .onlineshop-kategorie-grid { grid-template-columns: 1fr; }
}

/* Google Fonts import */
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;500;600&family=Roboto:wght@300;400;500&display=swap');
