/* M+M Hammer Ltd – mmhammer.org – Muted Aesop-Style Palette */
:root {
  --c-primary: #3D2B1F;        /* deep espresso */
  --c-primary-dark: #2B1F15;   /* darker espresso */
  --c-accent: #8C7A56;         /* warm olive/taupe (subtle) */
  --c-accent-dark: #6E5F40;
  --c-text: #2D2520;           /* warm dark */
  --c-text-soft: #6B5D52;      /* warm gray */
  --c-bg: #FAF7F2;             /* warm off-white */
  --c-bg-soft: #F2EDE5;        /* deeper cream */
  --c-border: #E5DDD0;         /* warm beige */
  --shadow-sm: 0 2px 6px rgba(45,37,32,.06);
  --shadow-md: 0 6px 18px rgba(45,37,32,.08);
  --radius: 14px;
  --max-width: 1180px;
  --font: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: #2D2520; }
body { font-family: var(--font); color: var(--c-text); background: var(--c-bg); line-height: 1.65; font-size: 17px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--c-accent-dark); }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

.site-header { position: sticky; top: 0; background: #fff; z-index: 100; }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; max-width: var(--max-width); margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand span { font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-weight: 400; font-size: 1.15rem; color: #1A1A1A; letter-spacing: .01em; }
.brand img { height: 40px; width: auto; }
.nav-links { display: flex; list-style: none; gap: 28px; align-items: center; }
.nav-links a { font-weight: 500; color: var(--c-text); padding: 6px 0; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--c-primary); }
.nav-links a.active { font-weight: 600; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--c-text); margin: 5px 0; border-radius: 2px; }

.hero { position: relative; min-height: 85vh; padding: 60px 0 56px; text-align: center; color: #fff; background: #2D2520 url('images/mmhammer_hero.jpg') center 28% / cover no-repeat; display: flex; align-items: flex-end; justify-content: center; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(45,37,32,.0) 0%, rgba(45,37,32,.05) 40%, rgba(45,37,32,.55) 75%, rgba(45,37,32,.85) 100%); z-index: -1; }
.hero .container { position: relative; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 800; color: #fff; line-height: 1.15; margin-bottom: 14px; letter-spacing: -.02em; text-shadow: 0 2px 30px rgba(0,0,0,.45); }
.hero-sub { font-size: clamp(1rem, 2vw, 1.2rem); font-weight: 500; color: rgba(255,255,255,.95); line-height: 1.4; margin: 0 auto 28px; text-shadow: 0 1px 14px rgba(0,0,0,.45); }
.hero .lead { font-size: 1.15rem; color: rgba(255,255,255,.92); max-width: 700px; margin: 0 auto 36px; }
.btn.btn-glass { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.45); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 4px 16px rgba(0,0,0,.18); font-weight: 600; }
.btn.btn-glass:hover { background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.65); color: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.28); }
.hero-trustbar { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; color: rgba(255,255,255,.92); font-size: .95rem; font-weight: 500; }
.hero-trustbar .star { color: var(--c-accent); margin-right: 4px; }

