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

:root {
  --wood-dark: #4A3220;
  --wood-mid: #5C4030;
  --red: #CC1111;
  --red-light: #E52020;
  --cream: #FAF5F0;
  --cream-dim: rgba(250, 245, 240, 0.65);
  --text: #1E150C;
  --text-muted: #7A6355;
  --bg: #FDFBF9;
  --bg-muted: #F5EFE8;
  --border: rgba(74, 50, 32, 0.12);
  --radius: 8px;
  --radius-lg: 14px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--wood-dark);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  height: 64px;
  gap: 1.5rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-img {
  height: 50px;
  width: auto;
  mix-blend-mode: screen;
}
.nav-links {
  display: flex;
  gap: 2rem;
  margin-left: auto;
}
.nav-links a {
  color: var(--cream-dim);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--cream); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

/* ---------- Language Switch ---------- */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
}
.lang-btn {
  background: none;
  border: none;
  color: rgba(250,245,240,0.45);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  padding: 3px 5px;
  border-radius: 3px;
  transition: color 0.2s;
}
.lang-btn:hover { color: var(--cream); }
.lang-btn.active { color: var(--cream); }
.lang-sep { color: rgba(250,245,240,0.2); font-size: 12px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 20px;
  cursor: pointer;
}

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  padding: 11px 22px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
  white-space: nowrap;
}
.btn-primary:hover { background: var(--red-light); }
.btn-primary:active { transform: scale(0.98); }
.btn-primary.btn-full { width: 100%; text-align: center; font-size: 15px; padding: 14px; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--cream);
  font-size: 14px;
  padding: 11px 20px;
  border-radius: var(--radius);
  border: 1px solid rgba(250,245,240,0.3);
  text-decoration: none;
  transition: border-color 0.2s;
}
.btn-outline:hover { border-color: rgba(250,245,240,0.6); }

/* ---------- Tag ---------- */
.tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  border: 1px solid var(--red);
  border-radius: 4px;
  padding: 4px 10px;
  margin-bottom: 1.25rem;
}

/* ---------- Hero ---------- */
.hero {
  background: var(--wood-dark);
  padding: 5rem 0 4rem;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero h1 {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(32px, 5vw, 46px);
  font-weight: 400;
  color: var(--cream);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}
.hero h1 em { color: var(--red); font-style: normal; }
.hero-sub {
  color: var(--cream-dim);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 420px;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats {
  background: rgba(250,245,240,0.05);
  border: 1px solid rgba(250,245,240,0.1);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: center;
}
.hero-stats-left {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.hero-stats-logo {
  width: 120px;
  height: auto;
  display: block;
  filter: url('#logo-nobg');
}
.stat-num {
  display: block;
  font-size: 32px;
  font-weight: 500;
  color: var(--cream);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  display: block;
  font-size: 13px;
  color: rgba(250,245,240,0.45);
}

/* ---------- Strip ---------- */
.strip { background: var(--red); padding: 13px 0; }
.strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
.strip-item {
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 4px 20px;
  border-right: 1px solid rgba(255,255,255,0.25);
}
.strip-item:last-child { border-right: none; }

/* ---------- Sections ---------- */
.section { padding: 5rem 0; }
.section--muted { background: var(--bg-muted); }

.section-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.5rem;
}
.section-title {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.section-sub {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 520px;
  line-height: 1.7;
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
}
.service-card--dark {
  background: var(--wood-dark);
  border-color: rgba(204,17,17,0.2);
}
.service-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(204,17,17,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--red);
}
.service-card--dark .service-icon { background: rgba(204,17,17,0.15); }
.service-name { font-size: 16px; font-weight: 500; color: var(--text); margin-bottom: 0.5rem; }
.service-card--dark .service-name { color: var(--cream); }
.service-desc { font-size: 14px; color: var(--text-muted); line-height: 1.65; }
.service-card--dark .service-desc { color: rgba(250,245,240,0.5); }

/* ---------- Values ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 2.5rem 0 3rem;
}
.value {
  padding: 2rem 1.75rem;
  border-right: 1px solid var(--border);
}
.value:last-child { border-right: none; }
.value-kw {
  font-family: 'Lora', Georgia, serif;
  font-size: 20px;
  color: var(--red);
  margin-bottom: 0.5rem;
}
.value-desc { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* ---------- About ---------- */
.about-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.about-item { display: flex; gap: 14px; align-items: flex-start; }
.about-item svg { color: var(--red); flex-shrink: 0; margin-top: 3px; }
.about-item strong { display: block; font-size: 15px; font-weight: 500; margin-bottom: 4px; }
.about-item p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ---------- Quote ---------- */
.quote-section { background: var(--wood-dark); padding: 5rem 0; text-align: center; }
.quote-mark {
  font-family: 'Lora', Georgia, serif;
  font-size: 72px;
  color: var(--red);
  line-height: 0.6;
  margin-bottom: 1.5rem;
  display: block;
}
.quote-text {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(18px, 2.5vw, 22px);
  font-style: italic;
  color: var(--cream);
  max-width: 600px;
  margin: 0 auto 1rem;
  line-height: 1.65;
}
.quote-author { font-style: normal; color: rgba(250,245,240,0.4); font-size: 13px; letter-spacing: 0.05em; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  margin-top: 3rem;
}
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-ico {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(204,17,17,0.08);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--red);
}
.contact-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 3px; }
.contact-val { font-size: 14px; color: var(--text); text-decoration: none; line-height: 1.5; }
.contact-val:hover { color: var(--red); }

