/* Clamaro B2B landing – PHP plugin 1.0.1 */
:root {
  --b2b-gold: #8C6A3F;
  --b2b-gold-soft: #c4a574;
  --b2b-dark: #5E4827;
  --b2b-ink: #2A241C;
  --b2b-cream: #ffffff;
  --b2b-cream-2: #ffffff;
  --b2b-white: #ffffff;
  --b2b-line: #e8e4de;
  --b2b-line-gold: rgba(140, 106, 63, 0.28);
  --b2b-muted: #6f6456;
  --b2b-radius: 18px;
  --b2b-wrap: 1180px;
  --b2b-header: 78px;
  --b2b-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --b2b-sans: "Source Sans 3", "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body.clamaro-b2b-body {
  background: #fff;
}

/* Hide theme page title so H1 in the hero is the only one. */
body.clamaro-b2b-body .qodef-page-title,
body.clamaro-b2b-body .qodef-page-title-inner,
body.clamaro-b2b-body .qodef-page-title-holder,
body.clamaro-b2b-body .entry-title,
body.clamaro-b2b-body .qodef-e-title,
body.clamaro-b2b-body .woocommerce-products-header {
  display: none !important;
}

body.clamaro-b2b-body .b2b-main {
  background: #fff;
  padding: 8px 0 48px;
  color: var(--b2b-ink);
  font-size: 16.5px;
  line-height: 1.55;
}

/* Konsept sometimes wraps page content in a narrow grid. */
body.clamaro-b2b-body .qodef-content,
body.clamaro-b2b-body .qodef-page-content,
body.clamaro-b2b-body .qodef-grid-inner,
body.clamaro-b2b-body .qodef-content-grid {
  max-width: none;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}

/* Scope layout chrome so Konsept header/footer stay untouched. */
.b2b-main img { max-width: 100%; height: auto; display: block; }
.b2b-main a { color: var(--b2b-gold); text-decoration: none; }
.b2b-main a:hover { color: var(--b2b-dark); }
.b2b-main :focus-visible { outline: 2px solid var(--b2b-gold); outline-offset: 2px; }

.b2b-wrap { width: min(100% - 40px, var(--b2b-wrap)); margin-inline: auto; }
.b2b-icon { display: block; color: var(--b2b-gold); flex-shrink: 0; }

.b2b-main h1, .b2b-main h2, .b2b-main h3 {
  font-family: var(--b2b-serif);
  font-weight: 600;
  color: var(--b2b-ink);
  letter-spacing: 0.01em;
}
.b2b-main h1 { font-size: clamp(1.7rem, 3.1vw, 2.65rem); line-height: 1.18; margin: 0 0 18px; }
.b2b-hero-copy h1 {
  overflow-wrap: normal !important;
  word-break: normal !important;
  word-wrap: normal !important;
  hyphens: none !important;
  -webkit-hyphens: none !important;
}
.b2b-nowrap { white-space: nowrap; }
.b2b-main h2 { font-size: 1.85rem; line-height: 1.2; margin: 0 0 22px; }
.b2b-main h3 { font-size: 1.08rem; margin: 0 0 6px; font-family: var(--b2b-sans); font-weight: 600; }
.b2b-section-title { text-align: center; font-size: clamp(1.8rem, 3vw, 2.25rem); margin: 0 0 36px; }

.b2b-btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; padding: 12px 22px;
  font-family: var(--b2b-sans); font-size: 0.92rem; font-weight: 600;
  cursor: pointer; border: 1px solid var(--b2b-gold);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  text-decoration: none; line-height: 1.2;
}
.b2b-btn-solid { background: var(--b2b-gold); color: #fff; }
.b2b-btn-solid:hover { background: var(--b2b-dark); border-color: var(--b2b-dark); color: #fff; }
.b2b-btn-outline { background: transparent; color: var(--b2b-gold); }
.b2b-btn-outline:hover { background: var(--b2b-gold); color: #fff; }

.b2b-hero { padding: 42px 0 18px; }
.b2b-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.1fr);
  gap: 48px; align-items: center;
}
.b2b-hero-sub { color: var(--b2b-gold); font-size: 1.18rem; font-weight: 500; margin: 0 0 18px; max-width: 36ch; }
.b2b-hero-lead { margin: 0; color: var(--b2b-muted); max-width: 46ch; font-size: 1.02rem; }
.b2b-hero-photo { border-radius: 22px; overflow: hidden; box-shadow: 0 18px 40px rgba(42, 36, 28, 0.08); }
.b2b-hero-photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }

.b2b-usps { padding: 28px 0 12px; }
.b2b-usp-grid, .b2b-feature-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px;
}
.b2b-usp-grid li, .b2b-feature-grid li {
  display: flex; align-items: center; gap: 14px;
  background: var(--b2b-white); border: 1px solid var(--b2b-line-gold);
  border-radius: var(--b2b-radius); padding: 18px;
  min-height: 88px; color: var(--b2b-ink); font-weight: 600; font-size: 0.95rem; line-height: 1.3;
}
.b2b-features { padding: 8px 0 64px; }

.b2b-inquiry { padding: 36px 0 20px; }
.b2b-inquiry-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.9fr);
  gap: 28px; align-items: start;
}
.b2b-card { background: var(--b2b-white); border: 1px solid var(--b2b-line-gold); border-radius: 22px; padding: 28px 28px 24px; }
#projektanfrage, #beratung, #branchen { scroll-margin-top: 140px; }
.b2b-form-card h2, .b2b-steps h2 { font-size: 1.9rem; }
.b2b-form-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 28px; }
.b2b-field { margin-bottom: 14px; position: relative; }
.b2b-field label, .b2b-label-like { display: block; font-size: 0.86rem; font-weight: 600; color: var(--b2b-ink); margin-bottom: 6px; }
.req { color: var(--b2b-gold); }