.btn-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.btn { display: inline-block; padding: 14px 28px; background: var(--c-primary); color: #fff; font-weight: 600; border-radius: 999px; border: 2px solid var(--c-primary); transition: transform .15s, box-shadow .2s, background .2s; font-size: 1rem; cursor: pointer; }
.btn:hover { background: var(--c-primary-dark); border-color: var(--c-primary-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-secondary { background: transparent; color: var(--c-primary); }
.btn-secondary:hover { background: var(--c-primary); color: #fff; }
.btn-accent { background: var(--c-accent); border-color: var(--c-accent); color: #2b2b2b; }
.btn-accent:hover { background: var(--c-accent-dark); border-color: var(--c-accent-dark); color: #fff; }

section { padding: 64px 0; }
section.alt { background: var(--c-bg-soft); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); color: var(--c-primary-dark); margin-bottom: 36px; letter-spacing: -.01em; text-align: center; }
h3 { font-size: 1.25rem; color: var(--c-primary-dark); margin: 0 0 12px; }
p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }
.section-intro { text-align: center; max-width: 760px; margin: 0 auto 48px; color: var(--c-text-soft); font-size: 1.08rem; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.cards--four { grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 960px) { .cards--four { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (max-width: 520px) { .cards--four { grid-template-columns: 1fr; } }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.card-body p { color: var(--c-text-soft); }
.card-link { margin-top: auto; padding-top: 16px; font-weight: 600; }

.about { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about img { border-radius: var(--radius); box-shadow: var(--shadow-md); }
.about p { font-size: 1.05rem; color: var(--c-text-soft); }

.video-wrap { position: relative; padding-bottom: 56.25%; height: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); max-width: 900px; margin: 0 auto; }
.video-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

.form-wrap { max-width: 800px; margin: 0 auto; background: #fff; border-radius: var(--radius); padding: 12px; box-shadow: var(--shadow-sm); }
.form-wrap iframe { width: 100%; border: 0; min-height: 700px; border-radius: 8px; }

.page-hero { background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-dark) 100%); color: #fff; padding: 90px 0 80px; text-align: center; }
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 14px; }
.page-hero p { font-size: 1.15rem; opacity: .92; max-width: 700px; margin: 0 auto 28px; }
.page-hero .btn { background: var(--c-accent); border-color: var(--c-accent); color: #2b2b2b; }
.page-hero .btn:hover { background: #fff; color: var(--c-primary-dark); }
.page-hero--photo { background-size: cover; background-position: center; background-repeat: no-repeat; padding: 110px 0 100px; }
.page-hero--photo h1, .page-hero--photo p { text-shadow: 0 2px 18px rgba(0,0,0,.45); }

.text-block { max-width: 820px; margin: 0 auto; font-size: 1.05rem; color: var(--c-text); }
.text-block h3 { margin-top: 32px; }
.text-block ul { padding-left: 24px; margin-bottom: 1em; }
.text-block li { margin-bottom: 6px; }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin: 0 auto; max-width: 900px; }
.feature-grid .feat { background: #fff; padding: 18px 20px; border-radius: 10px; border-left: 4px solid var(--c-accent); font-size: .98rem; color: var(--c-text); box-shadow: var(--shadow-sm); }

.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; max-width: 900px; margin: 0 auto; }
.price-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); text-align: center; display: flex; flex-direction: column; }
.price-card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.price-card .price-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.price-card h3 { font-size: 1.4rem; margin-bottom: 8px; }
.price-card .price-meta { color: var(--c-text-soft); margin-bottom: 18px; }
.price-card .btn { margin-top: auto; }

.contact-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 48px; max-width: 1080px; margin: 0 auto; align-items: start; }
.contact-form { display: flex; flex-direction: column; gap: 20px; background: #fff; padding: 32px; border-radius: var(--radius); box-shadow: var(--shadow-md); border: 1px solid var(--c-border); }
.contact-form .form-row { display: flex; flex-direction: column; gap: 8px; }
.contact-form .form-row-split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-form .form-row-split > div { display: flex; flex-direction: column; gap: 8px; }
.contact-form label { font-weight: 600; font-size: .95rem; color: var(--c-primary-dark); }
.contact-form .req { color: var(--c-accent-dark); }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea { font: inherit; padding: 12px 14px; border: 1px solid var(--c-border); border-radius: 10px; background: #fff; color: var(--c-text); transition: border-color .15s, box-shadow .15s; width: 100%; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { outline: 0; border-color: var(--c-primary); box-shadow: 0 0 0 3px rgba(10,110,124,.15); }
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form .form-row-check label { font-weight: 400; font-size: .92rem; color: var(--c-text-soft); display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.contact-form .form-row-check input { margin-top: 4px; flex-shrink: 0; }
.contact-form .form-row-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form button[type="submit"] { align-self: flex-start; }
.contact-form button[type="submit"]:disabled { opacity: .6; cursor: wait; transform: none; }
.form-status { font-size: .98rem; padding: 14px 16px; border-radius: 10px; }
.form-status.ok { background: #e0f1e9; color: #1f6f47; border: 1px solid #b6dcc6; }
.form-status.err { background: #fbe8e6; color: #9c2a1d; border: 1px solid #f0c5c1; }
.contact-aside { background: var(--c-bg-soft); padding: 28px; border-radius: var(--radius); }
.contact-aside p { font-size: .98rem; color: var(--c-text); }
.contact-aside a { color: var(--c-primary-dark); }
.contact-aside .contact-meta { color: var(--c-text-soft); font-size: .92rem; margin-top: 8px; }
@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .contact-form { padding: 24px; }
  .contact-form .form-row-split { grid-template-columns: 1fr; }
}

.carousel { position: relative; max-width: 920px; margin: 0 auto; }
.carousel-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 4px 20px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.carousel-track::-webkit-scrollbar { display: none; }
.testimonial { flex: 0 0 100%; scroll-snap-align: center; background: #fff; border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm); display: flex; align-items: center; justify-content: center; min-height: 240px; margin: 0; }
.testimonial img { max-width: 100%; max-height: 360px; width: auto; height: auto; border-radius: 8px; }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; box-shadow: var(--shadow-md); color: var(--c-primary-dark); font-size: 1.8rem; line-height: 1; cursor: pointer; z-index: 2; display: flex; align-items: center; justify-content: center; padding: 0; transition: background .2s, color .2s; }
.carousel-btn:hover { background: var(--c-primary); color: #fff; }
.carousel-prev { left: -8px; }
.carousel-next { right: -8px; }
.carousel-dots { display: flex; gap: 8px; justify-content: center; margin-top: 6px; }
.carousel-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; background: var(--c-border); padding: 0; cursor: pointer; transition: background .2s, transform .2s; }
.carousel-dots button.active { background: var(--c-primary); transform: scale(1.25); }
@media (max-width: 700px) {
  .carousel-prev { left: 0; }
  .carousel-next { right: 0; }
}

.legal { max-width: 820px; margin: 0 auto; font-size: .98rem; }
.legal h2 { text-align: left; }
.legal h3 { margin-top: 32px; font-size: 1.1rem; color: var(--c-primary-dark); }
.legal p { color: var(--c-text); }
.legal .lang-de { color: var(--c-text-soft); margin-bottom: 24px; }

.site-footer { background: var(--c-primary-dark); color: rgba(255,255,255,.85); padding: 48px 0 28px; margin-top: 64px; }
.site-footer .container { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--c-accent); }
.social { display: flex; gap: 14px; justify-content: flex-end; }
.social a { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.12); transition: background .2s; }
.social a:hover { background: var(--c-accent); }
.social svg { width: 20px; height: 20px; fill: #fff; }
.copyright { border-top: 1px solid rgba(255,255,255,.12); margin-top: 28px; padding-top: 18px; text-align: center; font-size: .9rem; opacity: .7; }

@media (max-width: 800px) {
  .nav-links { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: #fff; padding: 14px 24px 24px; gap: 14px; align-items: flex-start; visibility: hidden; opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .25s ease, transform .25s ease, visibility 0s .25s; box-shadow: var(--shadow-md); }
  .nav-links.open { visibility: visible; opacity: 1; transform: translateY(0); pointer-events: auto; transition: opacity .25s ease, transform .25s ease, visibility 0s; }
  .nav-toggle { display: block; }
  .about { grid-template-columns: 1fr; }
  .site-footer .container { grid-template-columns: 1fr; text-align: center; }
  .social { justify-content: center; }
  section { padding: 48px 0; }
}
@media (max-width: 640px) {
  .hero { min-height: 600px; max-height: 720px; padding: 60px 0 48px; background-position: center 30%; background-attachment: scroll; }
  .hero::before { background: linear-gradient(180deg, rgba(45,37,32,.55) 0%, rgba(45,37,32,.25) 45%, rgba(45,37,32,.78) 100%); }
  .hero h1 { font-size: 2.2rem; margin-bottom: 14px; }
  .hero-sub { font-size: 1.02rem; margin-bottom: 28px; }
  .hero .btn-row { flex-direction: column; align-items: stretch; padding: 0 16px; gap: 10px; }
  .hero .btn-row .btn { width: 100%; padding: 14px 20px; }
}
