/*
 * CleverWerk Startseite
 * Exakte Desktop-Proportionen nach der 1024 × 682 Designvorlage.
 */

.cw-page-home.cw-app {
  --cw-home-width: 760px;
  background-color: #edf4e5;
  background-image: url('/img/cleverwerk-forest.jpg');
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

.cw-page-home.cw-app::before,
.cw-page-home.cw-app::after {
  display: none;
}

.cw-page-home .site-header {
  position: relative;
  top: auto;
  margin: 0;
  padding: 20px 24px 0;
}

.cw-page-home .site-header-inner {
  width: min(876px, 100%);
  min-height: 50px;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 7px 12px 7px 15px;
  gap: 12px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(46, 125, 50, 0.08);
  border-radius: 13px;
  box-shadow: 0 5px 22px rgba(34, 71, 30, 0.09);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.cw-page-home .site-brand {
  gap: 8px;
  font-family: Inter, var(--cw-font);
  font-size: 18px;
  font-weight: 750;
  color: #171917;
  letter-spacing: -0.025em;
}

.cw-page-home .site-brand-logo-slot {
  width: 22px;
  height: 22px;
}

.cw-page-home .site-nav {
  gap: 11px;
}

.cw-page-home .site-nav-link {
  padding: 9px 2px 7px;
  border-radius: 0;
  border-bottom: 1.5px solid transparent;
  color: #242824;
  font-family: Inter, var(--cw-font);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

.cw-page-home .site-nav-link:hover {
  color: #388e3c;
  background: transparent;
}

.cw-page-home .site-nav-link.is-active {
  color: #388e3c;
  background: transparent;
  border-bottom-color: #66a950;
}

.cw-page-home .site-header-actions {
  gap: 8px;
}

.cw-page-home .site-search-toggle {
  width: 30px;
  height: 30px;
}

.cw-page-home .site-search-toggle-icon {
  width: 16px;
  height: 16px;
}

.cw-page-home .site-auth {
  gap: 8px;
}

.cw-page-home .site-auth-login,
.cw-page-home .site-auth-register {
  min-height: 34px;
  box-sizing: border-box;
  padding: 6px 14px;
  font-family: Inter, var(--cw-font);
  font-size: 13px;
  line-height: 1;
}

.cw-page-home .site-auth-login {
  background: linear-gradient(180deg, #6cae48, #4e9534);
  box-shadow: 0 3px 9px rgba(59, 122, 40, 0.22);
}

.cw-page-home .site-auth-register {
  color: #2b2d2b;
  border-color: #e2e5e0;
  background: #fff;
}

.cw-page-home .site-main {
  padding: 0;
}

.cw-page-home .site-content {
  width: min(var(--cw-home-width), calc(100% - 32px));
  max-width: none;
  margin: 0 auto;
  padding: 0;
}

.cw-page-home .page-section.dashboard {
  padding: 0;
}

.cw-page-home .cw-hero {
  width: 100%;
  max-width: none;
  margin: 38px auto 0;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.cw-page-home .cw-hero-inner {
  max-width: 100%;
  margin: 0 auto;
}

.cw-page-home .cw-hero-title {
  margin: 0 0 10px;
  color: #191b19;
  font-family: Inter, var(--cw-font);
  font-size: 56px;
  font-weight: 750;
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.cw-page-home .cw-hero-title .brand-accent {
  color: #4c9b31;
}

.cw-page-home .cw-hero-title-leaf {
  width: 29px;
  height: 29px;
  margin-left: 7px;
  vertical-align: 14px;
}

.cw-page-home .cw-hero-lead {
  max-width: 560px;
  margin: 0 auto 9px;
  color: #222522;
  font-family: Inter, var(--cw-font);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

.cw-page-home .cw-hero-subtitle {
  max-width: 550px;
  margin: 0 auto 20px;
  color: #626862;
  font-family: Inter, var(--cw-font);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
}

.cw-page-home .cw-assistant {
  width: 620px;
  max-width: 100%;
  margin: 0 auto;
}

.cw-page-home .cw-assistant-title {
  justify-content: flex-start;
  margin: 0 0 8px 2px;
  color: #353a35;
  font-family: Inter, var(--cw-font);
  font-size: 14px;
  font-weight: 600;
}

.cw-page-home .cw-assistant-title-icon {
  width: 16px;
  height: 16px;
}

.cw-page-home .cw-assistant-input-wrap {
  max-width: none;
  margin: 0 0 12px;
}

.cw-page-home .cw-assistant-input {
  width: 100%;
  height: 50px;
  min-height: 50px;
  box-sizing: border-box;
  padding: 0 124px 0 20px;
  border: 1px solid rgba(60, 92, 54, 0.1);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.96);
  color: #222;
  font-family: Inter, var(--cw-font);
  font-size: 16px;
  box-shadow: 0 4px 16px rgba(54, 84, 45, 0.09);
}

.cw-page-home .cw-assistant-input::placeholder {
  color: #9ba19b;
}

.cw-page-home .cw-assistant-submit {
  right: 5px;
  width: auto;
  height: 38px;
  min-height: 38px;
  padding: 0 6px 0 17px;
  gap: 7px;
  border-radius: 20px;
  background: linear-gradient(180deg, #6caf47, #4d9533);
  color: #fff;
  font-family: Inter, var(--cw-font);
  font-size: 16px !important;
  font-weight: 650;
  box-shadow: 0 3px 9px rgba(56, 118, 38, 0.23);
}

.cw-page-home .cw-assistant-submit-arrow {
  width: 26px;
  height: 26px;
  background-size: 11px;
}

.cw-page-home .cw-assistant-examples {
  display: grid;
  grid-template-columns: repeat(4, max-content);
  justify-content: center;
  gap: 10px;
  margin: 0;
}

.cw-page-home .cw-assistant-example {
  min-height: 42px;
  box-sizing: border-box;
  padding: 9px 14px;
  gap: 7px;
  border: 1px solid rgba(67, 91, 62, 0.07);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.96);
  color: #313531;
  font-family: Inter, var(--cw-font);
  font-size: 15px;
  font-weight: 550;
  box-shadow: 0 3px 12px rgba(50, 80, 43, 0.07);
}

.cw-page-home .cw-assistant-example-icon {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.cw-page-home .cw-assistant-example-icon-doc {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234caf50' stroke-width='1.8'%3E%3Cpath d='M7 3h7l5 5v13a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1z'/%3E%3Cpath d='M14 3v5h5M9 13h6M9 17h4'/%3E%3C/svg%3E");
}

.cw-page-home .cw-assistant-example-icon-pen {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234caf50' stroke-width='1.8'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4L16.5 3.5z'/%3E%3C/svg%3E");
}

.cw-page-home .cw-assistant-example-icon-file {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234caf50' stroke-width='1.8'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6M12 18v-6M9 15l3 3 3-3'/%3E%3C/svg%3E");
}

.cw-page-home .cw-assistant-example-icon-building {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234caf50' stroke-width='1.8'%3E%3Cpath d='M3 21h18M5 21V7l7-4 7 4v14M9 21v-4h6v4M9 10h.01M15 10h.01M9 14h.01M15 14h.01'/%3E%3C/svg%3E");
}

.cw-page-home .cw-modules {
  width: 100%;
  margin: 34px 0 0;
  padding: 0;
}

.cw-page-home .cw-modules .cw-section-header {
  flex-direction: row;
  justify-content: center;
  gap: 7px;
  margin: 0 0 15px;
}

.cw-page-home .cw-modules .cw-section-icon {
  width: 20px;
  height: 20px;
}

.cw-page-home .cw-modules .cw-section-title {
  color: #202320;
  font-family: Inter, var(--cw-font);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.cw-page-home .module-grid-main {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.cw-page-home .module-tile-feature {
  min-width: 0;
  min-height: 235px;
  box-sizing: border-box;
  align-items: flex-start;
  padding: 20px 17px 16px;
  border: 1px solid rgba(50, 79, 44, 0.05);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 5px 17px rgba(48, 76, 42, 0.08);
  text-align: left;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.cw-page-home .module-tile-feature .module-icon-slot {
  width: 42px;
  height: 42px;
  margin: 0 0 12px;
  border-radius: 50%;
  background-color: #f0f6e9;
  background-size: 20px;
  box-shadow: none;
  filter: none;
}

.cw-page-home .module-icon-slot[data-module='tools'],
.cw-page-home .module-icon-slot[data-module='dokumente'],
.cw-page-home .module-icon-slot[data-module='business'],
.cw-page-home .module-icon-slot[data-module='schnellstart'] {
  background-color: #eff6e8;
}

.cw-page-home .module-icon-slot[data-module='tools'] {
  background-image: url('/assets/icons/wrench-green.svg');
}

.cw-page-home .module-icon-slot[data-module='dokumente'] {
  background-image: url('/assets/icons/doc-green.svg');
}

.cw-page-home .module-icon-slot[data-module='business'] {
  background-image: url('/assets/icons/chart-green.svg');
}

.cw-page-home .module-icon-slot[data-module='schnellstart'] {
  background-image: url('/assets/icons/plane-green.svg');
}

.cw-page-home .module-tile-feature h3 {
  margin: 0 0 6px;
  color: #202320;
  font-family: Inter, var(--cw-font);
  font-size: 16px;
  font-weight: 650;
  text-align: left;
}

.cw-page-home .module-tile-feature p {
  margin: 0;
  color: #686d68;
  font-family: Inter, var(--cw-font);
  font-size: 15px;
  line-height: 1.55;
  text-align: left;
}

.cw-page-home .module-tile-feature .module-tile-footer {
  align-items: flex-start;
  padding-top: 8px;
}

.cw-page-home .module-cta {
  color: #4b9633;
  font-family: Inter, var(--cw-font);
  font-size: 15px;
  font-weight: 650;
}

.cw-page-home .module-tile-feature:hover {
  transform: translateY(-2px);
  border-color: rgba(76, 175, 80, 0.14);
  box-shadow: 0 8px 23px rgba(48, 76, 42, 0.11);
}

.cw-page-home .cw-home-trust {
  width: 760px;
  max-width: 100%;
  margin: 19px auto 17px;
}

.cw-page-home .cw-home-trust-inner {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr 1.15fr 0.8fr;
  align-items: center;
  min-height: 58px;
  box-sizing: border-box;
  padding: 7px 13px;
  border: 1px solid rgba(57, 82, 52, 0.05);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.91);
  box-shadow: 0 4px 14px rgba(48, 76, 42, 0.07);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

.cw-page-home .cw-home-trust-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 21px;
  padding: 0 10px;
  color: #464c46;
  border-right: 1px solid rgba(72, 92, 68, 0.12);
  font-family: Inter, var(--cw-font);
  font-size: 14px;
  font-weight: 550;
  white-space: nowrap;
}

.cw-page-home .cw-home-trust-item:last-child {
  border-right: 0;
}

.cw-page-home .cw-home-trust-icon {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.cw-page-home .cw-home-trust-icon-shield {
  background-image: url('/assets/icons/shield.svg');
}

.cw-page-home .cw-home-trust-icon-leaf {
  background-image: var(--cw-icon-leaf);
}

.cw-page-home .cw-home-trust-icon-users {
  background-image: url('/assets/icons/users.svg');
}

.cw-page-home .cw-home-trust-icon-refresh {
  background-image: url('/assets/icons/refresh.svg');
}

.cw-page-home .cw-more,
.cw-page-home > .cw-trust-bar {
  display: none;
}

.cw-page-home .site-footer-minimal {
  display: block;
  padding: 0 24px 18px;
}

@media (max-width: 767px) {
  .cw-page-home.cw-app {
    background-image: url('/img/cleverwerk-forest-1280.jpg');
    background-position: center top;
    background-attachment: scroll;
  }

  .cw-page-home .site-header {
    padding: 10px 10px 0;
  }

  .cw-page-home .site-header-inner {
    border-radius: 12px;
  }

  .cw-page-home .site-nav {
    gap: 2px;
  }

  .cw-page-home .site-nav-link {
    padding: 7px 8px;
    font-size: 12px;
  }

  .cw-page-home .cw-hero {
    margin-top: 30px;
  }

  .cw-page-home .cw-hero-title {
    font-size: clamp(38px, 12vw, 52px);
  }

  .cw-page-home .cw-assistant-examples {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cw-page-home .module-grid-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cw-page-home .cw-home-trust-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .cw-page-home .cw-home-trust-item:nth-child(2) {
    border-right: 0;
  }
}

@media (max-width: 440px) {
  .cw-page-home .site-auth {
    display: none;
  }

  .cw-page-home .cw-hero-lead {
    font-size: 12px;
  }

  .cw-page-home .cw-assistant-input {
    padding: 0 88px 0 14px;
  }

  .cw-page-home .module-grid-main {
    grid-template-columns: 1fr;
  }

  .cw-page-home .cw-home-trust-inner {
    grid-template-columns: 1fr;
  }

  .cw-page-home .cw-home-trust-item {
    justify-content: flex-start;
    border-right: 0;
    border-bottom: 1px solid rgba(72, 92, 68, 0.1);
  }

  .cw-page-home .cw-home-trust-item:last-child {
    border-bottom: 0;
  }
}
