/*
Theme Name: Template Studio
Description: Heller Kaufabschluss passend zur Auftragscockpit-Marketingseite.
Version: 1.3.2
Template: twentytwentyfive
Text Domain: template-studio
*/
:root { --studio-ink:#182b42; --studio-paper:#f5f7fa; --studio-blue:#245ac7; --studio-gutter:clamp(20px,4vw,80px); }
* { box-sizing:border-box; }
html { scroll-padding-top:110px; }
body { margin:0; background:var(--studio-paper); color:var(--studio-ink); }
a { text-underline-offset:.22em; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline:3px solid var(--studio-blue); outline-offset:4px; }
.studio-header { margin:clamp(14px,2vw,32px) auto 0; width:calc(100% - clamp(28px,5vw,128px)); max-width:2440px; padding:12px clamp(18px,2vw,32px); border:1px solid #ffffff; border-radius:999px; background:#ffffffcc; backdrop-filter:blur(18px); box-shadow:0 6px 24px #182b4208; }
.studio-header .wp-block-site-title { font-family:Manrope,sans-serif; font-size:18px; letter-spacing:-.04em; }
.studio-header .wp-block-site-title a { text-decoration:none; }
.studio-main { width:calc(100% - var(--studio-gutter) * 2); max-width:1600px; margin:clamp(36px,6vw,96px) auto; min-height:45vh; }
/* WooCommerce's inherited catalog/product templates lack our studio-main class. */
.wp-site-blocks main.wp-block-group:not(.studio-main):not(.studio-catalog) {
  width:calc(100% - var(--studio-gutter) * 2);
  max-width:1600px;
  margin:clamp(36px,6vw,96px) auto;
  min-width:0;
}
.studio-main h1 { font-family:Manrope,sans-serif; font-size:clamp(32px,4vw,64px); line-height:1.1; letter-spacing:-.05em; margin-bottom:40px; }
.studio-main .wp-block-woocommerce-cart,.studio-main .wp-block-woocommerce-checkout { max-width:1440px; }
.studio-footer { max-width:2200px; width:calc(100% - clamp(32px,8vw,160px)); margin:72px auto 24px; border-top:1px solid #dce2eb; padding-top:24px; font-size:14px; color:#566477; }
.studio-footer a { color:inherit; }
.wc-block-components-button:not(.is-link), .wp-block-button__link, .woocommerce a.button, .woocommerce button.button { border-radius:999px; background:var(--studio-blue); color:white; font-weight:600; padding:16px 26px; }
.wc-block-components-checkout-step,.wc-block-cart__sidebar { background:#ffffff; border-radius:18px; padding:clamp(16px,2vw,28px); }
.wc-block-components-text-input input, .wc-block-components-combobox input, .wc-block-components-textarea { border-radius:9px!important; font:inherit; }
.woocommerce .woocommerce-message,.woocommerce .woocommerce-info { background:#edf2fc; border-top-color:var(--studio-blue); color:var(--studio-ink); }
@media(max-width:600px) { .studio-header{padding:8px 16px;} .studio-header .wp-block-site-title{font-size:17px;} .studio-main{margin-top:40px;} .studio-main h1{margin-bottom:28px;} .studio-footer{margin-top:48px;} }
@media(max-width:600px) {
  .woocommerce-shop .wp-block-woocommerce-product-template,
  .tax-product_cat .wp-block-woocommerce-product-template { grid-template-columns:minmax(0,1fr); }
  :is(.woocommerce-shop,.tax-product_cat) main > .wp-block-group.is-layout-flex {
    flex-direction:column;
    align-items:stretch;
    gap:12px;
  }
  :is(.woocommerce-shop,.tax-product_cat) .woocommerce-result-count { margin:0; }
  :is(.woocommerce-shop,.tax-product_cat) .woocommerce-ordering { float:none; margin:0; }
  :is(.woocommerce-shop,.tax-product_cat) .woocommerce-ordering select {
    width:100%;
    min-height:44px;
    padding:10px 12px;
    border:1px solid #bec8d6;
    border-radius:9px;
    background:#fff;
    font:inherit;
  }
}
@media(prefers-reduced-motion:reduce) { html{scroll-behavior:auto;} *,*::before,*::after{animation:none!important;transition:none!important;} }

/* Product preview: original Notion screens in a broad, calm shop layout. */
.studio-catalog{width:calc(100% - var(--studio-gutter) * 2);max-width:2200px;margin:clamp(40px,5vw,90px) auto;}
.studio-storefront{font-size:clamp(16px,1.1vw,20px);}
.studio-store-intro{max-width:950px;margin-bottom:clamp(32px,4vw,64px);}
.studio-eyebrow{font-size:13px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:#566477;margin:0 0 18px;}
.studio-store-intro h1{font-size:clamp(36px,4.5vw,78px);line-height:1.07;letter-spacing:-.055em;margin:0 0 24px;text-wrap:balance;}
.studio-store-intro>p:last-child{max-width:660px;color:#566477;margin:0;}
.studio-product{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);background:white;border:1px solid #dce2eb;border-radius:24px;overflow:hidden;}
.studio-product-visual{background:#e4ecf3;position:relative;min-width:0;display:flex;flex-direction:column;justify-content:center;padding:clamp(24px,3vw,64px);overflow:hidden;}
.studio-product-cover{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;}
.studio-screen{position:relative;margin:0;background:white;padding:8px;border:1px solid #dde3e9;border-radius:12px;box-shadow:0 20px 60px #182b4226;transform:rotate(-2deg);}
.studio-screen-crop{height:clamp(210px,24vw,430px);overflow:hidden;border-radius:7px;background:white;}
.studio-screen-crop img{display:block;width:100%;height:auto;min-width:500px;margin-top:-140px;}
.studio-screen figcaption{font-size:11px;color:#566477;padding:12px 6px 6px;}
.studio-product-summary{padding:clamp(28px,4vw,72px);}
.studio-product-summary h2{font-size:clamp(32px,3.2vw,58px);letter-spacing:-.045em;margin:0 0 20px;line-height:1.1;}
.studio-product-summary>p:not(.studio-eyebrow){color:#566477;}
.studio-included{list-style:none;padding:0;margin:28px 0;}
.studio-included li{padding:10px 0 10px 28px;border-bottom:1px solid #edf0f4;position:relative;}
.studio-included li:before{content:'✓';position:absolute;left:0;color:#245ac7;}
.studio-preview-price{display:flex;align-items:center;gap:16px;margin:30px 0 24px;}
.studio-preview-price strong{font:600 clamp(38px,3.5vw,60px)/1 Manrope,sans-serif;letter-spacing:-.05em;}
.studio-preview-price>span{color:#566477;font-size:13px;line-height:1.5;}
.studio-details-link{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#245ac7;color:white!important;border-radius:999px;padding:16px 24px;text-decoration:none;font-weight:600;min-height:54px;}
.studio-details-link:hover{background:#1b469f;}
.studio-sale-state{font-size:13px;line-height:1.5;color:#566477;margin:16px 0 0;}
.studio-details{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(32px,6vw,100px);align-items:center;margin:clamp(64px,8vw,140px) 0;scroll-margin-top:60px;}
.studio-details h2,.studio-purchase-info h2{font-size:clamp(28px,2.7vw,48px);letter-spacing:-.045em;line-height:1.15;margin:0 0 24px;}
.studio-details p:not(.studio-eyebrow){max-width:560px;color:#566477;}
.studio-flow{display:flex;flex-wrap:wrap;gap:12px;font-size:14px;font-weight:600;margin-top:26px;color:#245ac7;}
.studio-pipeline{min-width:0;margin:0;}
.studio-pipeline-crop{height:clamp(260px,27vw,500px);overflow:hidden;border:1px solid #dce2eb;border-radius:12px;background:white;}
.studio-pipeline-crop img{display:block;width:100%;min-width:680px;height:auto;margin-top:-24px;}
.studio-pipeline figcaption{font-size:12px;margin-top:14px;color:#566477;}
.studio-purchase-info{display:grid;grid-template-columns:1fr 1fr;gap:clamp(32px,6vw,100px);padding-top:clamp(32px,4vw,64px);border-top:1px solid #dce2eb;}
.studio-purchase-info h2{font-size:clamp(25px,2vw,34px);}
.studio-purchase-info li{margin:12px 0;}
.studio-purchase-info ul,.studio-purchase-info ol{padding-left:24px;}
.studio-purchase-info p,.studio-purchase-info li{color:#566477;}
@media(max-width:900px){.studio-product,.studio-details,.studio-purchase-info{grid-template-columns:1fr;}.studio-product-visual{min-height:330px;}.studio-screen-crop{height:280px;}.studio-details{gap:28px;}.studio-pipeline-crop{height:340px;}}
@media(max-width:480px){.studio-product{border-radius:16px;}.studio-product-visual{min-height:270px;padding:24px 18px;}.studio-screen-crop{height:220px;}.studio-screen{transform:none;}.studio-product-summary{padding:28px 22px;}.studio-eyebrow{font-size:11px;}.studio-details-link{font-size:14px;padding:15px 18px;}.studio-store-intro h1{font-size:36px;}.studio-pipeline-crop{height:290px;}}

.studio-brand{display:inline-flex;align-items:center;gap:10px;font:600 25px/1.1 Manrope,sans-serif;letter-spacing:-1px;text-decoration:none;color:#182b42;}
.studio-brand img{display:block;flex-shrink:0;}
.studio-brand-dot{color:#245ac7;}
.studio-header>.wp-block-shortcode{margin:0;}

/* Classic checkout: the tested Germanized legal fields use WooCommerce's native form. */
.woocommerce form.checkout{font-size:16px;line-height:1.55;}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select{background:#fff;color:#182b42;border:1px solid #bec8d6;border-radius:9px;padding:12px 14px;min-height:48px;font:inherit;max-width:100%;}
.woocommerce form .form-row label{line-height:1.55;margin-bottom:6px;}
.woocommerce-checkout #payment{background:#fff;border:1px solid #dce2eb;border-radius:18px;}
.woocommerce-checkout #payment div.payment_box{background:#f5f7fa;color:#182b42;}
.woocommerce-checkout #payment .place-order{padding:clamp(16px,3vw,32px);}
.woocommerce-checkout #payment .legal{font-size:14px;line-height:1.65;}
.woocommerce-checkout #payment input[type=checkbox]{accent-color:#245ac7;width:18px;height:18px;}
.woocommerce table.shop_table{background:#fff;border:1px solid #dce2eb;border-radius:14px;font-size:16px;}
@media(max-width:600px){.woocommerce form .form-row-first,.woocommerce form .form-row-last{width:100%;float:none;}.woocommerce table.shop_table th,.woocommerce table.shop_table td{padding:12px 8px;}.woocommerce-checkout #payment #place_order{width:100%;white-space:normal;min-height:50px;}}

/* Product identity: the store header remains Quietwork. */
#studio-product-title{display:flex;align-items:center;gap:12px;}
#studio-product-title img{flex-shrink:0;}
.studio-product-summary .studio-details-link{background:#23675f;border-color:#23675f;}

/* WooCommerce renders order confirmation outside the classic checkout template. */
.woocommerce-order-received main.wp-block-group {
  width:calc(100% - clamp(32px,8vw,160px));
  max-width:1600px;
  margin:clamp(36px,5vw,80px) auto;
  padding:0;
  min-height:45vh;
}
.woocommerce-order-received main.wp-block-group > .alignwide {
  max-width:none;
  margin-inline:0;
  margin-block:0 24px;
}
.woocommerce-order-received .wc-block-order-confirmation-status h1 {
  font:600 clamp(30px,3.6vw,56px)/1.12 Manrope,sans-serif;
  letter-spacing:-.045em;
  overflow-wrap:break-word;
  margin:0 0 18px;
}
.woocommerce-order-received .wc-block-order-confirmation-status p {
  font-size:clamp(16px,1.25vw,20px);
  color:#566477;
  margin:0 0 32px;
}
.woocommerce-order-received :is(.wc-block-order-confirmation-summary,
  .wc-block-order-confirmation-totals-wrapper,.wc-block-order-confirmation-downloads-wrapper,
  .wc-block-order-confirmation-billing-wrapper,.wc-block-order-confirmation-shipping-wrapper) {
  background:#fff;
  border:1px solid #dce2eb;
  border-radius:18px;
  padding:clamp(20px,2.4vw,36px);
  min-width:0;
}
.woocommerce-order-received .wc-block-order-confirmation-summary-list {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px 32px;
  padding:0;
  margin:0;
}
.woocommerce-order-received .wc-block-order-confirmation-summary-list-item {
  margin:0;
  min-width:0;
  overflow-wrap:anywhere;
}
.woocommerce-order-received .wc-block-order-confirmation-summary-list-item:last-child { grid-column:span 2; }
.woocommerce-order-received .wc-block-order-confirmation-summary-list-item__key { display:block; color:#566477; font-size:13px; margin-bottom:6px; }
.woocommerce-order-received .wc-block-order-confirmation-summary-list-item__value { display:block; font-size:16px; }
.woocommerce-order-received main h2.wp-block-heading { margin:0 0 20px; font:600 22px/1.3 Manrope,sans-serif; }
.woocommerce-order-received main table { width:100%; border-color:#dce2eb; border-radius:10px; font-size:15px; }
.woocommerce-order-received main :is(th,td) { padding:16px; overflow-wrap:break-word; }
.woocommerce-order-received main th { background:#f5f7fa; }
.woocommerce-order-received .wc-block-order-confirmation-totals__total { white-space:nowrap; }
.woocommerce-order-received .wc-block-order-confirmation-downloads .button {
  display:inline-flex;
  justify-content:center;
  align-items:center;
  padding:14px 20px;
  min-height:48px;
  border-radius:12px;
  background:var(--studio-blue);
  color:#fff;
  font-weight:600;
  line-height:1.4;
  text-decoration:none;
}
.woocommerce-order-received .wc-block-order-confirmation-address-wrapper > .wp-block-column:not(:has([data-block-name])) { display:none; }
.woocommerce-order-received .wc-block-order-confirmation-address-wrapper { gap:24px; }
.woocommerce-order-received .wc-block-order-confirmation-address-wrapper address { margin:0; font-style:normal; line-height:1.65; }

/* Keep every download detail readable without widening the mobile page. */
@media(max-width:600px){
  .woocommerce-order-received .wc-block-order-confirmation-summary-list{grid-template-columns:1fr 1fr;gap:20px;}
  .woocommerce-order-received .wc-block-order-confirmation-summary-list-item:nth-child(n+4){grid-column:1 / -1;}
  .woocommerce-order-received main :is(th,td){padding:12px;}
  .wc-block-order-confirmation-downloads__table thead{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;}
  .wc-block-order-confirmation-downloads__table tbody,.wc-block-order-confirmation-downloads__table tr{display:block;width:100%;}
  .wc-block-order-confirmation-downloads__table td{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:16px;width:100%;padding:14px 16px;overflow-wrap:anywhere;}
  .wc-block-order-confirmation-downloads__table td::before{content:attr(data-title);font-weight:600;}
  .wc-block-order-confirmation-downloads__table .button{white-space:normal;}
  .woocommerce-order-received .wc-block-order-confirmation-downloads__table td{display:block;text-align:left;padding:14px 16px;}
  .woocommerce-order-received .wc-block-order-confirmation-downloads__table td::before{display:block;font-size:13px;color:#566477;margin-bottom:6px;}
  .woocommerce-order-received .wc-block-order-confirmation-downloads__table .button{width:100%;}
}
