/*
Theme Name: AudioClauss Studio
Theme URI: https://audioclauss.de/
Author: AudioClauss
Description: Der ArcTwo-Stil als bearbeitbares WordPress-Block-Theme. Mit wiederverwendbaren Abschnitten und WooCommerce-Unterstützung.
Version: 0.4.2
Requires at least: 6.6
Requires PHP: 8.0
Text Domain: audioclauss-studio
License: GPL-2.0-or-later
*/
html{scroll-behavior:smooth;scroll-padding-top:24px;color-scheme:light}
*{box-sizing:border-box}
body{min-width:0}
img{max-width:100%;height:auto}
button,input,textarea,select{font:inherit}
a,button,input,textarea,select{ -webkit-tap-highlight-color:transparent }
:focus-visible{outline:2px solid var(--wp--preset--color--secondary);outline-offset:5px}
.wp-site-blocks>header,.wp-site-blocks>footer{margin-block-start:0}
.wp-block-navigation .wp-block-navigation-item__content{padding-block:.5rem}
.wp-block-navigation__responsive-container.is-menu-open{padding:1.5rem;background:var(--wp--preset--color--base);color:var(--wp--preset--color--contrast)}
.wp-block-navigation__responsive-container-open,.wp-block-navigation__responsive-container-close{min-width:44px;min-height:44px;align-items:center;justify-content:center}
.wp-block-heading{overflow-wrap:anywhere;text-wrap:balance}
.wp-block-post-content{overflow-wrap:anywhere}
.is-style-kicker{font-size:.7rem;letter-spacing:.16em;text-transform:uppercase;font-weight:600;line-height:1.7}
.is-style-card{padding:1.5rem 0;border-top:1px solid var(--wp--preset--color--line)}
.wp-block-button.is-style-outline .wp-block-button__link{color:inherit;background:transparent;border:1px solid currentColor}
.wp-block-button.is-style-outline .wp-block-button__link:hover{background:var(--wp--preset--color--secondary);color:var(--wp--preset--color--white);border-color:var(--wp--preset--color--secondary)}
.wp-block-button__link{min-height:48px;display:inline-flex;align-items:center;justify-content:center}
.wp-block-button.is-style-outline .wp-block-button__link{padding:1rem 1.5rem}
.wp-block-image img{vertical-align:middle}
.wp-element-caption{font-size:.875rem;line-height:1.6;color:var(--wp--preset--color--muted)}
.wp-block-separator{opacity:1}
.wp-block-table td,.wp-block-table th{border-color:var(--wp--preset--color--line);padding:1rem}
.wp-block-table.is-style-stripes tbody tr:nth-child(odd){background:var(--wp--preset--color--surface)}
input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]),select,textarea{background:var(--wp--preset--color--white);border:1px solid var(--wp--preset--color--control);border-radius:0;color:var(--wp--preset--color--contrast);padding:.75rem;max-width:100%}
input[type=checkbox],input[type=radio]{accent-color:var(--wp--preset--color--secondary)}
select{height:auto;min-height:48px;line-height:1.5}
.nf-form-content{max-width:100%;padding:0}
.nf-form-content label{font-size:.875rem;font-weight:500}
.nf-form-content input.ninja-forms-field:not([type=button]),.nf-form-content select.ninja-forms-field,.nf-form-content textarea.ninja-forms-field{background:var(--wp--preset--color--white);border:1px solid var(--wp--preset--color--control);border-radius:0;color:var(--wp--preset--color--contrast)}
.nf-form-content input[type=submit],.nf-form-content input[type=button],.nf-form-content button{background:var(--wp--preset--color--contrast);color:var(--wp--preset--color--base);border:1px solid var(--wp--preset--color--contrast);border-radius:0;padding:1rem 1.5rem;cursor:pointer;min-height:48px}
body.woocommerce,body.woocommerce-page,.woocommerce{font-family:var(--wp--preset--font-family--sans,-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif)}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:1.5rem;font-weight:400;line-height:1.3;letter-spacing:-.025em}
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit,.woocommerce a.button.alt,.woocommerce button.button.alt{background:var(--wp--preset--color--contrast);color:var(--wp--preset--color--base);border:1px solid var(--wp--preset--color--contrast);border-radius:0;padding:1rem 1.5rem;line-height:1.5;font-size:.875rem;font-weight:600}
.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce a.button.alt:hover,.woocommerce button.button.alt:hover{background:var(--wp--preset--color--secondary);color:var(--wp--preset--color--white);border-color:var(--wp--preset--color--secondary)}
.woocommerce ul.products li.product .price,.woocommerce div.product p.price{color:var(--wp--preset--color--contrast)}
.woocommerce .woocommerce-breadcrumb{font-size:.75rem;color:var(--wp--preset--color--muted)}
.woocommerce div.product .woocommerce-tabs ul.tabs li{background:transparent;border-color:var(--wp--preset--color--line);border-radius:0}
.woocommerce div.product .woocommerce-tabs ul.tabs li:before,.woocommerce div.product .woocommerce-tabs ul.tabs li:after{display:none}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active{background:var(--wp--preset--color--base)}
.woocommerce div.product .product_title{font-size:clamp(2rem,4vw,3.5rem);line-height:1.15;letter-spacing:-.04em}
.woocommerce div.product form.cart .variations tr{display:flex;flex-direction:column;gap:.5rem;margin-bottom:1.25rem}
.woocommerce div.product form.cart .variations td,.woocommerce div.product form.cart .variations th{display:block;padding:0;width:100%;text-align:left}
.woocommerce div.product form.cart .variations select{width:100%;max-width:100%;min-width:0;height:auto;min-height:48px;line-height:1.5}
.woocommerce-message,.woocommerce-info{border-top-color:var(--wp--preset--color--primary);background:var(--wp--preset--color--surface);color:var(--wp--preset--color--contrast)}
.woocommerce-message:before,.woocommerce-info:before{color:var(--wp--preset--color--secondary)}
.wc-block-components-button{border-radius:0}
.wc-block-components-product-price{color:var(--wp--preset--color--contrast)}
.wc-block-product-template .wc-block-components-product-image img{background:var(--wp--preset--color--surface)}
.woocommerce-account .woocommerce-MyAccount-navigation ul{list-style:none;padding:0}
.woocommerce-account .woocommerce-MyAccount-navigation li{border-bottom:1px solid var(--wp--preset--color--line);padding:.75rem 0}
.vat-info{font-size:.75rem;line-height:1.6;color:var(--wp--preset--color--muted);margin:0 auto;padding:0 clamp(20px,4vw,64px) 2rem;max-width:1408px}
@media(max-width:781px){.wp-block-columns{gap:2rem!important}.wp-block-column{min-width:0}}
@media(max-width:600px){.woocommerce ul.products li.product{width:100%!important;float:none!important;margin-right:0!important}.woocommerce .woocommerce-result-count,.woocommerce .woocommerce-ordering{float:none;margin-bottom:1rem}.woocommerce .woocommerce-ordering select{width:100%}}

