:root{
  --cream:#fbf7ef;
  --white:#fff;
  --ink:#151515;
  --muted:#737373;
  --line:#d4d5d7;
  --gold:#b87a22;
  --gold-dark:#a56815;
  --gold-light:#c99a50;
  --gold-soft:#f6efe5;
  --paypal:#f5b932;
  --success:#268553;
  --shadow:0 14px 34px rgba(98,70,33,.075);
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;
  min-height:100vh;
  color:var(--ink);
  font-family:Inter,Arial,sans-serif;
  background:
    radial-gradient(ellipse 64% 34% at -7% 11%,rgba(198,174,141,.16) 0 48%,transparent 49%),
    radial-gradient(ellipse 64% 34% at 107% 11%,rgba(198,174,141,.16) 0 48%,transparent 49%),
    linear-gradient(180deg,#fffdf9 0%,var(--cream) 54%,#faf5ec 100%);
  overflow-x:hidden;
}
body:before,body:after{
  content:"";
  position:fixed;
  z-index:-1;
  width:540px;height:760px;
  top:60px;
  border:1px solid rgba(177,147,106,.11);
  border-radius:50%;
  pointer-events:none;
}
body:before{left:-405px;transform:rotate(-14deg)}
body:after{right:-410px;transform:rotate(14deg)}

.checkout-shell{
  width:min(900px,calc(100% - 30px));
  margin:0 auto;
  padding:20px 0 24px;
}
.brand-header{
  display:grid;
  grid-template-columns:1fr minmax(290px,390px) 1fr;
  align-items:center;
  gap:14px;
  min-height:170px;
  padding:0 6px;
}
.brand-logo{
  width:100%;
  max-width:365px;
  height:auto;
  display:block;
  margin:0 auto;
}
.brand-note{
  font-family:Caveat,cursive;
  color:var(--gold);
  font-size:30px;
  font-weight:600;
  line-height:.95;
}
.brand-note-left{text-align:center;transform:rotate(-4deg)}
.brand-note-right{text-align:center;transform:rotate(2deg)}

.checkout-steps{
  display:grid;
  grid-template-columns:auto 1fr auto 1fr auto 1fr auto;
  align-items:start;
  max-width:675px;
  margin:0 auto 20px;
}
.step{text-align:center;min-width:78px}
.step-number{
  width:42px;height:42px;
  margin:0 auto 7px;
  display:grid;place-items:center;
  border-radius:50%;
  background:#e7e7e7;
  color:#333;
  font-size:17px;
  font-weight:600;
}
.step.active .step-number{
  color:#fff;
  background:linear-gradient(135deg,var(--gold-light),var(--gold-dark));
  box-shadow:0 7px 16px rgba(183,122,34,.20);
}
.step-label{font-size:13px}
.step.active .step-label{color:#965c11;font-weight:800}
.step-line{height:1px;background:#d3d0cb;margin-top:21px}

.errors{
  margin:0 0 13px;
  background:#fff5f3;
  color:#8c3128;
  border:1px solid #efc9c3;
  border-radius:14px;
  padding:13px 17px;
  box-shadow:var(--shadow);
  font-size:13px;
  line-height:1.5;
}

.checkout-section{
  margin:0 0 13px;
  padding:20px 22px;
  border-radius:17px;
  background:rgba(255,255,255,.96);
  border:1px solid rgba(0,0,0,.05);
  box-shadow:var(--shadow);
}
.section-heading{
  display:flex;
  gap:16px;
  align-items:flex-start;
  margin-bottom:16px;
}
.section-number{
  flex:0 0 46px;
  width:46px;height:46px;
  border-radius:50%;
  display:grid;place-items:center;
  color:#fff;
  background:linear-gradient(135deg,var(--gold-light),var(--gold-dark));
  font-family:Georgia,serif;
  font-size:23px;
}
.section-heading h1{
  margin:3px 0 3px;
  font-family:"Playfair Display",Georgia,serif;
  font-size:22px;
  line-height:1.12;
}
.section-heading p{
  margin:0;
  color:#333;
  font-size:12.5px;
  line-height:1.45;
}

.form-grid{display:grid;gap:13px}
.form-grid.three{grid-template-columns:1fr 1fr 1fr}
.form-grid.two{grid-template-columns:1fr 1fr}
.address-grid{grid-template-columns:1.35fr .95fr}
.full{grid-column:1/-1}

.field{
  display:block;
  position:relative;
  min-width:0;
}
.boxed-field>span{
  position:absolute;
  left:14px;
  top:9px;
  z-index:1;
  font-size:12.5px;
  font-weight:800;
  color:#141414;
  pointer-events:none;
}
.boxed-field em{font-style:normal;font-weight:500;color:#555}
.field input{
  width:100%;
  min-height:62px;
  border:1px solid #cfd1d4;
  border-radius:8px;
  background:#fff;
  color:#171717;
  outline:none;
  padding:23px 14px 8px;
  font-family:Inter,Arial,sans-serif;
  font-size:16px;
  transition:border-color .17s ease,box-shadow .17s ease;
  -webkit-appearance:none;
  appearance:none;
}
.field input::placeholder{color:#9a9ca0;opacity:1}
.field input:focus{
  border-color:#b88846;
  box-shadow:0 0 0 3px rgba(184,122,34,.11);
}
.amount-wrap{position:relative}
.amount-wrap input{padding-right:44px;font-weight:700}
.amount-wrap b{
  position:absolute;
  right:16px;
  bottom:12px;
  font-size:18px;
  color:#111;
  pointer-events:none;
}
.country-row{
  min-height:48px;
  border:1px solid #d6d7d8;
  background:#f7f7f7;
  border-radius:8px;
  padding:0 15px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-size:13px;
}
.country-row span:last-child{font-size:20px;color:#555}

.dhl-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:126px;
  height:32px;
  margin-left:9px;
  padding:0 11px;
  background:#ffcc00;
  color:#d40511;
  font-size:22px;
  font-weight:900;
  font-style:italic;
  letter-spacing:-1px;
  vertical-align:middle;
  transform:skew(-7deg);
}

.confirmation{
  margin-top:13px;
  display:flex;
  align-items:flex-start;
  gap:13px;
  cursor:pointer;
}
.confirmation input{
  appearance:none;
  -webkit-appearance:none;
  width:31px;height:31px;
  flex:0 0 31px;
  margin:0;
  border:2px solid #b78741;
  border-radius:6px;
  background:#fff;
  display:grid;
  place-items:center;
}
.confirmation input:checked:after{
  content:"✓";
  color:#a66b18;
  font-size:20px;
  font-weight:900;
}
.confirmation span{
  padding-top:2px;
  font-size:12px;
  line-height:1.35;
}
.confirmation strong{display:block;font-size:12.5px}
.confirmation small{display:block;color:#777;margin-top:2px}

.summary-panel{
  padding:12px 18px;
  display:grid;
  grid-template-columns:86px 1fr;
  gap:15px;
  align-items:center;
  border-radius:12px;
  background:linear-gradient(90deg,#fbf8f3,#fff);
}
.shopping-bag{color:var(--gold);display:flex;justify-content:center}
.shopping-bag svg{width:58px;height:58px}
.summary-rows{min-width:0}
.summary-row,.summary-total{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}
.summary-row{padding:4px 0;font-size:14px}
.summary-row strong{font-weight:500}
.summary-total{
  margin-top:5px;
  padding-top:8px;
  border-top:1px solid #cfcfcf;
  font-size:18px;
  font-weight:800;
}
.summary-total strong{font-size:20px}

.shipping-note{
  margin-top:8px;
  padding:10px 15px;
  border-radius:12px;
  background:#f6f1e9;
  display:flex;
  align-items:center;
  gap:12px;
  color:#333;
  font-size:11.5px;
}
.shipping-note>div{display:flex;flex-direction:column;gap:2px}
.info-circle{
  flex:0 0 34px;
  width:34px;height:34px;
  border-radius:50%;
  display:grid;place-items:center;
  color:#fff;
  background:linear-gradient(135deg,#c79242,#a96d18);
  font-family:Georgia,serif;
  font-size:22px;
  font-weight:700;
}
.shipping-note.free{background:#eef8f2;color:#245e3b}
.shipping-note.free .info-circle{background:var(--success)}

.paypal-button{
  width:100%;
  min-height:58px;
  margin-top:10px;
  border:0;
  border-radius:9px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:13px;
  cursor:pointer;
  background:linear-gradient(180deg,#ffc84e,#f4b32e);
  color:#111;
  font-family:Inter,Arial,sans-serif;
  font-size:22px;
  font-weight:800;
  box-shadow:0 10px 18px rgba(219,160,45,.18);
  transition:filter .15s ease,transform .15s ease;
}
.paypal-button:hover{filter:brightness(.98);transform:translateY(-1px)}
.paypal-button:active{transform:translateY(0)}
.paypal-mark{
  width:28px;height:31px;
  display:grid;place-items:center;
  color:#fff;
  background:linear-gradient(135deg,#003087 0 48%,#009cde 49% 100%);
  border-radius:8px 4px 8px 4px;
  font-size:21px;
  font-weight:900;
  font-style:italic;
}
.paypal-arrow{font-size:31px;font-weight:400;line-height:1}

.secure-paypal{
  margin-top:8px;
  text-align:center;
  color:#555;
  font-size:11.5px;
}
.secure-paypal:first-letter{color:var(--gold)}

.trust-row{
  margin-top:15px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
}
.trust-item{
  min-height:62px;
  padding:3px 16px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  color:#242424;
  font-size:11.5px;
  line-height:1.28;
}
.trust-item+.trust-item{border-left:1px solid #d9d9d9}
.trust-item svg{
  width:39px;height:39px;
  flex:0 0 39px;
  color:var(--gold);
}

.thank-you{
  margin-top:13px;
  text-align:center;
  color:#b7771c;
  font-family:Caveat,cursive;
  font-size:25px;
  line-height:1;
}
.italy-line{
  display:block;
  width:85px;height:5px;
  margin:9px auto 0;
  border-radius:3px;
  background:linear-gradient(90deg,#008c45 0 33.333%,#f4f5f0 33.333% 66.666%,#cd212a 66.666%);
}
.checkout-footer{
  padding:10px 8px 2px;
  text-align:center;
  color:#77716a;
  font-size:10.5px;
  letter-spacing:.22em;
  text-transform:uppercase;
}

/* Erfolgs-/Abbruchseiten */
.message-shell{
  width:min(720px,calc(100% - 24px));
  margin:40px auto;
  padding:0;
}
.message-card{
  padding:32px 28px;
  background:#fff;
  border:1px solid rgba(0,0,0,.05);
  border-radius:18px;
  box-shadow:var(--shadow);
  text-align:center;
}
.message-logo{
  display:block;
  width:min(350px,80%);
  height:auto;
  margin:0 auto 20px;
}
.message-card h1{
  margin:8px 0 12px;
  font-family:"Playfair Display",Georgia,serif;
  font-size:30px;
}
.message-card p{color:#555;line-height:1.55}
.eyebrow{color:var(--gold);font-weight:800;letter-spacing:.16em;font-size:11px}
.success-icon,.warning-icon{
  width:64px;height:64px;
  margin:0 auto 14px;
  border-radius:50%;
  display:grid;place-items:center;
  color:#fff;
  background:linear-gradient(135deg,#c79345,#a96d18);
  font-size:32px;
  font-weight:800;
}
.warning-icon{background:#c69244}
.success-data{
  max-width:550px;
  margin:22px auto;
  padding:9px 16px;
  border-radius:13px;
  background:#faf6ef;
}
.success-data>div{
  display:flex;
  justify-content:space-between;
  gap:15px;
  padding:8px 0;
  border-bottom:1px solid #e4ddd3;
  text-align:left;
  font-size:13px;
}
.success-data>div:last-child{border-bottom:0}
.success-data span{color:#707070}
.success-data strong{text-align:right;overflow-wrap:anywhere}
.fineprint{font-size:11.5px;color:#777}
.paypal-link{
  display:inline-flex;
  width:auto;
  min-width:220px;
  padding:0 24px;
  text-decoration:none;
}

/* =========================================================
   MOBILE OPTIMIERUNG
   ========================================================= */
@media (max-width: 720px) {
  html, body {
    width: 100%;
    overflow-x: hidden;
  }

  body {
    background:
      radial-gradient(ellipse 80% 28% at -20% 6%, rgba(198,174,141,.13) 0 50%, transparent 51%),
      radial-gradient(ellipse 80% 28% at 120% 6%, rgba(198,174,141,.13) 0 50%, transparent 51%),
      linear-gradient(180deg,#fffdf9 0%,var(--cream) 60%,#faf5ec 100%);
  }

  .checkout-shell {
    width: 100%;
    max-width: 100%;
    padding: max(8px, env(safe-area-inset-top)) 8px calc(18px + env(safe-area-inset-bottom));
    margin: 0;
  }

  .brand-header {
    display: block;
    min-height: 0;
    padding: 6px 4px 8px;
  }

  .brand-note {
    display: none !important;
  }

  .brand-logo {
    width: min(82vw, 310px);
    max-width: 310px;
    margin: 0 auto;
  }

  .checkout-steps {
    width: 100%;
    max-width: 100%;
    margin: 2px 0 14px;
    grid-template-columns: auto 1fr auto 1fr auto 1fr auto;
  }

  .step {
    min-width: 48px;
  }

  .step-number {
    width: 34px;
    height: 34px;
    font-size: 14px;
    margin-bottom: 5px;
  }

  .step-line {
    margin-top: 17px;
    min-width: 8px;
  }

  .step-label {
    font-size: 10px;
    white-space: nowrap;
  }

  .checkout-section {
    margin-bottom: 10px;
    padding: 16px 13px;
    border-radius: 14px;
    box-shadow: 0 10px 26px rgba(98,70,33,.065);
  }

  .section-heading {
    gap: 11px;
    margin-bottom: 13px;
  }

  .section-number {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    font-size: 19px;
  }

  .section-heading h1 {
    font-size: 19px;
    line-height: 1.15;
    margin-top: 1px;
  }

  .section-heading p {
    font-size: 12px;
    line-height: 1.4;
  }

  .form-grid.three,
  .form-grid.two,
  .address-grid {
    grid-template-columns: 1fr !important;
    gap: 10px;
  }

  .field,
  .street-field,
  .house-field,
  .full {
    grid-column: 1 / -1 !important;
    width: 100%;
    min-width: 0;
  }

  .field input {
    min-height: 58px;
    width: 100%;
    font-size: 16px; /* verhindert Auto-Zoom auf iPhone */
    padding: 22px 12px 7px;
    border-radius: 8px;
  }

  .boxed-field > span {
    left: 12px;
    top: 8px;
    font-size: 12px;
  }

  .amount-wrap b {
    right: 14px;
    bottom: 11px;
  }

  .country-row {
    min-height: 48px;
    padding: 0 12px;
  }

  .dhl-badge {
    min-width: 84px;
    height: 26px;
    margin-left: 5px;
    padding: 0 8px;
    font-size: 17px;
  }

  .confirmation {
    gap: 10px;
    margin-top: 11px;
  }

  .confirmation input {
    width: 29px;
    height: 29px;
    flex-basis: 29px;
  }

  .confirmation span,
  .confirmation strong {
    font-size: 12px;
  }

  .summary-panel {
    grid-template-columns: 44px 1fr;
    gap: 10px;
    padding: 10px 10px;
  }

  .shopping-bag svg {
    width: 38px;
    height: 38px;
  }

  .summary-row {
    font-size: 12.5px;
  }

  .summary-total {
    font-size: 14px;
  }

  .summary-total strong {
    font-size: 16px;
  }

  .shipping-note {
    padding: 10px 11px;
    gap: 9px;
    font-size: 11px;
    line-height: 1.35;
  }

  .info-circle {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
    font-size: 19px;
  }

  .paypal-button {
    min-height: 58px;
    width: 100%;
    margin-top: 10px;
    border-radius: 10px;
    font-size: 18px;
    gap: 9px;
    position: relative;
    touch-action: manipulation;
  }

  .paypal-mark {
    width: 26px;
    height: 29px;
    font-size: 19px;
  }

  .paypal-arrow {
    font-size: 26px;
  }

  .secure-paypal {
    font-size: 10.5px;
    padding: 0 6px;
  }

  .trust-row {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 12px;
  }

  .trust-item {
    min-height: 52px;
    justify-content: flex-start;
    padding: 8px 6px;
    gap: 10px;
    text-align: left;
  }

  .trust-item + .trust-item {
    border-left: 0;
    border-top: 1px solid #e3e0db;
  }

  .trust-item svg {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  .thank-you {
    font-size: 23px;
    margin-top: 11px;
  }

  .checkout-footer {
    padding: 9px 4px 3px;
    font-size: 8px;
    letter-spacing: .11em;
    line-height: 1.5;
  }

  .errors {
    margin-bottom: 10px;
    padding: 12px 13px;
    border-radius: 12px;
    font-size: 12px;
  }

  .message-shell {
    width: 100%;
    margin: 0;
    padding: max(12px, env(safe-area-inset-top)) 8px calc(16px + env(safe-area-inset-bottom));
  }

  .message-card {
    width: 100%;
    padding: 24px 15px;
    border-radius: 14px;
  }

  .message-logo {
    width: min(80vw, 300px);
  }

  .message-card h1 {
    font-size: 24px;
  }

  .success-data > div {
    flex-direction: column;
    gap: 3px;
    text-align: center;
  }

  .success-data strong {
    text-align: center;
  }

  .paypal-link {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 390px) {
  .checkout-shell {
    padding-left: 5px;
    padding-right: 5px;
  }

  .brand-logo {
    width: min(86vw, 285px);
  }

  .step {
    min-width: 44px;
  }

  .step-label {
    font-size: 9px;
  }

  .checkout-section {
    padding: 14px 11px;
  }

  .section-heading h1 {
    font-size: 18px;
  }

  .paypal-button {
    font-size: 17px;
  }
}

