/* Hero */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  background: var(--porsche-dark);
  color: var(--white);
}

.hero-media {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
}

.hero-media > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.25), transparent);
}

.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  width: 100%;
  max-width: 128rem;
  margin: 0 auto;
  padding: 8rem 2.4rem 4rem;
}

@media (max-width: 767px) {
  .hero-content {
    align-items: center;
    text-align: center;
  }

  .hero-subtitle {
    max-width: 100%;
  }

  .hero-disclaimer {
    text-align: center;
  }
}

.hero-content h1 {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--white);
}

@media (min-width: 480px) {
  .hero-content h1 {
    font-size: 3.6rem;
  }
}

@media (min-width: 768px) {
  .hero-content {
    align-items: flex-start;
    text-align: left;
    padding: 10rem 4rem 4rem;
  }

  .hero-disclaimer {
    text-align: left;
  }

  .hero-content h1 {
    font-size: 5rem;
  }
}

@media (min-width: 1024px) {
  .hero-content {
    padding: 10rem 5.6rem 4rem;
  }

  .hero-content h1 {
    font-size: 6.2rem;
  }
}

.hero-subtitle {
  margin-top: 2rem;
  max-width: 72rem;
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--white);
}

@media (min-width: 768px) {
  .hero-subtitle {
    margin-top: 2rem;
    font-size: 2.8rem;
  }
}

@media (min-width: 1024px) {
  .hero-subtitle {
    font-size: 3.2rem;
  }
}

.hero-subtitle strong {
  font-weight: 500;
  color: var(--white);
}

.hero-cta.button.white {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: auto;
  max-width: 100%;
  min-width: 0;
  margin-top: 2.4rem;
  padding: 0 1.6rem;
  border: 0.1rem solid var(--white);
  color: var(--white);
  background: transparent;
  font-size: 1.4rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  transition: background 0.2s, color 0.2s;
}

.hero-cta.button.white > span:first-child {
  line-height: 4.4rem;
  display: inline-block;
}

.hero-cta.button.white .hero-cta-arrow {
  font-size: 1.6rem;
  line-height: 1;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .hero-cta.button.white {
    min-width: 32rem;
    margin-top: 3rem;
    padding: 0 2.8rem;
    font-size: 2rem;
    gap: 4rem;
  }

  .hero-cta.button.white > span:first-child {
    line-height: 6rem;
  }

  .hero-cta.button.white .hero-cta-arrow {
    font-size: 2.2rem;
  }
}

.hero-cta.button.white:hover {
  background: var(--white);
  color: var(--black);
}

.hero-disclaimer {
  margin-top: 2.4rem;
  width: 100%;
  max-width: none;
  font-size: 1.3rem;
  line-height: 1.45;
  color: var(--white);
  text-align: left;
}

@media (min-width: 768px) {
  .hero-disclaimer {
    margin-top: 3.2rem;
    font-size: 1.45rem;
  }
}

@media (min-width: 1100px) {
  .hero-disclaimer {
    font-size: clamp(1.15rem, 1.05vw, 1.5rem);
    white-space: nowrap;
  }
}

.hero-disclaimer a {
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
}

.hero-disclaimer a:hover {
  text-decoration: underline;
}

/* Features */
.features-section {
  background: var(--porsche-dark);
  color: var(--white);
  padding: 6.4rem 0;
}

@media (min-width: 768px) {
  .features-section {
    padding: 8rem 0;
  }
}

.features-section h2 {
  text-align: center;
  font-size: 3.2rem;
  font-weight: 400;
}

@media (min-width: 768px) {
  .features-section h2 {
    font-size: 4rem;
  }
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem 0;
  margin-top: 4.8rem;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    margin-top: 6.4rem;
  }
}

.feature-price-layout {
  width: 100%;
}

.feature-item--price .amount {
  font-size: 5.6rem;
  font-weight: 700;
  color: var(--porsche-blue);
  line-height: 1;
}

