/* =========================================
   MODERN CLEAN UI FOR kleingewerbeanmelden
   ========================================= */

/* ---------- Base ---------- */
:root{
  --bg: #f6f8fc;
  --card: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --primary: #2563eb;
  --primary-2: #1d4ed8;
  --success: #16a34a;
  --border: #e5e7eb;
  --shadow: 0 10px 30px rgba(17, 24, 39, 0.08);
  --radius: 14px;
  --radius-lg: 18px;
}

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

html{
  scroll-behavior: smooth;
}

body{
  margin: 0;
  font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.65;
  color: var(--text);
  background: linear-gradient(180deg, #f8fbff 0%, #f5f7fb 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img{
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

a{
  color: var(--primary);
  text-decoration: none;
  transition: all .2s ease;
}
a:hover{
  color: var(--primary-2);
}

/* ---------- Layout wrappers ---------- */
.wrap,
.wrp,
#content,
.site-content,
.site-content-contain,
.panel-content .wrap{
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 18px;
}

/* ---------- Header / top bar ---------- */
#floating_menu,
#masthead{
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.navigation-top .wrap{
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

#logo img{
  max-height: 44px;
  width: auto;
  border-radius: 0;
}

.trustlogo span div{
  margin: 0 !important;
  color: #6b7280 !important;
  font-size: 12px !important;
  line-height: 1.45;
  background: #f8fafc;
  border: 1px solid #e6eef8;
  padding: 10px 12px;
  border-radius: 10px;
}

/* ---------- Hero section ---------- */
.thrv_wrapper.thrv-columns{
  margin-top: 26px;
}

.tcb-flex-row{
  gap: 24px;
  align-items: stretch;
}

.tcb-flex-col .tcb-col{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 28px;
}

.gewerbe-h2 p{
  margin: 0 0 10px;
  font-size: clamp(1.45rem, 2.4vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -.02em;
  color: #0f172a;
}

.tcb-clear p{
  margin: 0 0 14px;
  color: #334155;
}

.star p{
  margin-top: 12px !important;
  padding: 10px 14px;
  display: inline-flex;
  gap: 8px;
  border: 1px solid #fde68a;
  background: #fffbeb;
  border-radius: 999px;
}

.sub-gewerbe{
  margin-top: 16px !important;
  text-align: center;
}
.sub-gewerbe p{
  display: inline-block;
  background: #eef2ff;
  color: #3730a3;
  border: 1px solid #c7d2fe;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 600;
}

/* ---------- Form ---------- */
form[action*="/lastform/"]{
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}

form[action*="/lastform/"] input[type="text"]{
  flex: 1 1 280px;
  min-height: 48px;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  padding: 0 14px;
  font-size: 15px;
  outline: none;
  background: #fff;
}
form[action*="/lastform/"] input[type="text"]:focus{
  border-color: #93c5fd;
  box-shadow: 0 0 0 4px rgba(37,99,235,.12);
}

form[action*="/lastform/"] input[type="submit"]{
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  font-weight: 700;
  letter-spacing: .2px;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, opacity .2s ease;
  box-shadow: 0 10px 20px rgba(37,99,235,.28);
}
form[action*="/lastform/"] input[type="submit"]:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(37,99,235,.32);
}
form[action*="/lastform/"] input[type="submit"]:active{
  transform: translateY(0);
}

/* ---------- Typography / content ---------- */
.entry-content{
  margin-top: 24px;
}

.entry-content h1,
.entry-content h2,
.no-span{
  color: #0f172a;
  line-height: 1.25;
  letter-spacing: -.02em;
}

.entry-content h1{
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  margin: 0 0 10px;
}
.entry-content h2,
.no-span{
  margin: 28px 0 12px;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  font-weight: 800;
}

.entry-content p{
  color: #334155;
  margin: 0 0 14px;
}

/* ---------- Embedded videos ---------- */
.yep-wrapper{
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  background: #0f172a;
}

/* ---------- Service cards ---------- */
.service-container{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 12px;
}

.service-box{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  box-shadow: var(--shadow);
  position: relative;
}
.service-box .zahl{
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #dbeafe;
  color: #1d4ed8;
  font-weight: 800;
}
.service-title{
  margin-top: 10px;
  font-weight: 700;
  color: #111827;
}
.descriptiona{
  display: inline-block;
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  font-weight: 600;
}

/* ---------- Pricing ---------- */
#pricePlans #plans{
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
#pricePlans .plan{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
#pricePlans .planContainer{
  list-style: none;
  margin: 0;
  padding: 0;
}
#pricePlans .title h2{
  margin: 0;
  padding: 16px 18px 8px;
}
#pricePlans .price p{
  margin: 0;
  padding: 0 18px 14px;
  font-size: 30px;
  font-weight: 800;
  color: #0f172a;
}
#pricePlans .options{
  list-style: none;
  margin: 0;
  padding: 0 18px 8px;
}
#pricePlans .options li{
  padding: 8px 0 8px 24px;
  position: relative;
  border-top: 1px dashed #e5e7eb;
}
#pricePlans .options li::before{
  content: "✓";
  position: absolute;
  left: 0;
  top: 7px;
  color: var(--success);
  font-weight: 800;
}
#pricePlans .button a{
  display: block;
  margin: 14px 18px 18px;
  text-align: center;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
}

