/**
 * Global Reset of all HTML Elements
 *
 * Resetting all of our HTML Elements ensures a smoother
 * visual transition between browsers. If you don't believe me,
 * try temporarily commenting out this block of code, then go
 * and look at Mozilla versus Safari, both good browsers with
 * a good implementation of CSS. The thing is, all browser CSS
 * defaults are different and at the end of the day if visual
 * consistency is what we're shooting for, then we need to
 * make sure we're resetting all spacing elements.
 *
 */
html,
body {
  border: 0;
  font-family: "Helvetica-Neue", "Helvetica", Arial, sans-serif;
  line-height: 1.5;
  margin: 0;
  padding: 0;
}
div,
span,
object,
iframe,
img,
table,
caption,
thead,
tbody,
tfoot,
tr,
tr,
td,
article,
aside,
canvas,
details,
figure,
hgroup,
menu,
nav,
footer,
header,
section,
summary,
mark,
audio,
video {
  border: 0;
  margin: 0;
  padding: 0;
}
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
address,
cit,
code,
del,
dfn,
em,
ins,
q,
samp,
small,
strong,
sub,
sup,
b,
i,
hr,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
legend,
label {
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
  margin: 0;
  padding: 0;
}
article,
aside,
canvas,
figure,
figure img,
figcaption,
hgroup,
footer,
header,
nav,
section,
audio,
video {
  display: block;
}
table {
  border-collapse: separate;
  border-spacing: 0;
}
table caption,
table th,
table td {
  text-align: left;
  vertical-align: middle;
}
a img {
  border: 0;
}
:focus {
  outline: 0;
}
.clearfix {
  clear: both;
  display: block;
}
.clearfix:before {
  content: '';
  display: table;
  height: 0px;
}
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.pull-right {
  float: right;
}
.pull-left {
  float: left;
}
.hidden {
  height: 0;
  overflow: hidden;
  visibility: hidden;
}
.noselect {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
body {
  font: 13px "Open Sans", Helvetica, Arial, sans-serif;
}
.top-header {
  background: url('../images/bg-header.jpg') no-repeat top center;
  background-size: cover;
  height: 300px;
}
.top-header > img {
  margin-top: 20px;
}
.container {
  background-color: #ffffff;
  margin: -200px auto 20px;
  width: 980px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.container .header {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 20px;
  border-bottom: 2px solid #1a53a7;
  margin-bottom: 15px;
}
.container .header > h1 {
  font-size: 24px;
  font-weight: bold;
  color: #1a53a7;
}
.container .content-left {
  display: inline-block;
  width: 65%;
  float: left;
}
.container .content-left .shirt-color {
  min-height: 100px;
}
.container .content-left .text-input {
  min-height: 100px;
  margin-bottom: 20px;
}
.container .content-left .text-input .front-back-box {
  display: inline-block;
  padding-left: 40px;
  float: left;
  margin-top: 5px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  width: 100%;
}
.container .content-left .text-input .front-back-box .text-input-front {
  width: 50%;
  float: left;
}
.container .content-left .text-input .front-back-box .text-input-back {
  width: 50%;
  float: left;
}
.container .content-left .text-input .front-back-box .textarea-field {
  height: 130px;
  width: 280px;
  overflow: hidden;
  border: 1px solid #b8b8b8;
  border-radius: 5px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.container .content-left .text-input .front-back-box .textarea-field .textarea-frame {
  height: 100px;
  width: 280px;
  overflow: hidden;
}
.container .content-left .text-input .front-back-box .textarea-field .textarea-frame textarea {
  display: block;
  resize: none;
  height: 100px;
  width: 300px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  border: 0;
  overflow-y: scroll;
  margin: 0;
  font-family: "Open Sans", "Helvetica", Arial, sans-serif;
  text-align: center;
  -webkit-box-shadow: inset 0px 8px 6px -10px;
  -moz-box-shadow: inset 0px 8px 6px -10px;
  box-shadow: inset 0px 8px 6px -10px;
  font-size: 30px;
  padding: 5px 15px 6px 9px;
  line-height: 35px;
}
.container .content-left .text-input .front-back-box .textarea-field .sprite-box {
  background-color: white;
  display: inline-block;
  height: 28px;
  width: 100px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  border-top: 1px solid #b8b8b8;
  border-right: 1px solid #b8b8b8;
  overflow: hidden;
  border-top-right-radius: 5px;
}
.container .content-left .text-input .front-back-box .textarea-field .sprite-box label {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  border: 2px solid #ebebeb;
  display: inline-block;
  height: 27px;
  width: 33px;
  float: left;
  position: relative;
  overflow: hidden;
}
.container .content-left .text-input .front-back-box .textarea-field .sprite-box label input {
  position: absolute;
  top: -20px;
}
.container .content-left .text-input .front-back-box .textarea-field .sprite-box label.sprite-label-align-left input + span {
  background-color: #ebebeb;
  background-position: -23px 0;
  transition: all linear 0.15s;
}
.container .content-left .text-input .front-back-box .textarea-field .sprite-box label.sprite-label-align-left input:checked + span {
  background-position: -23px -24px;
}
.container .content-left .text-input .front-back-box .textarea-field .sprite-box label.sprite-label-align-center input + span {
  background-color: #ebebeb;
  background-position: -46px 0;
  transition: all linear 0.15s;
}
.container .content-left .text-input .front-back-box .textarea-field .sprite-box label.sprite-label-align-center input:checked + span {
  background-position: -46px -24px;
}
.container .content-left .text-input .front-back-box .textarea-field .sprite-box label.sprite-label-align-right input + span {
  background-color: #ebebeb;
  background-position: -69px 0;
  transition: all linear 0.15s;
}
.container .content-left .text-input .front-back-box .textarea-field .sprite-box label.sprite-label-align-right input:checked + span {
  background-position: -69px -24px;
}
.container .content-left .text-input .front-back-box .textarea-field .sprite {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  display: inline-block;
  height: 23px;
  width: 29px;
  background: url("../images/sprites.png");
  cursor: pointer;
}
.container .content-left .text-input .front-back-box .textarea-field .sprite.sprite-align-left {
  background-color: green;
}
.container .content-left h2 {
  color: #525252;
  display: block;
  line-height: 26px;
  font-size: 16px;
  font-weight: bold;
  margin: 0 0 0 5px;
  padding: 0;
}
.container .footer {
  height: 100px;
  background-color: #ffffff;
}
.container .footer .col-btn {
  float: left;
  width: 200px;
}
.container .footer .col-btn .btn-bestel {
  background-color: #1a53a7;
  color: #ffffff;
  border: none;
  text-transform: uppercase;
  font-size: 22px;
  font-weight: bold;
  padding: 10px 20px;
  display: inline-block;
  cursor: pointer;
}
.container .footer .col-btn .btn-bestel:hover {
  background-color: #133d7b;
}
.container .footer .col-btn .btn-bestel.disabled {
  pointer-events: none;
  opacity: 0.8;
}
.container .footer .col-menge,
.container .footer .col-price {
  float: left;
  font-weight: 600;
  font-size: 16px;
  padding: 10px 20px 0 0;
}
.container .footer .col-price {
  padding-top: 11px;
}
.container .footer .col-price span {
  color: #1a53a7;
  font-weight: 900;
  font-size: 18px;
}
.container .footer .text-ebay {
  clear: both;
  margin-left: 200px;
  color: #1a53a7;
}
.container .arrow-box {
  display: inline-block;
  margin: 0;
  padding: 0;
  line-height: 26px;
  float: left;
}
.container .arrow-box .arrow-text {
  display: inline-block;
  background-color: #1A53A7;
  height: 26px;
  font-size: 16px;
  font-weight: 900;
  float: left;
  padding: 0 5px;
  color: white;
}
.container .arrow-box .arrow-shape {
  display: inline-block;
  float: left;
  border-top: 13px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 10px solid #1A53A7;
}
.shirt-size-select {
  padding: 10px 40px 0;
  min-height: 60px;
}
.shirt-size-select label {
  float: left;
  margin: 0 7px 7px 0;
  display: inline-block;
  position: relative;
  overflow: hidden;
  width: 40px;
  height: 40px;
}
.shirt-size-select label span {
  height: 36px;
  width: 36px;
  display: inline-block;
  text-decoration: none;
  border-radius: 50%;
  text-align: center;
  line-height: 35px;
  border: 2px solid #6b6b6b;
  color: #6b6b6b;
  font-weight: bold;
  transition: border 0.1s linear, color 0.1s linear;
}
.shirt-size-select label span:hover {
  border-color: #42c700;
  color: #42c700;
  cursor: pointer;
}
.shirt-size-select label input {
  position: absolute;
  top: -20px;
}
.shirt-size-select label input:checked + span {
  border-color: #42c700;
  color: #42c700;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);
}
.select-menu-circle {
  padding: 10px 40px 0;
  margin-bottom: 13px;
}
.select-menu-circle.font-color-select label span {
  background-image: none;
}
.select-menu-circle.font-color-select label span.metallic {
  background-image: url('../images/color-metallic.png');
}
.select-menu-circle label {
  float: left;
  margin: 0 7px 7px 0;
  display: inline-block;
  position: relative;
  overflow: hidden;
  width: 40px;
  height: 40px;
}
.select-menu-circle label span {
  height: 36px;
  width: 36px;
  display: inline-block;
  text-decoration: none;
  border-radius: 50%;
  text-align: center;
  line-height: 35px;
  border: 2px solid #6b6b6b;
  color: #6b6b6b;
  font-weight: bold;
  background-image: url('../images/color-overlay.png');
  background-position: center center;
  transition: border 0.1s linear;
}
.select-menu-circle label span:hover {
  border-color: #42c700;
  color: #42c700;
  cursor: pointer;
}
.select-menu-circle label span .checkbox {
  position: absolute;
  top: 10px;
  left: 9px;
  display: none;
  width: 23px;
  height: 23px;
  background: url("../images/sprites.png") no-repeat -2px -2px;
  cursor: pointer;
}
.select-menu-circle label input {
  position: absolute;
  top: -20px;
}
.select-menu-circle label input:checked + span {
  border-color: #42c700;
  color: #42c700;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.6);
}
.select-menu-circle label input:checked + span .checkbox {
  display: block;
}
.font-box {
  height: 124px;
  overflow-y: scroll;
  margin-left: 40px;
  margin-top: 10px;
  border: 1px solid #b8b8b8;
  border-radius: 4px;
}
.font-table {
  width: 100%;
}
.font-table .item {
  height: 40px;
  width: 190px;
  border: 1px solid #eeeeee;
  float: left;
}
.font-table label {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  display: block;
  white-space: nowrap;
  text-align: center;
  line-height: 40px;
  height: 40px;
  width: 100%;
  position: relative;
  cursor: pointer;
  overflow: hidden;
}
.font-table label input {
  position: absolute;
  top: -4px;
  left: -20px;
  display: block;
}
.font-table label input + span {
  display: block;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  height: 40px;
  font-size: 22px;
  line-height: 37px;
  overflow: hidden;
  border: 1px solid #ffffff;
}
.font-table label input + span .font-checkbox {
  position: absolute;
  top: 1px;
  right: 1px;
  display: none;
  width: 23px;
  height: 23px;
  background: #ffffff url('../images/sprites.png') no-repeat -2px -2px;
  cursor: pointer;
  border-color: #ffffff;
  border-style: solid;
  border-width: 7px 8px 8px;
}
.font-table label input:checked + span {
  border: 1px solid #42c700;
  height: 40px;
  line-height: 37px;
  overflow: hidden;
}
.font-table label input:checked + span .font-checkbox {
  display: block;
}
.font-select {
  padding-bottom: 20px;
}
.block-text-sizes,
.block-user {
  padding-bottom: 20px;
}
.block-text-sizes .block-content,
.block-user .block-content {
  padding: 10px 0 0 40px;
}
.block-text-sizes .block-content .col-60,
.block-user .block-content .col-60 {
  width: 60%;
  float: left;
}
.block-text-sizes .block-content .col-40,
.block-user .block-content .col-40 {
  width: 40%;
  float: left;
}
.block-text-sizes .block-content label,
.block-user .block-content label {
  margin-bottom: 5px;
  display: block;
}
.block-text-sizes .block-content label span,
.block-user .block-content label span {
  width: 110px;
  display: inline-block;
}
.block-text-sizes .block-content label.comment span,
.block-user .block-content label.comment span {
  width: 100%;
}
.block-text-sizes .block-content label.comment textarea,
.block-user .block-content label.comment textarea {
  resize: none;
}
.form-input {
  padding: 5px 8px;
  border-radius: 3px;
  border: 1px solid #b8b8b8;
  box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.1);
  font-size: 16px;
}
.canvas-field {
  width: 35%;
  float: left;
}
.canvas-field img {
  display: none;
}
#canvas-front {
  margin: auto;
  width: 280px;
  height: 340px;
}
#canvas-back {
  margin: auto;
  width: 280px;
  height: 340px;
}
.error-msg {
  visibility: hidden;
  text-align: center;
  clear: both;
  padding-top: 10px;
}
.has-error {
  color: #ff0000;
}
#recaptcha_widget_div {
  margin-left: 40px;
}
.checkout table {
  width: 340px;
}
.checkout table tr:nth-child(even) {
  background-color: #eeeeee;
}
.checkout table tr td:first-child {
  width: 180px;
}
.checkout table td {
  padding: 3px;
}
.email-error {
  color: #ff0000;
  margin: 0 0 10px 40px;
}
@media (max-width: 350px) {
  #recaptcha_widget_div {
    -webkit-transform: scale(0.75);
    -moz-transform: scale(0.75);
    -ms-transform: scale(0.75);
    -o-transform: scale(0.75);
    transform: scale(0.75);
  }
}
@media (max-width: 480px) {
  .container {
    width: 100%;
    padding: 0 5px 80px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
  .container .container .content-left .text-input .front-back-box .text-input-front {
    color: red;
  }
  .container .header {
    padding: 0;
  }
  .container .select-menu-circle {
    padding: 10px 0 0;
  }
  .container .shirt-size-select {
    padding: 10px 0 0;
  }
  .container .canvas-field {
    clear: both;
    width: 100%;
    margin-bottom: 30px;
    /* margin-top: -890px; */
  }
  .container #recaptcha_widget_div {
    margin-left: 0;
    padding-bottom: 20px;
    margin-top: 710px;
  }
  .container #recaptcha_area {
    margin: 0 auto;
  }
  .container .content-left {
    width: 100%;
  }
  .container .font-box {
    margin: 10px auto 0;
    width: 200px;
  }
  .container .font-table .item {
    width: 178px;
  }
  .container .block-user .block-content .col-60 {
    width: initial;
    margin: auto;
    float: none;
  }
  .container .block-user .block-content .col-40 {
    margin-top: 30px;
    margin-bottom: 30px;
    width: 100%;
  }
  .container .block-user .block-content .col-40 #comment {
    width: 196px;
  }
  .container .block-user .block-content .col-40 .comment br {
    display: none;
  }
  .container .block-user .block-content .col-40 .comment span {
    width: 110px;
    vertical-align: top;
  }
  .container span.pull-right {
    margin-right: 37px !important;
  }
  .container .text-input h2 span {
    display: none;
  }
  .container .content-left .text-input .front-back-box {
    padding-left: 0;
    margin-top: 0;
  }
  .container .content-left .text-input .front-back-box .text-input-front {
    width: 100%;
    float: none;
    margin-top: 12px;
    margin-bottom: 20px;
  }
  .container .content-left .text-input .front-back-box .text-input-front .textarea-field {
    margin: auto;
    width: 100%;
  }
  .container .content-left .text-input .front-back-box .text-input-front .textarea-field .textarea-frame {
    width: 100%;
  }
  .container .content-left .text-input .front-back-box .text-input-front .textarea-field .textarea-frame textarea {
    width: 108%;
    padding-right: 30px;
    border: none;
    outline: none;
  }
  .container .content-left .text-input .front-back-box .text-input-front > label:nth-of-type(1) {
    width: 50%;
    min-width: 140px;
  }
  .container .content-left .text-input .front-back-box .text-input-front > label:nth-of-type(2) {
    float: left;
    width: 50%;
    min-width: 140px;
  }
  .container .content-left .text-input .front-back-box .text-input-back {
    clear: both;
    width: 100%;
    margin-top: 12px;
    margin-bottom: 0;
  }
  .container .content-left .text-input .front-back-box .text-input-back .textarea-field {
    margin: auto;
    width: 100%;
  }
  .container .content-left .text-input .front-back-box .text-input-back .textarea-field .textarea-frame {
    width: 100%;
  }
  .container .content-left .text-input .front-back-box .text-input-back .textarea-field .textarea-frame textarea {
    width: 108%;
    padding-right: 30px;
    border: none;
    outline: none;
  }
  .container .content-left .text-input .front-back-box .text-input-back > label:nth-of-type(1) {
    width: 50%;
    min-width: 140px;
  }
  .container .content-left .text-input .front-back-box .text-input-back > label:nth-of-type(2) {
    float: left;
    width: 50%;
    min-width: 140px;
  }
  .container .content-left .text-input .front-back-box .text-input-back::before {
    content: '(R\00fc ckseite)';
    color: #525252;
    display: block;
    line-height: 26px;
    height: 26px;
    font-size: 16px;
    font-weight: bold;
    margin: 0 0 0 0;
    padding: 0;
  }
  .container .footer {
    position: relative;
    background-color: initial;
    height: 220px;
  }
  .container .footer .col-btn {
    float: none;
    position: absolute;
    bottom: 40px;
    left: 0;
  }
  .container .footer .col-menge {
    float: none;
  }
  .container .footer .col-price {
    float: none;
  }
  .container .footer .text-ebay {
    margin-left: auto;
    width: 100%;
    display: block;
    margin-top: 80px;
  }
  .container .block-user .block-content {
    padding: 10px 0 0 5px;
  }
  .hidden {
    height: 18px;
  }
  .email-error {
    position: relative;
    top: 886px;
    margin: 0;
  }
}
@media (min-width: 481px) and (max-width: 900px) {
  .container {
    width: 640px;
    padding-bottom: 20px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
  .container .canvas-field {
    clear: both;
    width: 100%;
    margin-bottom: 30px;
    /* margin-top: -870px; */
  }
  .container #recaptcha_widget_div {
    clear: both;
    margin-left: 0;
    margin-top: 690px;
    margin-bottom: 10px;
  }
  .container #recaptcha_area .recaptchatable {
    margin-left: 150px !important;
  }
  .container .content-left {
    width: 100%;
  }
  .container .font-box {
    margin-right: 40px;
  }
  .container .font-table .item {
    width: 178px;
  }
  .container .block-user .block-content .col-60 {
    width: 50%;
  }
  .container .block-user .block-content .col-40 {
    width: 50%;
  }
  .container .block-user .block-content .col-40 .comment #comment {
    width: 240px;
  }
  .container .block-user .block-content .col-40 .comment br {
    display: none;
  }
  .container span.pull-right {
    margin-right: 37px !important;
  }
  .container .content-left .text-input .front-back-box .text-input-front {
    width: 47%;
  }
  .container .footer {
    position: relative;
    background-color: initial;
  }
  .container .footer .col-btn {
    float: none;
    position: absolute;
    bottom: -15px;
    left: 0;
  }
  .email-error {
    margin: 0;
    clear: both;
    position: relative;
    top: 850px;
    height: 18px;
  }
}
/* =========================
   DALI Stripe/AGB Optimierung
   ========================= */
