/* Stone Clean – Design System */
:root {
  --brand: #ea6b1f;
  --brand-dark: #c85812;
  --brand-soft: #fff2e8;
  --ink: #1b1c1e;
  --ink-2: #42464d;
  --muted: #6b7280;
  --line: #e9eaec;
  --bg: #ffffff;
  --bg-2: #faf7f3;
  --bg-dark: #15171a;
  --ok: #138a4b;
  --ok-soft: #e5f6ec;
  --busy: #9b6b17;
  --busy-soft: #fff3d9;
  --danger: #c3342f;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(20,20,30,.06), 0 2px 8px rgba(20,20,30,.04);
  --shadow-md: 0 6px 24px rgba(20,20,30,.08);
  --shadow-lg: 0 20px 60px rgba(20,20,30,.18);
  --tr: all .2s ease;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.brand-text, .hero-text, .card-body, .detail-body, .section-head { min-width: 0; }
.card-body h3 { overflow-wrap: anywhere; }
img { max-width: 100%; display: block; }
a { color: var(--brand-dark); text-decoration: none; }
a:hover { color: var(--brand); }

h1, h2, h3, h4 {
  margin: 0 0 .5em; line-height: 1.2; font-weight: 700; letter-spacing: -0.01em;
  overflow-wrap: break-word; word-wrap: break-word; hyphens: auto;
}
p, span, small, li, a, button, input, label { overflow-wrap: break-word; word-wrap: break-word; }
h1 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.container { width: min(1180px, 92%); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.accent { color: var(--brand); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .7em 1.2em; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: .95rem;
  cursor: pointer; transition: var(--tr);
  background: #fff; color: var(--ink);
  text-decoration: none;
  line-height: 1;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(234,107,31,.3); }
.btn-primary:hover { background: var(--brand-dark); color:#fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-danger { background: #fff0ef; color: var(--danger); border-color: #f6cfcd; }
.btn-danger:hover { background: var(--danger); color:#fff; border-color: var(--danger); }
.btn-sm { padding: .5em .9em; font-size: .85rem; }
.btn-lg { padding: .9em 1.5em; font-size: 1rem; }

/* Header / Nav */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: .9rem 0; }
.brand { display: flex; align-items: center; gap: .7rem; color: inherit; text-decoration: none; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), #f5892c);
  color: #fff; font-weight: 800; display: grid; place-items: center;
  box-shadow: 0 4px 12px rgba(234,107,31,.35);
  letter-spacing: .5px;
  flex-shrink: 0;
}
.brand-mark img { width: 70%; height: 70%; object-fit: contain; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand-text strong { font-size: 1.05rem; white-space: nowrap; }
.brand-text small { color: var(--muted); font-size: .78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 16ch; }
.nav-links { display: flex; align-items: center; gap: 1.4rem; }
.nav-links a { color: var(--ink-2); font-weight: 500; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--brand-dark); }
.nav-toggle { display: none; background: none; border: 0; padding: .4rem; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0; transition: var(--tr); }

/* Hero */
.hero { position: relative; padding: clamp(3rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 5rem); overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(1000px 500px at 90% -10%, #ffe0c7 0%, transparent 60%),
    radial-gradient(700px 400px at -10% 20%, #fff6ef 0%, transparent 60%),
    linear-gradient(180deg, #fffaf6 0%, #ffffff 60%);
}
.hero-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: center; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-dark); background: var(--brand-soft); padding: .4em .8em; border-radius: 999px; margin-bottom: 1.25rem; }
.eyebrow.light { color: var(--brand); background: rgba(234,107,31,.14); }
.hero-text h1 { margin-bottom: 1.2rem; }
.lead { font-size: 1.1rem; color: var(--ink-2); max-width: 52ch; }
.lead-light { color: rgba(255,255,255,.75); max-width: 52ch; font-size: 1.05rem; }
.hero-ctas { display: flex; gap: .7rem; flex-wrap: wrap; margin: 1.5rem 0 2rem; }
.hero-facts { display: flex; gap: 2rem; flex-wrap: wrap; }
.hero-facts div { display: flex; flex-direction: column; }
.hero-facts strong { font-size: 1.1rem; font-weight: 700; }
.hero-facts span { color: var(--muted); font-size: .88rem; }

.hero-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow-md);
}
.hero-card-header { display: flex; align-items: center; gap: .5rem; font-size: .88rem; font-weight: 600; color: var(--muted); margin-bottom: 1rem; }
.hero-card-header .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px var(--ok-soft); }
.hero-card ul { list-style: none; padding: 0; margin: 0 0 1rem; }
.hero-card li { display: flex; justify-content: space-between; padding: .6rem 0; border-bottom: 1px dashed var(--line); }
.hero-card li:last-child { border-bottom: 0; }
.hero-card .price { color: var(--brand-dark); font-weight: 600; }
.hero-card-link { font-weight: 600; color: var(--brand-dark); }

/* Sections */
.section { padding: clamp(3rem, 6vw, 5rem) 0; }
.section-muted { background: var(--bg-2); }
.section-dark { background: var(--bg-dark); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 2.5rem; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* Category grid */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; }
.cat-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem; text-align: center; color: var(--ink); text-decoration: none;
  transition: var(--tr);
}
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #f0d7bf; }
.cat-icon { display: inline-flex; padding: .8rem; background: var(--brand-soft); color: var(--brand); border-radius: 12px; margin-bottom: .8rem; }
.cat-card h3 { margin: 0 0 .3rem; font-size: 1rem; }
.cat-card p { margin: 0; color: var(--muted); font-size: .85rem; }

