:root {
  --bg: #f3f4f6;
  --bg-soft: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --accent: #c9733d;
  --accent-soft: #f5e2d4;
  --border: #e5e7eb;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.12);
  --shadow-subtle: 0 10px 20px rgba(15, 23, 42, 0.10);
}

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

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* Layout helpers */

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.4rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(243, 244, 246, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e5e7eb;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #fdf7ee, #c9733d);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3b1f10;
  font-weight: 700;
  box-shadow: var(--shadow-subtle);
}

.logo-text {
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.88rem;
}

.main-nav {
  display: flex;
  gap: 1.4rem;
  font-size: 0.95rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--muted);
  position: relative;
  padding-bottom: 0.15rem;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #c9733d, #f4a261);
  transition: width 0.18s ease-out;
}

.main-nav a:hover {
  color: var(--text);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.main-nav a.active {
  color: var(--text);
}

/* Hero */

.hero {
  background: radial-gradient(circle at top left, #fef9f4, #f3f4f6);
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: center;
  padding: 3.2rem 0 3.4rem;
}

.hero-text h1 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin: 0 0 0.8rem;
}

.hero-text h1 span {
  color: var(--accent);
}

.hero-text p {
  margin: 0 0 1.6rem;
  color: var(--muted);
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* Hero card */

.hero-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  font-size: 0.95rem;
}

.hero-tag {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: #fef3c7;
  color: #92400e;
}

.hero-card p {
  margin-top: 0;
  color: var(--muted);
}

.hero-card ul {
  margin: 0.8rem 0 0;
  padding-left: 1.1rem;
}

.hero-card li {
  margin-bottom: 0.25rem;
}

/* Buttons */

.btn {
  border-radius: 999px;
  padding: 0.65rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out,
              background 0.15s ease-out, color 0.15s ease-out,
              border-color 0.15s ease-out;
}

.btn-primary {
  background: linear-gradient(135deg, #c9733d, #f4a261);
  color: #fff7ed;
  box-shadow: var(--shadow-subtle);
  border-color: rgba(0, 0, 0, 0.08);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

.btn-outline {
  background: transparent;
  border-color: #d4d4d8;
  color: var(--text);
}

.btn-outline:hover {
  background: #e5e7eb;
}

/* Sections */

.section {
  padding: 2.8rem 0;
}

.section-light {
  background: #f9fafb;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section h2 {
  margin-top: 0;
  font-size: 1.7rem;
  margin-bottom: 0.8rem;
}

.section-lead {
  max-width: 40rem;
  color: var(--muted);
}

/* Intro grid */

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
  gap: 2rem;
}

.intro-grid p {
  color: var(--muted);
}

.facts-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.3rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-subtle);
}

.facts-card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.facts-card ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.facts-card li {
  margin-bottom: 0.3rem;
}

/* Cards grid */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
  margin-top: 1.5rem;
}

.card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-subtle);
  font-size: 0.95rem;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.section-cta {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.section-cta p {
  margin: 0;
  color: var(--muted);
}

/* Leistungen-Seite */

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
  margin-top: 1.5rem;
}

.service {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.1rem 1.3rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-subtle);
  font-size: 0.95rem;
}

.service h2 {
  margin: 0 0 0.4rem;
  font-size: 1.2rem;
}

.service ul {
  margin: 0.2rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

/* Kontaktbereich */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.2fr);
  gap: 2rem;
}

.contact-box {
  margin-top: 1rem;
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-subtle);
  font-size: 0.95rem;
}

.contact-box p {
  margin: 0.25rem 0;
}

/* Formular */

.contact-form {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.4rem 1.4rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  font-size: 0.95rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 0.85rem;
}

label {
  font-size: 0.85rem;
  color: var(--muted);
}

input, select, textarea {
  border-radius: 10px;
  border: 1px solid #d4d4d8;
  padding: 0.5rem 0.6rem;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: #f9fafb;
  outline: none;
  transition: border-color 0.15s ease-out, box-shadow 0.15s ease-out,
              background 0.15s ease-out;
}

input:focus, select:focus, textarea:focus {
  border-color: #c9733d;
  background: #ffffff;
  box-shadow: 0 0 0 1px #f4a26155;
}

textarea {
  resize: vertical;
}

.form-hint {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.8rem;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  background: #f3f4f6;
  margin-top: 1.6rem;
}

.footer-inner {
  padding: 1rem 0 1.3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--muted);
  gap: 1rem;
}

/* Responsive */

@media (max-width: 880px) {
  .hero-inner,
  .intro-grid,
  .cards-grid,
  .service-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    padding-top: 2.2rem;
  }

  .cards-grid,
  .service-grid {
    gap: 1rem;
  }

  .section-cta {
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .main-nav {
    gap: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ===== Werkstatt-Layout (Bilder links, Text rechts) ===== */

.handwerk-grid {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.handwerk-photos,
.handwerk-text {
  flex: 1;
}

.handwerk-photos {
  display: grid;
  grid-template-columns: 2fr 1.2fr;
  grid-template-rows: auto auto;
  gap: 0.8rem;
  padding: 1rem;
}

.handwerk-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
}

.handwerk-photo.large {
  grid-row: 1 / 3;
}

.handwerk-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Mobile */
@media (max-width: 820px) {
  .handwerk-grid {
    flex-direction: column;
  }
  .handwerk-photos {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }
  .handwerk-photo.large {
    grid-row: auto;
  }
}

/* ===== Galerie ===== */

.galerie-grid {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.galerie-photo {
  width: 100%;
  border-radius: 14px;
  height: 220px;
  object-fit: cover;
  box-shadow: var(--shadow-subtle);
}

/* Kleinere Bildgrößen für Mobilgeräte */
@media (max-width: 880px) {
  .galerie-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .galerie-grid {
    grid-template-columns: 1fr;
  }
  .galerie-photo {
    height: 200px;
  }
}