.b2b-field input[type="text"],
.b2b-field input[type="email"],
.b2b-field input[type="tel"],
.b2b-field input[type="number"],
.b2b-field input[type="date"],
.b2b-field select,
.b2b-field textarea {
  width: 100%; border: 1px solid var(--b2b-line); background: #f7f7f7;
  border-radius: 10px; padding: 11px 12px; font-family: var(--b2b-sans);
  font-size: 0.95rem; color: var(--b2b-ink); appearance: none;
}
.b2b-field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='none' stroke='%238C6A3F' stroke-width='1.6' d='M1 1.5l5 5 5-5'/></svg>");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 34px;
}
.b2b-field textarea { min-height: 118px; resize: vertical; }
.b2b-field input:focus, .b2b-field select:focus, .b2b-field textarea:focus {
  outline: none; border-color: var(--b2b-gold); background: #fff;
  box-shadow: 0 0 0 3px rgba(140, 106, 63, 0.12);
}
.b2b-field input.is-invalid, .b2b-field select.is-invalid, .b2b-field textarea.is-invalid { border-color: #b4554a; }
.b2b-hint, .b2b-char-count { display: block; font-size: 0.78rem; color: var(--b2b-muted); margin-top: 4px; }
.b2b-char-count { text-align: right; }
.b2b-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.b2b-dropzone {
  position: relative; border: 1px dashed var(--b2b-gold); border-radius: 12px;
  background: #fafafa; min-height: 92px; display: flex; align-items: center; justify-content: center; text-align: center;
}
.b2b-dropzone.is-drag { background: #f4eee6; }
.b2b-dropzone input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.b2b-dropzone-label {
  pointer-events: none; display: flex; flex-direction: column; align-items: center;
  gap: 4px; padding: 16px 10px; color: var(--b2b-gold); font-weight: 600; font-size: 0.9rem;
}
.b2b-dropzone-label small { color: var(--b2b-muted); font-weight: 400; font-size: 0.78rem; }
.b2b-file-list { list-style: none; margin: 8px 0 0; padding: 0; font-size: 0.82rem; color: var(--b2b-muted); }
.b2b-file-list li { display: flex; justify-content: space-between; gap: 8px; padding: 4px 0; }
.b2b-file-list button { border: 0; background: none; color: var(--b2b-gold); cursor: pointer; font-size: 0.8rem; }

.b2b-form-actions { margin-top: 10px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.b2b-form-actions .b2b-btn { min-width: 260px; padding: 14px 28px; }
.b2b-dsgvo { display: flex; gap: 10px; align-items: flex-start; font-size: 0.82rem; color: var(--b2b-muted); line-height: 1.45; max-width: 52ch; }
.b2b-dsgvo input { margin-top: 3px; accent-color: var(--b2b-gold); }
.b2b-dsgvo a { text-decoration: underline; }

.b2b-alert { border-radius: 12px; padding: 12px 14px; margin: 0 0 18px; font-size: 0.95rem; }
.b2b-alert-error { background: #fbf0ee; border: 1px solid #d9a39a; color: #6b2e2e; }
.b2b-alert-error ul { margin: 6px 0 0; padding-left: 18px; }

.b2b-success {
  text-align: center;
  padding: 28px 16px 12px;
  scroll-margin-top: 140px;
}
.b2b-success-mark {
  width: 72px; height: 72px; margin: 0 auto 18px;
  border-radius: 50%; background: #eef6ea; color: #3d7a3a;
  display: flex; align-items: center; justify-content: center;
}
.b2b-success h2 { font-size: 1.7rem; margin: 0 0 10px; }
.b2b-success-lead { font-size: 1.08rem; font-weight: 600; color: var(--b2b-ink); margin: 0 0 10px; }
.b2b-success p { color: var(--b2b-muted); max-width: 38ch; margin: 0 auto 10px; }
.b2b-success-phone { margin-top: 18px !important; }
.b2b-success-phone a { font-weight: 700; }

.b2b-form[data-submitting="1"] .b2b-btn-solid {
  opacity: 0.7; cursor: wait;
}

.b2b-aside { display: flex; flex-direction: column; gap: 20px; }
.b2b-steps-list { list-style: none; margin: 0; padding: 0; position: relative; }
.b2b-steps-list::before {
  content: ""; position: absolute; left: 17px; top: 18px; bottom: 28px;
  width: 1px; background: var(--b2b-line);
}
.b2b-steps-list li {
  display: grid; grid-template-columns: 36px 26px 1fr; gap: 12px;
  align-items: start; position: relative; margin-bottom: 26px;
}
.b2b-steps-list li:last-child { margin-bottom: 0; }
.b2b-step-num {
  width: 36px; height: 36px; border-radius: 50%; background: var(--b2b-gold); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.92rem; z-index: 1;
}
.b2b-step-ico { padding-top: 6px; }
.b2b-steps h3 { font-family: var(--b2b-sans); font-size: 1rem; margin: 2px 0 4px; }
.b2b-steps p { margin: 0; color: var(--b2b-muted); font-size: 0.92rem; }

.b2b-consult { display: flex; gap: 14px; align-items: flex-start; padding: 22px; }
.b2b-consult h2 { font-size: 1.15rem; font-family: var(--b2b-sans); margin: 0 0 6px; }
.b2b-consult-name { margin: 0 0 4px; font-weight: 600; }
.b2b-consult p { margin: 0; }
.b2b-phone { color: var(--b2b-gold); font-weight: 700; font-size: 1.05rem; }
.b2b-consult-hours { color: var(--b2b-muted); font-size: 0.9rem; margin-top: 4px !important; }
.b2b-consult-ico { color: var(--b2b-gold); padding-top: 2px; }

.b2b-branches { padding: 48px 0 28px; }
.b2b-branch-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.b2b-branch { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.b2b-branch-photo { height: 168px; overflow: hidden; }
.b2b-branch-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 78%; }
.b2b-branch-body { padding: 16px 16px 18px; }
.b2b-branch h3 { display: flex; align-items: center; gap: 8px; font-size: 0.98rem; }
.b2b-branch p { margin: 0; color: var(--b2b-muted); font-size: 0.9rem; }

.b2b-footer { display: none !important; background: var(--b2b-ink); color: #d9d0c3; padding: 56px 0 0; margin-top: 12px; }
.b2b-footer-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr auto;
  gap: 28px 24px; padding-bottom: 36px; align-items: start;
}
.b2b-footer h2 {
  color: #f3ece0; font-family: var(--b2b-sans); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; margin: 6px 0 14px;
}
.b2b-footer ul { list-style: none; margin: 0; padding: 0; }
.b2b-footer li + li { margin-top: 8px; }
.b2b-footer a { color: #d9d0c3; }
.b2b-footer a:hover { color: var(--b2b-gold-soft); }
.b2b-footer-brand p { margin: 16px 0 0; font-size: 0.92rem; line-height: 1.55; }
.b2b-seal-wrap { text-align: center; color: var(--b2b-gold-soft); }
.b2b-seal { display: block; margin: 0 auto; }
.b2b-seal-caption { display: none; }
.b2b-footer-bottom { border-top: 1px solid rgba(196, 165, 116, 0.2); padding: 16px 0 22px; font-size: 0.82rem; color: #b7aa9a; }
.b2b-footer-bottom p { margin: 0; text-align: center; }
.b2b-footer-bottom a { color: #d9d0c3; text-decoration: underline; }
body.b2b-nav-open { overflow: hidden; }

@media (max-width: 1100px) {
  .b2b-nav ul { gap: 4px 12px; }
  .b2b-nav a { font-size: 0.86rem; }
  .b2b-branch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b2b-footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .b2b-seal-wrap { grid-column: 1 / -1; justify-self: center; }
}
@media (max-width: 960px) {
  .b2b-hero-grid, .b2b-inquiry-grid, .b2b-form-cols { grid-template-columns: 1fr; }
  .b2b-usp-grid, .b2b-feature-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .b2b-wrap { width: min(100% - 28px, var(--b2b-wrap)); }
  .b2b-hero { padding-top: 24px; }
  .b2b-usp-grid, .b2b-feature-grid, .b2b-branch-grid, .b2b-footer-grid { grid-template-columns: 1fr; }
  .b2b-card { padding: 22px 18px; }
  .b2b-form-actions .b2b-btn { width: 100%; }
}

@media print {
  .b2b-header, .b2b-nav-toggle, .b2b-form-actions, .b2b-dropzone, .b2b-skip { display: none !important; }
  body.clamaro-b2b-body { background: #fff; color: #000; font-size: 12pt; }
  .b2b-card, .b2b-usp-grid li, .b2b-feature-grid li { break-inside: avoid; box-shadow: none; border-color: #ccc; }
  .b2b-footer { background: #fff; color: #000; border-top: 1px solid #ccc; }
  .b2b-footer a, .b2b-footer h2, .b2b-footer-bottom, .b2b-logo--dark { color: #000; }
  a[href]::after { content: none !important; }
  .b2b-hero-photo img, .b2b-branch-photo img { max-height: 180px; object-fit: cover; }
}

.b2b-nav-cta { display: none; }
@media (max-width: 1180px) {
  .b2b-nav-toggle { display: inline-flex; }
  .b2b-header-cta { display: none; }
  .b2b-nav-cta { display: block; margin-top: 10px; }
  .b2b-nav {
    display: none; position: absolute; left: 0; right: 0; top: var(--b2b-header);
    background: var(--b2b-cream); border-bottom: 1px solid var(--b2b-line);
    padding: 12px 20px 20px; margin: 0;
  }
  .b2b-nav.is-open { display: block; }
  .b2b-nav ul { flex-direction: column; align-items: flex-start; gap: 0; }
  .b2b-nav a { display: block; padding: 12px 0; font-size: 1.05rem; white-space: normal; }
}