.terms-box {
  clear: both;
  margin: 18px 0 14px 0;
  padding: 14px 16px;
  background: rgba(255,255,255,0.92);
  border: 1px solid #d9e2ef;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
  line-height: 1.45;
}

.terms-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 12px;
  color: #444;
}

.terms-label input[type="checkbox"] {
  margin-top: 3px;
  flex: 0 0 auto;
}

.terms-label a {
  color: #3E6DB3;
  font-weight: 700;
  text-decoration: none;
}

.terms-label a:hover {
  text-decoration: underline;
}

.terms-label small {
  display: inline-block;
  color: #666;
  margin-top: 4px;
}

.terms-error {
  margin: 8px 0 0 0;
  color: #b30000;
  font-size: 12px;
  font-weight: 700;
}

.checkout-success-card {
  max-width: 720px;
  margin: 40px auto;
  padding: 36px 28px;
  background: #fff;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}

.checkout-success-card h1 {
  color: #029510;
  margin-bottom: 16px;
}

.order-box {
  margin: 22px auto;
  padding: 16px;
  background: #f4f7fb;
  border: 1px solid #dbe7f6;
  border-radius: 10px;
  max-width: 420px;
}

.designer-footer-note {
  max-width: 900px;
  margin: 20px auto;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .terms-box {
    padding: 12px;
  }
  .terms-label {
    font-size: 11.5px;
  }
  .checkout-success-card {
    margin: 20px 10px;
    padding: 26px 18px;
  }
}

/* =========================================================
   DALI Design Modern Refresh 2026
   Optische Modernisierung ohne Änderung der bestehenden JS/PHP-Logik
   ========================================================= */
:root {
  --dali-blue: #3E6DB3;
  --dali-blue-dark: #1e4077;
  --dali-green: #029510;
  --dali-text: #263142;
  --dali-muted: #6c7584;
  --dali-line: #dbe5f2;
  --dali-bg: #eef3f9;
  --dali-card: rgba(255,255,255,0.94);
  --dali-radius: 18px;
  --dali-shadow: 0 18px 45px rgba(23, 42, 77, 0.14);
  --dali-soft-shadow: 0 8px 24px rgba(23, 42, 77, 0.10);
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  color: var(--dali-text);
  font: 15px/1.55 "Open Sans", "Roboto", Helvetica, Arial, sans-serif;
  background:
    radial-gradient(circle at 10% 0%, rgba(62,109,179,.20), transparent 34%),
    radial-gradient(circle at 100% 10%, rgba(2,149,16,.12), transparent 28%),
    linear-gradient(135deg, #f6f9fc 0%, #eaf1f9 48%, #f9fbfd 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(62,109,179,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(62,109,179,.05) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), transparent 78%);
  z-index: -1;
}

.top-header {
  position: relative;
  height: 330px;
  background:
    linear-gradient(135deg, rgba(20,37,68,.72), rgba(62,109,179,.52)),
    url('../images/bg-header.jpg') no-repeat top center;
  background-size: cover;
  overflow: hidden;
}

.top-header::after {
  content: "Polo-Shirt Designer";
  position: absolute;
  left: 50%;
  bottom: 72px;
  transform: translateX(-50%);
  color: rgba(255,255,255,.92);
  font-size: clamp(32px, 5vw, 66px);
  font-weight: 900;
  letter-spacing: -1.5px;
  white-space: nowrap;
  text-shadow: 0 12px 34px rgba(0,0,0,.35);
}

.top-header > img {
  position: relative;
  z-index: 2;
  max-width: 220px;
  margin-top: 26px;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,.30));
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: -96px auto 30px;
  background: var(--dali-card);
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 28px;
  box-shadow: var(--dali-shadow);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.container .header {
  padding: 28px 32px;
  border-bottom: 1px solid var(--dali-line);
  margin-bottom: 0;
  background: linear-gradient(135deg, rgba(62,109,179,.10), rgba(2,149,16,.045));
}

.container .header > h1 {
  color: var(--dali-blue-dark);
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.7px;
}

.container form.js-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 0;
  align-items: start;
}