.feature-item--price .unit {
  font-size: 2rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.25;
}

.feature-item--price .feature-sub {
  margin-top: 0;
}

@media (max-width: 767px) {
  .feature-item--price {
    grid-column: 1 / -1;
    align-items: stretch;
    text-align: left;
    padding: 0 0 2rem;
    margin-bottom: 0.8rem;
  }

  .feature-price-layout {
    display: flex;
    align-items: stretch;
    gap: 1.6rem;
    justify-content: center;
  }

  .feature-item--price .amount {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    padding-right: 1.6rem;
    border-right: 1px solid rgba(255, 255, 255, 0.25);
    font-size: 6.4rem;
  }

  .feature-price-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.6rem;
    align-items: flex-start;
    min-width: 0;
  }

  .feature-item--price .unit {
    font-size: 2.2rem;
  }

  .feature-item--price .feature-sub {
    font-size: 1.5rem;
    line-height: 1.3;
    text-align: left;
  }
}

@media (min-width: 768px) {
  .feature-price-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .feature-item--price .amount {
    font-size: 6.4rem;
  }

  .feature-item--price .unit {
    display: block;
    margin-top: 0.6rem;
    font-size: 2rem;
    font-weight: 700;
  }

  .feature-item--price .feature-sub {
    margin-top: 0.6rem;
  }

  .feature-price-details {
    display: contents;
  }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1.6rem;
}

@media (min-width: 768px) {
  .feature-item:not(:first-child) {
    border-left: 1px solid rgba(255, 255, 255, 0.15);
  }
}

.feature-item--price {
  margin-top: 15px;
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 6.4rem;
  height: 6.4rem;
  margin-bottom: 2.4rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.9);
}

.feature-icon svg,
.feature-icon img {
  width: 2.6rem;
  height: 2.6rem;
  display: block;
}

.feature-label {
  font-size: 1.8rem;
  font-weight: 700;
}

@media (min-width: 768px) {
  .feature-label {
    font-size: 2rem;
  }
}

.feature-sub {
  margin-top: 0.6rem;
  font-size: 1.6rem;
  color: rgba(255, 255, 255, 0.65);
}

@media (min-width: 768px) {
  .feature-sub {
    font-size: 1.8rem;
  }
}

/* Configurator */
.configurator-section {
  background: var(--white);
  padding: 6.4rem 0;
}

@media (min-width: 768px) {
  .configurator-section {
    padding: 9.6rem 0;
  }
}

.configurator-header {
  text-align: center;
}

.configurator-header h2 {
  font-size: 2.4rem;
  font-weight: 600;
}

@media (min-width: 768px) {
  .configurator-header h2 {
    font-size: 4rem;
  }
}

.configurator-header p {
  margin-top: 1.6rem;
  font-size: 1.8rem;
  color: var(--muted);
}

@media (min-width: 768px) {
  .configurator-header p {
    font-size: 2rem;
  }
}

.configurator-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.4rem 1.6rem;
  margin-top: 4.8rem;
  padding-left: 1.6rem;
  padding-right: 1.6rem;
}

.configurator-group[data-group="color"] {
  grid-column: 1 / -1;
}

.configurator-group[data-group="interior"] {
  border-left: 1px solid var(--border);
}

@media (min-width: 768px) {
  .configurator-options {
    grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 0;
    padding-left: 1.6rem;
    padding-right: 1.6rem;
  }

  .configurator-group[data-group="color"] {
    grid-column: auto;
  }

  .configurator-group[data-group="wheel"] {
    border-left: none;
  }

  .configurator-group[data-group="interior"] {
    border-left: 1px solid var(--border);
  }
}

.configurator-group h3 {
  margin-bottom: 1.2rem;
  font-size: 1.6rem;
  font-weight: 600;
}

@media (min-width: 768px) {
  .configurator-group h3 {
    font-size: 2rem;
  }
}