/* Lesbare, aus dem alten Theme übernommene Inhaltsflächen. */


header .wp-block-image img{border-radius:16px}
.wp-block-navigation .wp-block-navigation__submenu-container{border-radius:12px;padding:.5rem;min-width:220px}
.wp-block-social-links .wp-social-link a{min-width:44px;min-height:44px;display:flex;align-items:center;justify-content:center}
.ac-finish-carousel{position:relative}
.ac-finish-carousel.is-enhanced>figure{margin:0}
.ac-finish-carousel.is-enhanced>figure[hidden]{display:none!important}
.ac-finish-carousel img{width:100%;aspect-ratio:2/3;object-fit:contain;border-radius:16px}
.ac-finish-controls{display:flex;align-items:end;gap:.75rem;margin-top:1rem;flex-wrap:wrap}
.ac-finish-controls button{background:transparent;color:var(--wp--preset--color--contrast);border:1px solid var(--wp--preset--color--line);border-radius:24px;min-width:44px;min-height:44px;padding:.5rem 1rem;cursor:pointer;font-size:.8125rem}
.ac-finish-controls button:hover{background:var(--wp--preset--color--surface)}
.ac-finish-count{font-size:.875rem;color:var(--wp--preset--color--muted)}
@media(max-width:600px){header .wp-block-image img{max-width:175px}.ac-finish-controls button{padding:.5rem .75rem}}