.container .content-left {
  float: none;
  width: auto;
  display: block;
  padding: 26px 24px 18px 28px;
}

.canvas-field {
  float: none;
  width: auto;
  position: sticky;
  top: 18px;
  align-self: start;
  padding: 28px 22px;
  margin: 24px 24px 24px 0;
  background: linear-gradient(180deg, #ffffff, #f4f8fd);
  border: 1px solid var(--dali-line);
  border-radius: 24px;
  box-shadow: var(--dali-soft-shadow);
  text-align: center;
}

.canvas-field::before {
  content: "Live-Vorschau";
  display: block;
  margin: 0 0 14px;
  color: var(--dali-blue-dark);
  font-size: 18px;
  font-weight: 900;
}

#canvas-front,
#canvas-back {
  width: min(280px, 100%);
  height: auto;
  margin: 0 auto 16px;
  display: block;
  border-radius: 16px;
  filter: drop-shadow(0 14px 24px rgba(20,37,68,.12));
}

.shirt-color,
.shirt-size,
.text-input,
.input-font-color,
.font-select,
.block-user {
  margin: 0 0 18px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--dali-line);
  border-radius: 22px;
  box-shadow: 0 8px 18px rgba(23,42,77,.055);
}

.container .content-left h2 {
  color: var(--dali-text);
  font-size: 17px;
  line-height: 1.35;
  margin: 0 0 16px 0;
  padding-left: 0;
}