/* Card grid (equipment) */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: var(--tr); display: flex; flex-direction: column;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card-media { position: relative; aspect-ratio: 4/3; background: var(--bg-2); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: #d8c6b2; background: linear-gradient(135deg, #fdf2e7 0%, #fff 100%); }
.badge {
  position: absolute; top: .8rem; left: .8rem;
  padding: .3em .7em; border-radius: 999px; font-size: .75rem; font-weight: 600;
}
.badge-available { background: var(--ok-soft); color: var(--ok); }
.badge-busy { background: var(--busy-soft); color: var(--busy); }
.card-body { padding: 1.1rem 1.2rem 1.2rem; display: flex; flex-direction: column; gap: .3rem; flex: 1; }
.card-cat { color: var(--brand-dark); font-weight: 600; font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; }
.card h3 { margin: 0; }
.card-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: .8rem; }
.price-lg { font-size: 1.05rem; font-weight: 700; color: var(--ink); }
.price-lg small { color: var(--muted); font-weight: 400; font-size: .82rem; }

/* USPs */
.usp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.5rem; }
.usp { text-align: left; }
.usp-icon { display: inline-flex; padding: .8rem; background: var(--brand-soft); color: var(--brand); border-radius: 12px; margin-bottom: .8rem; }
.usp h3 { margin: 0 0 .4rem; }
.usp p { color: var(--muted); margin: 0; }

/* Kontakt (dark) */
.kontakt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.contact-list li { display: flex; gap: .7rem; align-items: center; padding: .6rem 0; color: rgba(255,255,255,.9); }
.contact-list a { color: #fff; text-decoration: underline; text-decoration-color: rgba(234,107,31,.6); text-underline-offset: 3px; }
.contact-list svg { color: var(--brand); }
.form-card {
  background: #fff; color: var(--ink);
  padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; gap: 1rem;
}
.form-card label { display: flex; flex-direction: column; gap: .35rem; font-size: .9rem; font-weight: 500; color: var(--ink-2); }
.form-card input, .form-card textarea, .form-card select {
  font: inherit; padding: .7em .85em; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; color: var(--ink); transition: var(--tr);
}
.form-card input:focus, .form-card textarea:focus, .form-card select:focus {
  outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(234,107,31,.15);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-note { color: var(--muted); font-size: .82rem; margin: 0; }

.alert { padding: .85rem 1rem; border-radius: var(--radius-sm); font-size: .92rem; }
.alert-success { background: var(--ok-soft); color: var(--ok); }
.alert-error { background: #fdeded; color: var(--danger); }
.alert ul { margin: 0; padding-left: 1.2rem; }

/* Page header (subpages) */
.page-header { background: linear-gradient(180deg, #fffaf6 0%, #fff 100%); padding: 3.5rem 0 2rem; border-bottom: 1px solid var(--line); }
.page-header h1 { margin-bottom: .5rem; }
.page-header p { color: var(--muted); font-size: 1.05rem; }
.toolbar { display: flex; gap: .5rem; margin: 1.5rem 0 1rem; max-width: 520px; }
.toolbar input {
  flex: 1; padding: .7em 1em; border: 1px solid var(--line); border-radius: 999px;
  font: inherit; background: #fff;
}
.toolbar input:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(234,107,31,.15); }
.filter-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip {
  padding: .4em .9em; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); color: var(--ink-2);
  font-size: .88rem; text-decoration: none; transition: var(--tr);
}
.chip:hover { border-color: var(--ink-2); color: var(--ink); }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Empty state */
.empty-state { background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); padding: 3rem; text-align: center; }

/* Detail page */
.breadcrumbs { color: var(--muted); font-size: .9rem; margin-bottom: 1.5rem; }
.breadcrumbs a { color: var(--muted); }
.detail-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.detail-media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-md); aspect-ratio: 4/3; object-fit: cover; }
.detail-body h1 { margin-top: .3rem; }
.price-box {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem; padding: 1.25rem; background: var(--bg-2);
  border-radius: var(--radius); margin: 1.5rem 0;
}
.price-box div { display: flex; flex-direction: column; }
.price-box small { color: var(--muted); font-size: .8rem; }
.price-box strong { font-size: 1.2rem; color: var(--brand-dark); }
.detail-cta { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1.5rem; }
.prose { color: var(--ink-2); }
.form-wrap { max-width: 720px; }
.form-wrap h2 { margin-bottom: 1rem; }

/* Footer */
.site-footer { background: #0f1114; color: rgba(255,255,255,.75); padding-top: 3rem; margin-top: 0; }
.site-footer .brand-text small { color: rgba(255,255,255,.55); }
.site-footer .brand-text strong { color: #fff; }
.site-footer h4 { color: #fff; font-size: .95rem; letter-spacing: .05em; text-transform: uppercase; margin-bottom: .8rem; }
.site-footer a { color: rgba(255,255,255,.8); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; padding-bottom: 2.5rem; }
.link-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .4rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.2rem 0; }
.footer-bottom .container { display: flex; justify-content: space-between; font-size: .85rem; color: rgba(255,255,255,.55); }

/* Impressum */
.impressum { max-width: 680px; }

/* Mobile */
@media (max-width: 880px) {
  .hero-inner, .kontakt-grid, .detail-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 1rem 5%;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .nav-links a:last-child { border-bottom: 0; }
  .form-row { grid-template-columns: 1fr; }
}