::selection{background:var(--wp--preset--color--primary);color:#fff}
a{text-underline-offset:.22em;text-decoration-thickness:1px}
input,textarea{caret-color:var(--wp--preset--color--secondary)}
.is-style-footer-label{font-size:.875rem;font-weight:600;letter-spacing:.03em}
.is-style-ac-hero>.wp-block-columns{align-items:start;gap:clamp(2rem,5vw,5rem)}
.is-style-ac-hero>.wp-block-columns>.wp-block-column:first-child{padding-top:clamp(0rem,2vw,2rem)}
.is-style-ac-hero h1{margin-top:0;max-width:12ch}
.is-style-ac-hero .ac-finish-carousel img{height:min(62vh,620px);width:100%;aspect-ratio:auto;object-fit:contain;background:#f1efea}
.ac-finish-select{display:flex;flex:1;min-width:150px;flex-direction:column;gap:.25rem;font-size:.875rem}
.ac-finish-select select{width:100%;padding:.65rem 2rem .65rem .75rem!important;min-height:44px;border-radius:8px}
.ac-finish-controls button{background:var(--wp--preset--color--base);color:var(--wp--preset--color--contrast);border-color:var(--wp--preset--color--line);flex-shrink:0;display:inline-flex;align-items:center;justify-content:center}
.ac-finish-controls button:disabled{opacity:.6;cursor:default}
.ac-quiz-question{border:0;border-top:1px solid var(--wp--preset--color--line);padding:2rem 0;margin:0;min-width:0}
.ac-quiz-question legend{float:left;width:100%;font-weight:600;font-size:1.25rem;margin-bottom:1rem}
.ac-quiz-question label{clear:both;display:flex;gap:.75rem;padding:.7rem .75rem;border-radius:8px;cursor:pointer;align-items:baseline;min-height:44px}
.ac-quiz-question label:hover,.ac-quiz-question label:has(input:checked){background:var(--wp--preset--color--surface)}
.ac-quiz-question input{flex-shrink:0;min-width:20px;min-height:20px}
.ac-quiz-progress{font-size:.875rem;color:var(--wp--preset--color--muted)}
.ac-quiz-message,.ac-quiz-question.is-incomplete{outline:2px solid var(--wp--preset--color--secondary);outline-offset:5px}
.ac-quiz-result{scroll-margin-top:2rem}
.ac-quiz-result[hidden]{display:none!important}
.wp-block-post-content :is(h1,h2,h3,h4,h5,h6){scroll-margin-top:2rem}
.wp-block-post-content h1{font-size:var(--wp--preset--font-size--xx-large)}
.wp-block-post-content h4{font-size:1.25rem;line-height:1.3}
.wp-block-post-content :is(p,li){max-width:75ch}
.wp-block-post-title{max-width:24ch}
.wp-block-media-text{gap:2rem}
.wp-block-media-text .wp-block-media-text__content{padding:0 1rem}
.wp-block-media-text img{border-radius:12px}
.has-contrast-background-color .has-primary-color{color:var(--ac-bronze-oncontrast,#c18a6b)!important}
.wp-block-social-links.has-icon-color .wp-social-link{color:var(--wp--preset--color--contrast)!important}
.nf-form-content input:not([type=button]):not([type=submit]),.nf-form-content textarea,.nf-form-content select{background:var(--wp--preset--color--white)!important;color:var(--wp--preset--color--contrast)!important;border-color:var(--wp--preset--color--control)!important}
.nf-form-content .list-checkbox-wrap .nf-field-element li label{display:inline-block;min-height:32px;line-height:1.7}
.nf-form-content .nf-error-msg,.nf-error .nf-error-msg{color:#a42e24}
@media(max-width:781px){.is-style-ac-hero .ac-finish-carousel img{height:auto;max-height:550px;aspect-ratio:2/3}.wp-block-media-text .wp-block-media-text__content{padding:0}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container{align-items:flex-start;gap:1rem}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container{padding:.25rem 0 .25rem 1rem;gap:.25rem;min-width:0}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content{align-items:flex-start}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item{align-items:flex-start}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content{padding-block:.4rem;min-height:44px}}
@media(max-width:400px){.ac-finish-controls{gap:.5rem}.ac-finish-select{min-width:130px}.ac-finish-controls button{padding:.5rem}.ac-finish-controls button:last-child{width:100%}}


.ac-image-gallery img{aspect-ratio:16/10;max-height:640px;object-fit:contain;background:#f1efea}
.ac-finish-download,.ac-reduced-note{font-size:.875rem;line-height:1.6;color:var(--wp--preset--color--muted)}
.ac-finish-download{display:inline-block;min-height:32px;padding-block:.4rem}
.ac-staging-note{padding:1rem 1.25rem;background:var(--wp--preset--color--surface);color:var(--wp--preset--color--contrast);border-radius:12px}
.wc-block-components-checkout-step__title{font-family:var(--wp--preset--font-family--sans);font-size:1.25rem!important;letter-spacing:normal}
#cmplz-document{max-width:none;color:inherit;font-size:1rem;line-height:1.75}
#cmplz-document h2,#cmplz-document h3{background:transparent;color:inherit;font-family:var(--wp--preset--font-family--display);padding:0}
#cmplz-document a{color:inherit}
body.ac-appearance-dark .nf-error-msg{color:#ffb4a9!important}
@media(prefers-color-scheme:dark){body.ac-appearance-system .nf-error-msg{color:#ffb4a9!important}}

.ac-labox-hero .ac-image-gallery img{aspect-ratio:4/3;height:auto;max-height:580px;object-fit:contain}.ac-product-section{margin-block-start:0!important}.ac-product-section .wp-block-heading:first-child{margin-top:0}.ac-product-section .wp-block-columns{align-items:center}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Compact specification tables retain readable labels on phones. */
@media(max-width:600px){
 .wp-block-table table{table-layout:fixed;width:100%}
 .wp-block-table td,.wp-block-table th{padding:.75rem;overflow-wrap:break-word;hyphens:auto}
 .wp-block-table td:first-child,.wp-block-table th:first-child{width:40%}
}