.container .arrow-box {
  display: flex;
  align-items: center;
  float: none;
  margin: 0 0 12px;
}

.container .arrow-box .arrow-text {
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--dali-blue), var(--dali-blue-dark));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  line-height: 32px;
  box-shadow: 0 8px 16px rgba(62,109,179,.22);
}

.container .arrow-box .arrow-shape {
  display: none;
}

.container .arrow-box::after {
  content: "Schritt";
  margin-left: 10px;
  color: var(--dali-muted);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.select-menu-circle,
.shirt-size-select {
  padding: 10px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.select-menu-circle label,
.shirt-size-select label {
  float: none;
  margin: 0;
}

.select-menu-circle label span,
.shirt-size-select label span {
  width: 38px;
  height: 38px;
  line-height: 35px;
  border-color: #c8d3e2;
  background-color: #fff;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.select-menu-circle label span:hover,
.shirt-size-select label span:hover,
.select-menu-circle label input:checked + span,
.shirt-size-select label input:checked + span {
  transform: translateY(-2px);
  border-color: var(--dali-green);
  color: var(--dali-green);
  box-shadow: 0 8px 18px rgba(2,149,16,.18), inset 0 0 0 2px rgba(255,255,255,.7);
}

.container .content-left .text-input .front-back-box {
  padding-left: 0;
  margin-top: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  float: none;
  width: 100%;
}

.container .content-left .text-input .front-back-box .text-input-front,
.container .content-left .text-input .front-back-box .text-input-back {
  width: auto;
  float: none;
}

.container .content-left .text-input .front-back-box .textarea-field {
  width: 100%;
  height: auto;
  min-height: 138px;
  border: 1px solid var(--dali-line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 8px 18px rgba(23,42,77,.06);
}

.container .content-left .text-input .front-back-box .textarea-field .textarea-frame {
  width: 100%;
}

.container .content-left .text-input .front-back-box .textarea-field .textarea-frame textarea {
  width: 100%;
  height: 104px;
  padding: 12px;
  color: var(--dali-text);
  background: #fbfdff;
  border: none;
  box-shadow: none;
  font-size: clamp(22px, 2.8vw, 30px);
}

.container .content-left .text-input .front-back-box .textarea-field .sprite-box {
  border-top-color: var(--dali-line);
  border-right-color: var(--dali-line);
}

.form-input {
  padding: 9px 10px;
  border: 1px solid #c8d3e2;
  border-radius: 10px;
  color: var(--dali-text);
  background: #fff;
  box-shadow: inset 0 1px 2px rgba(23,42,77,.06);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.form-input:focus,
textarea.form-input:focus {
  border-color: var(--dali-blue);
  box-shadow: 0 0 0 4px rgba(62,109,179,.13);
  outline: none;
}

.font-box {
  height: 170px;
  margin: 12px 0 0;
  border: 1px solid var(--dali-line);
  border-radius: 16px;
  background: #fbfdff;
  box-shadow: inset 0 2px 8px rgba(23,42,77,.04);
}

.font-table .item {
  width: 33.333%;
  border-color: #edf2f8;
}

.font-table label input + span {
  border-radius: 10px;
  margin: 3px;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.font-table label input + span:hover,
.font-table label input:checked + span {
  background: rgba(62,109,179,.08);
  border-color: var(--dali-green);
  transform: translateY(-1px);
}

.block-text-sizes .block-content,
.block-user .block-content {
  padding: 10px 0 0;
}

.block-text-sizes .block-content .col-60,
.block-user .block-content .col-60,
.block-text-sizes .block-content .col-40,
.block-user .block-content .col-40 {
  box-sizing: border-box;
}

.block-user .block-content label {
  color: var(--dali-muted);
  font-weight: 700;
}

.block-user .block-content label span {
  color: var(--dali-text);
}

.email-error {
  margin-left: 0;
}

#recaptcha_widget_div {
  margin-left: 0;
}

.container .footer {
  grid-column: 1 / -1;
  height: auto;
  margin: 0;
  padding: 24px 28px 28px;
  background: linear-gradient(135deg, rgba(62,109,179,.08), rgba(2,149,16,.05));
  border-top: 1px solid var(--dali-line);
}

.container .footer .col-btn,
.container .footer .col-menge,
.container .footer .col-price {
  float: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  vertical-align: middle;
  padding: 8px 12px 8px 0;
}

.container .footer .col-btn {
  width: auto;
}

.container .footer .col-price span {
  color: var(--dali-blue-dark);
  font-size: 20px;
}

.container .footer .col-btn .btn-bestel {
  background: linear-gradient(135deg, var(--dali-green), #06b81a);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 900;
  padding: 14px 26px;
  box-shadow: 0 12px 24px rgba(2,149,16,.22);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.container .footer .col-btn .btn-bestel:hover {
  background: linear-gradient(135deg, #028b0f, #05a918);
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(2,149,16,.28);
  filter: saturate(1.08);
}

.container .footer .text-ebay {
  display: none !important;
}

.terms-box {
  border-color: rgba(62,109,179,.22);
  border-radius: 18px;
  box-shadow: var(--dali-soft-shadow);
}

.terms-label {
  font-size: 12.5px;
}

.designer-footer-note {
  width: min(980px, calc(100% - 32px));
  padding: 18px 22px;
  border-radius: 18px;
  background: rgba(255,255,255,.82);
  box-shadow: var(--dali-soft-shadow);
  color: var(--dali-muted);
}

.designer-footer-note a {
  color: var(--dali-blue);
  font-weight: 800;
  text-decoration: none;
}

.designer-footer-note a:hover {
  text-decoration: underline;
}

body > .text-center:last-of-type {
  color: var(--dali-muted);
  padding: 10px 0 30px;
}

@media (max-width: 1050px) {
  .container form.js-form {
    grid-template-columns: 1fr;
  }
  .canvas-field {
    position: relative;
    top: auto;
    order: -1;
    margin: 24px 24px 0;
  }
  .container .content-left {
    padding: 22px 24px 16px;
  }
}

@media (max-width: 768px) {
  .top-header {
    height: 280px;
  }
  .top-header::after {
    bottom: 72px;
    white-space: normal;
    width: 90%;
    text-align: center;
  }
  .top-header::before {
    width: 90%;
    white-space: normal;
    text-align: center;
  }
  .container {
    width: calc(100% - 18px);
    margin-top: -78px;
    padding: 0 0 18px;
    border-radius: 22px;
  }
  .container .header {
    padding: 24px 18px;
  }
  .container .content-left {
    padding: 16px 12px 8px;
  }
  .shirt-color,
  .shirt-size,
  .text-input,
  .input-font-color,
  .font-select,
  .block-user {
    padding: 16px;
    border-radius: 18px;
  }
  .container .content-left .text-input .front-back-box {
    grid-template-columns: 1fr;
  }
  .container .canvas-field {
    clear: none;
    width: auto;
    margin: 16px 12px 0;
    padding: 18px 12px;
  }
  #canvas-front,
  #canvas-back {
    max-width: 280px;
  }
  .font-table .item {
    width: 50%;
  }
  .container .font-box {
    width: 100%;
    margin: 12px 0 0;
  }
  .container .block-user .block-content .col-60,
  .container .block-user .block-content .col-40 {
    width: 100%;
    float: none;
  }
  .container .block-user .block-content label span,
  .block-text-sizes .block-content label span {
    width: 100%;
    margin-bottom: 3px;
  }
  .container .block-user .block-content .col-40 #comment,
  textarea.form-input,
  .form-input {
    width: 100% !important;
    box-sizing: border-box;
  }
  .container .footer {
    padding: 18px 14px 22px;
  }
  .container .footer .col-btn,
  .container .footer .col-menge,
  .container .footer .col-price {
    display: flex;
    width: 100%;
    padding: 8px 0;
    justify-content: space-between;
  }
  .container .footer .col-btn .btn-bestel {
    width: 100%;
    text-align: center;
  }
  #recaptcha_widget_div,
  .container #recaptcha_widget_div {
    margin: 0;
    padding: 0 0 14px;
  }
  .email-error {
    position: static;
    margin: 8px 0;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 14px;
  }
  .container .content-left .text-input .front-back-box .textarea-field .textarea-frame textarea {
    font-size: 24px;
  }
  .select-menu-circle label span,
  .shirt-size-select label span {
    width: 36px;
    height: 36px;
    line-height: 33px;
  }
  .font-table .item {
    width: 100%;
  }
  .designer-footer-note {
    width: calc(100% - 18px);
    padding: 14px;
  }
}

/* =========================================================
   DALI Design Fix 2026-05: Header-Lesbarkeit + Auswahlfelder
   ========================================================= */
.top-header {
  min-height: 340px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 22px;
}

.top-header::after,
.top-header::before {
  left: 50%;
  transform: translateX(-50%);
  width: min(92%, 960px);
  text-align: center;
  white-space: normal;
  pointer-events: none;
}

.top-header::after {
  bottom: 96px;
  font-size: clamp(30px, 5vw, 62px);
  line-height: 1.02;
  padding: 0 12px;
}

.top-header::before {
  bottom: 62px;
  font-size: clamp(14px, 2vw, 19px);
  line-height: 1.35;
  padding: 8px 18px;
  color: #fff;
  background: rgba(20,37,68,.36);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  backdrop-filter: blur(5px);
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
}

.top-header > img {
  z-index: 3;
}

.container {
  margin-top: -82px;
}

/* Auswahlfelder nicht abschneiden */
.shirt-color,
.shirt-size,
.input-font-color {
  overflow: visible !important;
}

.select-menu-circle,
.shirt-size-select {
  overflow: visible !important;
  padding: 12px 4px 4px !important;
  margin: 0 -2px 10px 0;
  gap: 10px;
}

.select-menu-circle label,
.shirt-size-select label {
  overflow: visible !important;
  width: 46px !important;
  height: 46px !important;
  margin: 0 !important;
  padding: 3px !important;
  box-sizing: border-box;
}

.select-menu-circle label span,
.shirt-size-select label span {
  width: 40px !important;
  height: 40px !important;
  line-height: 36px !important;
  box-sizing: border-box;
  overflow: visible !important;
}

.select-menu-circle label input:checked + span,
.shirt-size-select label input:checked + span,
.select-menu-circle label span:hover,
.shirt-size-select label span:hover {
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 9px 20px rgba(2,149,16,.18), inset 0 0 0 2px rgba(255,255,255,.75) !important;
}

.select-menu-circle label span .checkbox {
  top: 11px !important;
  left: 11px !important;
}

@media (max-width: 768px) {
  .top-header {
    min-height: 300px;
    padding-top: 18px;
  }

  .top-header::after {
    bottom: 106px;
    font-size: clamp(30px, 8vw, 48px);
    line-height: 1.05;
  }

  .top-header::before {
    bottom: 58px;
    width: min(88%, 520px);
    border-radius: 18px;
  }

  .container {
    margin-top: -70px;
  }

  .select-menu-circle,
  .shirt-size-select {
    gap: 9px;
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .top-header {
    min-height: 285px;
  }

  .top-header::after {
    bottom: 112px;
    font-size: 30px;
  }

  .top-header::before {
    bottom: 54px;
    font-size: 13px;
    padding: 8px 12px;
  }

  .select-menu-circle label,
  .shirt-size-select label {
    width: 44px !important;
    height: 44px !important;
  }

  .select-menu-circle label span,
  .shirt-size-select label span {
    width: 38px !important;
    height: 38px !important;
    line-height: 34px !important;
  }
}

/* =========================================================
   DALI Design Final Fix: Header wird nicht abgeschnitten
   ========================================================= */
.top-header {
  position: relative !important;
  min-height: 390px !important;
  height: auto !important;
  overflow: visible !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: center !important;
  padding: 24px 20px 150px !important;
  box-sizing: border-box !important;
}

.top-header::after,
.top-header::before {
  position: absolute !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: min(92%, 960px) !important;
  text-align: center !important;
  white-space: normal !important;
  pointer-events: none !important;
  box-sizing: border-box !important;
  z-index: 2 !important;
}

.top-header::after {
  content: "Polo-Shirt Designer" !important;
  bottom: 120px !important;
  font-size: clamp(34px, 5vw, 64px) !important;
  line-height: 1.18 !important;
  padding: 4px 12px !important;
  color: #ffffff !important;
  text-shadow: 0 8px 28px rgba(0,0,0,.45) !important;
}

.top-header > img {
  position: relative !important;
  z-index: 3 !important;
  max-width: min(250px, 70vw) !important;
  height: auto !important;
}

.container {
  margin-top: -92px !important;
  position: relative !important;
  z-index: 4 !important;
}

@media (max-width: 768px) {
  .top-header {
    min-height: 360px !important;
    padding: 20px 16px 145px !important;
  }

  .top-header::after {
    bottom: 122px !important;
    font-size: clamp(32px, 8vw, 48px) !important;
    line-height: 1.2 !important;
  }

  .top-header::before {
    bottom: 60px !important;
    width: min(90%, 540px) !important;
    border-radius: 18px !important;
    font-size: 14px !important;
  }

  .container {
    margin-top: -78px !important;
  }
}

@media (max-width: 480px) {
  .top-header {
    min-height: 345px !important;
    padding-bottom: 140px !important;
  }

  .top-header::after {
    bottom: 124px !important;
    font-size: 31px !important;
    line-height: 1.22 !important;
  }

  .top-header::before {
    bottom: 58px !important;
    font-size: 13px !important;
    padding: 8px 12px !important;
  }

  .container {
    margin-top: -72px !important;
  }
}


/* =====================
   Polo final fixes
   ===================== */
.top-header {
  position: relative !important;
  overflow: visible !important;
  height: auto !important;
  min-height: 150px !important;
  padding-bottom: 72px !important;
}

.top-header::after {
  content: "Polo-Shirt Designer" !important;
  line-height: 1.15 !important;
  padding-bottom: 4px !important;
  overflow: visible !important;
}
#state {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #dcdcdc;
  background-color: #fff;
  color: #222;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 45px;
}
#state:focus {
  border-color: #111;
  box-shadow: 0 0 0 4px rgba(0,0,0,.08);
}
@media (max-width: 768px) {
  .top-header {
    min-height: 135px !important;
    padding-bottom: 64px !important;
  }
}


/* =========================================================
   DALI Polo Header finaler Abgleich zum T-Shirt Designer
   Diese Regeln müssen GANZ UNTEN stehen.
   ========================================================= */
.top-header {
  position: relative !important;
  min-height: 390px !important;
  height: auto !important;
  overflow: visible !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: center !important;
  padding: 24px 20px 150px !important;
  box-sizing: border-box !important;
}

.top-header::after,
.top-header::before {
  position: absolute !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: min(92%, 960px) !important;
  text-align: center !important;
  white-space: normal !important;
  pointer-events: none !important;
  box-sizing: border-box !important;
  z-index: 2 !important;
}

.top-header::after {
  content: "Polo-Shirt Designer" !important;
  bottom: 120px !important;
  font-size: clamp(34px, 5vw, 64px) !important;
  line-height: 1.18 !important;
  padding: 4px 12px !important;
  color: #ffffff !important;
  text-shadow: 0 8px 28px rgba(0,0,0,.45) !important;
}

.top-header > img {
  position: relative !important;
  z-index: 3 !important;
  max-width: min(250px, 70vw) !important;
  height: auto !important;
}

.container {
  margin-top: -92px !important;
  position: relative !important;
  z-index: 4 !important;
}

@media (max-width: 768px) {
  .top-header {
    min-height: 360px !important;
    padding: 20px 16px 145px !important;
  }

  .top-header::after {
    bottom: 122px !important;
    font-size: clamp(32px, 8vw, 48px) !important;
    line-height: 1.2 !important;
  }

  .top-header::before {
    bottom: 60px !important;
    width: min(90%, 540px) !important;
    border-radius: 18px !important;
    font-size: 14px !important;
  }

  .container {
    margin-top: -78px !important;
  }
}

@media (max-width: 480px) {
  .top-header {
    min-height: 345px !important;
    padding-bottom: 140px !important;
  }

  .top-header::after {
    bottom: 124px !important;
    font-size: 31px !important;
    line-height: 1.22 !important;
  }

  .top-header::before {
    bottom: 58px !important;
    font-size: 13px !important;
    padding: 8px 12px !important;
  }

  .container {
    margin-top: -72px !important;
  }
}

/* Fix: Zahlungsbutton nicht über Preis legen */
.container .footer {
  height: auto !important;
  min-height: 190px !important;
  padding: 24px 28px 34px !important;
  position: relative !important;
  overflow: visible !important;
}

.container .footer .col-btn {
  position: static !important;
  float: none !important;
  width: 100% !important;
  margin-top: 22px !important;
  clear: both !important;
  text-align: center !important;
}

.container .footer .btn-bestel {
  display: inline-block !important;
  width: min(100%, 620px) !important;
  margin: 18px auto 0 !important;
}

.container .footer .col-menge,
.container .footer .col-price {
  position: static !important;
  float: none !important;
  display: block !important;
  width: 100% !important;
  padding: 8px 0 !important;
  text-align: left !important;
}