.swatch-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.configurator-group[data-group="color"] .swatch-list {
  flex-wrap: wrap;
  gap: 0.6rem;
}

@media (min-width: 768px) {
  .configurator-group[data-group="color"] .swatch-list {
    flex-wrap: nowrap;
    gap: 0.6rem;
  }
}

.swatch-btn {
  position: relative;
  flex-shrink: 0;
  width: 5.2rem;
  height: 5.2rem;
  border-radius: 0.7rem;
  border: 2px solid rgba(0, 0, 0, 0.12);
  background-color: #f5f5f5;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: border-color 0.2s, border-width 0.2s;
}

@media (min-width: 768px) {
  .swatch-btn {
    width: 8rem;
    height: 8rem;
    border-radius: 0.9rem;
  }
}

.swatch-btn:hover {
  border-color: rgba(0, 0, 0, 0.35);
}

.swatch-btn.is-active {
  border: 3px solid var(--black);
}

.swatch-btn.is-active::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-color: rgba(0, 0, 0, 0.26);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 12l5 5L20 7' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 2.2rem;
  pointer-events: none;
}

@media (min-width: 768px) {
  .swatch-btn.is-active::after {
    background-size: 2.8rem;
  }
}

.configurator-group[data-group="wheel"] .swatch-btn {
  background-color: var(--white);
  background-size: 88%;
}

.configurator-preview {
  position: relative;
  margin-top: 4.8rem;
  padding-left: 1.6rem;
  padding-right: 1.6rem;
  overflow: hidden;
  border-radius: 1.2rem;
  aspect-ratio: 16 / 9;
}

.configurator-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
  transition: opacity 0.35s ease;
}

.configurator-preview.is-loading img {
  opacity: 0.35;
}

.configurator-preview-loader {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(238, 239, 242, 0.72);
  border-radius: inherit;
  pointer-events: none;
}

.configurator-preview.is-loading .configurator-preview-loader {
  display: flex;
}

.configurator-preview-spinner {
  width: 4rem;
  height: 4rem;
  border: 3px solid rgba(0, 0, 0, 0.12);
  border-top-color: var(--porsche-dark);
  border-radius: 50%;
  animation: configuratorSpin 0.75s linear infinite;
}

@keyframes configuratorSpin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 767px) {
  .configurator-preview {
    padding-left: 0;
    padding-right: 0;
    margin-left: -2.4rem;
    margin-right: -2.4rem;
    width: calc(100% + 4.8rem);
    border-radius: 0;
  }

  .configurator-preview img {
    border-radius: 0;
  }
}

@media (min-width: 768px) {
  .configurator-preview,
  .configurator-preview img {
    border-radius: 1.6rem;
  }
}

.configurator-cta {
  text-align: center;
  margin-top: 4rem;
  padding-left: 1.6rem;
  padding-right: 1.6rem;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.2rem 2rem;
  border: 1px solid var(--porsche-dark);
  color: var(--porsche-dark);
  font-size: 1.3rem;
  font-weight: 600;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background 0.2s, color 0.2s;
}

@media (min-width: 768px) {
  .btn-outline {
    padding: 1.4rem 2.8rem;
    font-size: 1.8rem;
  }
}

.btn-outline:hover {
  background: var(--porsche-dark);
  color: var(--white);
}

/* Contact */
.contact-section {
  background: #f5f5f5;
  padding: 6.4rem 0;
}

@media (min-width: 768px) {
  .contact-section {
    padding: 9.6rem 0;
  }
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

@media (min-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 6.4rem;
  }
}

.contact-intro {
  display: flex;
  flex-direction: column;
  padding: 0 0 2rem;
}

@media (min-width: 992px) {
  .contact-intro {
    padding: 0 0 7rem;
  }
}

@media (max-width: 991px) {
  .contact-intro {
    flex-direction: column-reverse;
    padding: 0 0 2rem;
  }
}