/* ---------- Accordion FAQ ---------- */
.wp-block-getwid-accordion__header a{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: #111827;
  font-weight: 600;
}
.wp-block-getwid-accordion__content{
  padding: 10px 14px 16px;
  color: #334155;
}
.wp-block-getwid-accordion__header-wrapper{
  margin-bottom: 10px;
}

/* ---------- Testimonials ---------- */
.flexi{
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
}
.snip1473{
  margin: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 16px;
}
.snip1473 blockquote{
  margin: 10px 0 0;
  color: #334155;
}
.snip1473 h3{
  margin: 12px 0 0;
  font-size: 15px;
  color: #0f172a;
}

/* ---------- Floating CTA ---------- */
.text-box{
  position: sticky;
  bottom: 16px;
  z-index: 40;
  margin: 24px auto 0;
  max-width: 1180px;
  padding: 0 18px;
}
.haupttext{
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
  color: #fff;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 14px 34px rgba(30,64,175,.35);
  border: 1px solid rgba(255,255,255,.15);
}
.btn-text-box{
  display: inline-block;
  margin: 8px 0;
  padding: 11px 15px;
  border-radius: 10px;
  background: #fff;
  color: #1e3a8a;
  font-weight: 700;
}

/* ---------- Footer ---------- */
.site-footer{
  margin-top: 30px;
  border-top: 1px solid var(--border);
  background: #fff;
}
.site-footer .site-info{
  padding: 18px 0 28px;
  color: #6b7280;
}
.site-footer .site-info a{
  color: #374151;
  margin-right: 8px;
}

/* ---------- Utilities ---------- */
hr.wp-block-separator{
  border: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, #d1d5db, transparent);
  margin: 26px 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px){
  .service-container{ grid-template-columns: 1fr 1fr; }
  .flexi{ grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px){
  .navigation-top .wrap{
    flex-direction: column;
    align-items: flex-start;
    padding-block: 10px;
    gap: 8px;
  }

  .tcb-flex-row{
    flex-direction: column;
  }

  #pricePlans #plans{
    grid-template-columns: 1fr;
  }

  .service-container,
  .flexi{
    grid-template-columns: 1fr;
  }

  .text-box{
    position: static;
    padding: 0 14px;
  }

  form[action*="/lastform/"]{
    flex-direction: column;
  }

  form[action*="/lastform/"] input[type="submit"]{
    width: 100%;
  }

  .wp-container-core-columns-is-layout-1,
  .wp-container-core-columns-is-layout-2{
    flex-wrap: wrap !important;
  }
}

/* Reduce motion accessibility */
@media (prefers-reduced-motion: reduce){
  *{
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