/* ---------- Form ---------- */
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group label { font-size: 12px; color: var(--text-muted); font-weight: 500; }
.form-group input,
.form-group select,
.form-group textarea {
  font-family: inherit; font-size: 14px; color: var(--text);
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 10px 14px;
  outline: none; transition: border-color 0.2s; resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--red); }

.form-success {
  display: flex; align-items: center; gap: 12px;
  background: #f0faf4; border: 1px solid #6bc98a;
  border-radius: var(--radius-lg); padding: 1.5rem;
  color: #1a6b3a; margin-bottom: 1rem;
}
.form-success svg { flex-shrink: 0; color: #2ea84d; }
.form-success p { font-size: 15px; font-weight: 500; }
.form-error {
  font-size: 13px; color: var(--red);
  background: rgba(204,17,17,0.06);
  border-radius: var(--radius); padding: 8px 12px;
}

/* ---------- Footer ---------- */
.footer {
  background: #2E1E10;
  padding: 2rem 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
}
.footer-logo-img {
  height: 38px; width: auto;
  mix-blend-mode: screen; flex-shrink: 0;
}
.footer-center { display: flex; flex-direction: column; gap: 4px; }
.footer-text { font-size: 12px; color: rgba(250,245,240,0.35); }
.footer-links { display: flex; gap: 8px; align-items: center; font-size: 12px; }
.footer-links a { color: rgba(250,245,240,0.45); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--red); }
.footer-links span { color: rgba(250,245,240,0.2); }
.footer-socials { display: flex; gap: 8px; }
.footer-socials a {
  width: 30px; height: 30px; border-radius: 6px;
  border: 1px solid rgba(250,245,240,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(250,245,240,0.35); text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.footer-socials a:hover { border-color: var(--red); color: var(--red); }

/* ---------- Impressum / Datenschutz pages ---------- */
.legal-page { padding: 4rem 0 6rem; min-height: 70vh; }
.legal-page h1 {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 400;
  color: var(--text);
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.legal-page h2 {
  font-family: 'Lora', Georgia, serif;
  font-size: 20px; font-weight: 400;
  color: var(--text); margin: 2rem 0 0.75rem;
}
.legal-page p { font-size: 15px; color: var(--text-muted); line-height: 1.75; margin-bottom: 1rem; }
.legal-page a { color: var(--red); }
.legal-back {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--text-muted); text-decoration: none;
  font-size: 14px; margin-bottom: 2.5rem;
  transition: color 0.2s;
}
.legal-back:hover { color: var(--red); }

/* ---------- Service list (sub-items) ---------- */
.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 0.5rem;
}
.service-list li {
  font-size: 13px;
  color: var(--text-muted);
  padding-left: 14px;
  position: relative;
  line-height: 1.5;
}
.service-list li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--red);
  opacity: 0.6;
}
.service-card--dark .service-list li { color: rgba(250,245,240,0.5); }

/* ---------- Hero pills ---------- */
.hero-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}
.hero-pill {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(250,245,240,0.55);
  border: 1px solid rgba(250,245,240,0.15);
  border-radius: 20px;
  padding: 4px 12px;
}

/* ---------- About intro ---------- */
.about-intro {
  margin-bottom: 2rem;
}
.about-intro p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 640px;
}