.tc-form__taycan-img-wrapper {
  width: 100%;
  padding-top: 3.2rem;
  padding-bottom: 3.2rem;
}

@media (min-width: 992px) {
  .tc-form__taycan-img-wrapper {
    padding-top: 4.8rem;
    padding-bottom: 4.8rem;
  }
}

.tc-form__taycan-img {
  width: 100%;
  height: auto;
  display: block;
}

.tc-form__desc {
  position: relative;
  z-index: 1;
  margin-top: 0;
}

.offer-descrption p {
  font-size: 1.8rem;
  line-height: 1.35;
  color: var(--black);
  font-weight: 400;
}

.offer-descrption p b {
  font-weight: 700;
}

.offer-descrption .pb_20 {
  padding-bottom: 2rem;
}

.offer-descrption .p2.pb_20 {
  padding-bottom: 0;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.6rem;
}

@media (min-width: 576px) {
  .contact-form {
    grid-template-columns: 1fr 1fr;
  }

  .contact-form .full-width {
    grid-column: 1 / -1;
  }
}

.contact-form-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 2.4rem;
}

.contact-form-header h2 {
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1.35;
}

@media (min-width: 768px) {
  .contact-form-header h2 {
    font-size: 3rem;
  }
}

.contact-form-lead {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 1.6rem;
  line-height: 1.35;
  font-weight: 500;
  color: var(--black);
}

.contact-form-footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 0.8rem;
}

.form-consent-text {
  margin-top: 0;
  margin-bottom: 2rem;
  font-size: 1.8rem;
  line-height: 1.35;
  color: var(--black);
  font-weight: 400;
}

.form-consent-text a {
  color: var(--black);
  text-decoration: underline;
  font-weight: 400;
}

.form-consent-text a:hover {
  text-decoration: none;
}

.checkbox-wrapper {
  padding: 0;
  width: 100%;
  cursor: pointer;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  cursor: pointer;
  font-weight: 400;
}

.checkbox-label span {
  font-size: 1.6rem;
  line-height: 1.35;
  color: #666;
}

.checkbox-label input[type="checkbox"] {
  flex-shrink: 0;
  width: 1.8rem;
  height: 1.8rem;
  margin-top: 0;
  transform: translateY(0.25rem);
  accent-color: var(--porsche-dark);
}

.contact-form-footer .btn-submit {
  margin-top: 2.4rem;
  width: 100%;
}

.contact-form-footer .form-message {
  margin-top: 1.6rem;
  width: 100%;
}

.form-field input {
  width: 100%;
  padding: 1.2rem 1.6rem;
  font-size: 1.4rem;
  border: 1px solid var(--border);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s;
}

.form-field input:focus {
  border-color: var(--porsche-dark);
}

.form-field input.is-error,
.checkbox-label input.is-error {
  outline: 1px solid #dc2626;
  outline-offset: 1px;
}

.field-error {
  margin-top: 0.4rem;
  font-size: 1.2rem;
  color: #dc2626;
}

.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  width: 100%;
  padding: 1.6rem;
  margin-top: 0.8rem;
  background: var(--porsche-dark);
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: none;
  transition: background 0.2s;
}

.btn-submit:hover {
  background: var(--black);
}

.contact-form.is-sent {
  display: none !important;
}

.contact-form-wrap.is-success .form-message {
  display: none;
}

.form-success {
  padding: 3.2rem;
  background: var(--white);
  border: 1px solid var(--border);
  text-align: center;
}

.form-success[hidden] {
  display: none !important;
}

.form-success h3 {
  font-size: 1.8rem;
  font-weight: 600;
}

.form-success p {
  margin-top: 0.8rem;
  font-size: 1.4rem;
  color: var(--muted);
}

.form-message {
  margin-top: 1.6rem;
  font-size: 1.4rem;
}

.form-message.is-error {
  color: #dc2626;
}