/* ---------- Referenzen Kategorien ---------- */
.refs-cats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.ref-cat-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  text-decoration: none;
  transition: box-shadow 0.2s, transform 0.2s;
}
.ref-cat-card:hover {
  box-shadow: 0 10px 30px rgba(74,50,32,0.12);
  transform: translateY(-3px);
}
.ref-cat-img {
  height: 220px;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-muted);
}
.ref-cat-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.ref-cat-title {
  font-family: 'Lora', Georgia, serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--text);
}
.ref-cat-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}
.ref-cat-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--red);
  margin-top: 0.25rem;
}

/* ---------- Referenzen Einzelkarten ---------- */
.refs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.ref-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  transition: box-shadow 0.2s, transform 0.2s;
}
.ref-card:hover {
  box-shadow: 0 8px 24px rgba(74,50,32,0.1);
  transform: translateY(-2px);
}
.ref-img {
  height: 200px;
  background-size: cover;
  background-position: center;
}
.ref-info {
  padding: 1.25rem 1.25rem 1.5rem;
}
.ref-cat {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: 6px;
}
.ref-info h3 {
  font-family: 'Lora', Georgia, serif;
  font-size: 17px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 4px;
  line-height: 1.35;
}
.ref-info p {
  font-size: 13px;
  color: var(--text-muted);
}

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}
.team-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.25rem;
  transition: box-shadow 0.2s;
}
.team-card:hover { box-shadow: 0 4px 16px rgba(74,50,32,0.08); }
.team-initials {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  flex-shrink: 0;
  letter-spacing: 0.03em;
}
.team-card--founder .team-initials {
  background: var(--wood-dark);
  border-color: transparent;
  color: var(--cream);
}
.team-card--apprentice .team-initials {
  background: rgba(204,17,17,0.06);
  border-color: rgba(204,17,17,0.15);
  color: var(--red);
}
.team-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 3px;
  line-height: 1.3;
}
.team-role {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ---------- Instagram ---------- */
.insta-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.insta-follow-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 9px 16px;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.insta-follow-btn:hover { border-color: var(--red); color: var(--red); }

.insta-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
}
.insta-post {
  aspect-ratio: 1;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  display: block;
  text-decoration: none;
}
.insta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(74,50,32,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
  color: #fff;
}
.insta-post:hover .insta-overlay { opacity: 1; }

#behold-widget-container { width: 100%; }

/* ---------- Responsive ---------- */
/* ---------- Galerie Unterseiten ---------- */
.gallery-page { padding: 4rem 0 6rem; }
.gallery-page-header { margin-bottom: 3rem; }
.gallery-back {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--text-muted); text-decoration: none;
  font-size: 14px; margin-bottom: 2rem;
  transition: color 0.2s;
}
.gallery-back:hover { color: var(--red); }
.gallery-page h1 {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 400; color: var(--text);
  margin-bottom: 0.75rem;
}
.gallery-page-sub { font-size: 16px; color: var(--text-muted); max-width: 560px; line-height: 1.7; }
.gallery-grid {
  columns: 3;
  column-gap: 12px;
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: 12px;
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-muted);
}
.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.3s;
}
.gallery-item:hover img { transform: scale(1.03); }
.gallery-cats-nav {
  display: flex; gap: 0.75rem; flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.gallery-cat-pill {
  font-size: 13px; font-weight: 500;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 20px; padding: 6px 16px;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.gallery-cat-pill:hover,
.gallery-cat-pill.active { border-color: var(--red); color: var(--red); }

@media (max-width: 900px) {
  .refs-cats { grid-template-columns: 1fr; }
  .gallery-grid { columns: 2; }
}
@media (max-width: 640px) {
  .gallery-grid { columns: 1; }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-stats { flex-direction: row; flex-wrap: wrap; justify-content: space-between; padding: 1.75rem; }
  .values-grid { grid-template-columns: 1fr; }
  .value { border-right: none; border-bottom: 1px solid var(--border); }
  .value:last-child { border-bottom: none; }
  .about-row { grid-template-columns: 1fr; gap: 1.5rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 64px; left: 0; right: 0;
    background: var(--wood-mid); padding: 1rem 2rem; gap: 1rem; z-index: 99;
  }
  .nav-toggle { display: block; }
  .nav-right .btn-primary { display: none; }
  .hero { padding: 3rem 0; }
  .section { padding: 3.5rem 0; }
  .form-row { grid-template-columns: 1fr; }
  .strip-item { border-right: none; padding: 3px 12px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-center { align-items: center; }
  .services-grid { grid-template-columns: 1fr; }
}
