/* Page-specific layout uses the existing Digital Perfect brand tokens. */
.wd-nav a, .wd-nav .wd-coming { display: inline-flex; align-items: center; min-height: 2.75rem; }
.wd-nav a:hover, .wd-nav [aria-current="page"] { color: hsl(var(--accent)); }
.wd-coming { display: inline-flex; align-items: center; gap: .5rem; color: #a1a5ad; }
.wd-coming small { padding: .2rem .4rem; border: 1px solid hsl(var(--border)); border-radius: .3rem; font-size: .6rem; white-space: nowrap; }
.mobile-menu-panel .wd-coming { padding: .5rem 1rem; min-height: 2.75rem; }
.webdesign-heading { max-width: 73rem; font-size: clamp(2.5rem, 6.3vw, 6rem); line-height: 1.04; overflow-wrap: break-word; text-wrap: balance; }
.wd-hero {
  --wd-hero-image: url("../images/digital-perfect-arbeitsplatz-1730.webp");
  min-height: 100vh;
  min-height: 100svh;
  isolation: isolate;
  padding-block: clamp(8rem, 10vw, 10rem) clamp(4rem, 6vw, 6rem);
}
.wd-hero-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, hsl(var(--background) / .96) 0%, hsl(var(--background) / .88) 52%, hsl(var(--background) / .56) 100%),
    linear-gradient(0deg, hsl(var(--background)) 0%, hsl(var(--background) / .15) 40%, hsl(var(--background) / .35) 100%),
    var(--wd-hero-image);
  background-size: cover;
  background-position: center, center, right center;
  background-repeat: no-repeat;
}
.wd-hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: clamp(4rem, 12vw, 10rem);
  background: linear-gradient(transparent, hsl(var(--background)));
  pointer-events: none;
}
.wd-hero-content { min-width: 0; }
.wd-hero .webdesign-intro { max-width: 43rem; color: #bac1cc; line-height: 1.75; }
.wd-hero .service-links { margin-top: 2rem; }
.wd-hero .seo-cta { min-height: 3.5rem; max-width: 100%; white-space: normal; text-align: center; color: #081115; }
.wd-hero-location { max-width: 43rem; color: #aeb2ba; line-height: 1.7; }
.webdesign-intro p + p { margin-top: 1.25rem; }
.wd-section { padding-block: clamp(4rem, 8vw, 7rem); }
.wd-band { border-block: 1px solid hsl(var(--border)); background: hsl(var(--secondary) / .25); }
.wd-section-head { margin-bottom: 2.75rem; max-width: 50rem; }
.wd-eyebrow { color: hsl(var(--accent)); text-transform: uppercase; letter-spacing: .17em; font-size: .7rem; font-weight: 500; margin-bottom: 1rem; }
.wd-section h2 { font-size: clamp(2rem, 3.7vw, 3.6rem); line-height: 1.13; font-weight: 600; text-wrap: balance; }
.wd-section h3 { font-size: 1.4rem; font-weight: 600; line-height: 1.3; }
.wd-card h3, .wd-project h3 { overflow-wrap: anywhere; hyphens: auto; }
.wd-section-head > p:last-child:not(.wd-eyebrow) { margin-top: 1.5rem; color: #aeb2ba; line-height: 1.8; }
.wd-grid { display: grid; gap: 1.25rem; }
.wd-grid-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wd-card { display: flex; flex-direction: column; padding: clamp(1.5rem, 2.6vw, 2.5rem); border: 1px solid hsl(var(--border)); border-radius: 1.5rem; background: hsl(var(--card)); min-width: 0; }
.wd-card > p:not(.wd-eyebrow):not(.wd-price), .wd-project-copy > p:not(.wd-eyebrow) { color: #aeb2ba; line-height: 1.75; margin-top: 1rem; }
.wd-number { display: block; color: hsl(var(--accent)); font-family: 'Space Grotesk', sans-serif; margin-bottom: 2.5rem; font-size: 1rem; }
.wd-text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 2.75rem; font-size: .875rem; font-weight: 500; color: hsl(var(--accent)); }
.wd-card > .wd-text-link { margin-top: auto; padding-top: 1.75rem; }
.wd-text-link:hover { color: hsl(var(--foreground)); }
.wd-list { list-style: none; padding: 0; margin-top: 1.5rem; color: #c3c6cc; font-size: .9rem; line-height: 1.65; }
.wd-list li { position: relative; padding-left: 1.35rem; }
.wd-list li + li { margin-top: .75rem; }
.wd-list li::before { content: '✓'; position: absolute; left: 0; color: hsl(var(--accent)); }
.wd-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 7vw, 7rem); align-items: start; }
.wd-split .wd-section-head { margin-bottom: 0; }
.wd-benefits > div { padding: 1.5rem 0; border-bottom: 1px solid hsl(var(--border)); }
.wd-benefits > div:first-child { padding-top: 0; }
.wd-benefits dt { font-family: 'Space Grotesk', sans-serif; font-size: 1.25rem; font-weight: 500; }
.wd-benefits dd { color: #aeb2ba; line-height: 1.75; margin-top: .5rem; }
.wd-projects { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.wd-project { border: 1px solid hsl(var(--border)); border-radius: 1.5rem; overflow: clip; background: hsl(var(--card)); min-width: 0; }
.wd-project-image { display: block; overflow: hidden; background: hsl(var(--secondary)); }
.wd-project-image img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; transition: transform .4s; }
.wd-project-image:hover img { transform: scale(1.025); }
.wd-project-copy { padding: 2rem; }
.wd-project-copy .wd-text-link { margin-top: 1.25rem; }
.wd-project-featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.5fr 1fr; align-items: center; }
.wd-project-featured .wd-project-image { align-self: stretch; }
.wd-project-featured img { height: 100%; min-height: 20rem; }
.wd-card-accent { border-color: hsl(var(--primary) / .7); background: linear-gradient(150deg, hsl(var(--primary) / .1), transparent 55%), hsl(var(--card)); }
.wd-price { font-family: 'Space Grotesk', sans-serif; font-size: clamp(2.3rem, 3vw, 3rem); font-weight: 600; margin-block: 1.5rem .25rem; letter-spacing: -.04em; }
.wd-price span { font-family: 'Inter', sans-serif; font-size: .875rem; color: #aeb2ba; font-weight: 400; letter-spacing: normal; }
.wd-price-custom { font-size: 2rem; line-height: 1.2; min-height: 3.7rem; }
.wd-price-small { font-size: 2rem; }
.wd-fine { font-size: .8rem; color: #aeb2ba; line-height: 1.7; }
.wd-prices .wd-button { margin-top: auto; }
.wd-prices .wd-fine { padding-block: 1.5rem; }
.wd-button { display: inline-flex; align-items: center; justify-content: center; gap: .75rem; min-height: 3.5rem; padding: .9rem 1.4rem; background: hsl(var(--primary)); color: #081115; border: 1px solid hsl(var(--primary)); border-radius: 999px; font-weight: 600; line-height: 1.5; text-align: center; font-size: .875rem; transition: background .2s, box-shadow .2s; }
.wd-button:hover { background: hsl(var(--accent)); box-shadow: 0 0 28px hsl(var(--primary) / .2); }
.wd-button-outline { background: transparent; color: hsl(var(--foreground)); border-color: hsl(var(--primary) / .6); }
.wd-button-outline:hover { color: #081115; }
.wd-button:disabled { opacity: .55; cursor: wait; box-shadow: none; }
.wd-maintenance-heading { margin-block: 3.5rem 1.5rem; }
.wd-maintenance-heading p { color: #aeb2ba; margin-top: .75rem; }
.wd-maintenance .wd-card h3 { font-size: 1.15rem; }
.wd-price-notes { margin-top: 1.5rem; font-size: .8rem; color: #aeb2ba; line-height: 1.8; max-width: 68rem; }
.wd-price-notes p + p { margin-top: .75rem; }
.wd-hosting ol { list-style: none; counter-reset: hosting; margin-top: 1rem; }
.wd-hosting li { counter-increment: hosting; margin-top: 1.5rem; padding-left: 2.25rem; position: relative; }
.wd-hosting li::before { content: counter(hosting); position: absolute; left: 0; color: hsl(var(--accent)); }
.wd-hosting li p { color: #aeb2ba; margin-top: .5rem; line-height: 1.75; }
.wd-hosting > .wd-fine { border-top: 1px solid hsl(var(--border)); padding-top: 1.5rem; margin-top: 2rem !important; }
.wd-steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
.wd-steps > li { border-top: 1px solid hsl(var(--primary) / .5); padding-top: 1.5rem; }
.wd-steps > li > span { color: hsl(var(--accent)); font-family: 'Space Grotesk', sans-serif; font-size: 2rem; }
.wd-steps h3 { margin-top: 1.5rem; font-size: 1.2rem; }
.wd-steps p { margin-top: 1rem; color: #aeb2ba; line-height: 1.75; font-size: .9rem; }
.wd-contact { background: radial-gradient(ellipse at top left, hsl(var(--primary) / .08), transparent 65%); }
.wd-contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; align-items: start; gap: clamp(2rem, 5vw, 5rem); }
.wd-contact-copy > p:not(.wd-eyebrow) { color: #aeb2ba; margin-top: 1.25rem; line-height: 1.75; }
.wd-contact-copy .wd-contact-promise { color: hsl(var(--foreground)) !important; font-weight: 600; }
.wd-person { display: flex; align-items: center; gap: 1rem; margin-top: 2rem; }
.wd-person img { width: 4rem; height: 4rem; object-fit: cover; border-radius: 50%; }
.wd-person span { display: block; color: #aeb2ba; font-size: .8rem; margin-top: .4rem; }
.wd-contact-details { display: flex; flex-direction: column; align-items: flex-start; gap: .25rem; margin-top: 1.5rem; font-style: normal; }
.wd-contact-details a { display: inline-flex; align-items: center; min-height: 2.75rem; color: hsl(var(--accent)); }
.wd-contact-details > span { color: #aeb2ba; font-size: .8rem; margin-top: .5rem; }
.wd-form-panel { border: 1px solid hsl(var(--border)); border-radius: 1.5rem; padding: clamp(1.25rem, 3vw, 2.5rem); background: hsl(var(--card)); }
.wd-form-intro { font-size: .85rem; line-height: 1.7; color: #aeb2ba; margin-bottom: 1.25rem; }
.wd-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.wd-field { min-width: 0; display: flex; flex-direction: column; gap: .5rem; }
.wd-field-full { grid-column: 1 / -1; }
.wd-field label { font-size: .85rem; font-weight: 500; line-height: 1.6; }
.wd-field input, .wd-field select, .wd-field textarea { width: 100%; min-width: 0; min-height: 3.1rem; padding: .75rem; color: hsl(var(--foreground)); background: hsl(var(--background)); border: 1px solid #555a64; border-radius: .65rem; font: inherit; font-size: 1rem; }
.wd-field select { color-scheme: dark; padding-right: 1.75rem; }
.wd-field textarea { resize: vertical; }
.wd-field input::placeholder, .wd-field textarea::placeholder { color: #9da2ac; }
.wd-field :is(input, select, textarea):focus-visible, .wd-button:focus-visible { outline: 2px solid hsl(var(--accent)); outline-offset: 3px; }
.wd-field [aria-invalid="true"] { border-color: #ffa9a9; }
.wd-field-error { color: #ffa9a9; font-size: .8rem; line-height: 1.6; }
.wd-field-error:empty { display: none; }
.wd-form-status { margin-bottom: 1.25rem; font-size: .85rem; line-height: 1.7; color: #aeb2ba; scroll-margin-top: 7rem; }
.wd-form-status:empty { margin-bottom: 0; }
.wd-form-status[data-state="error"] { color: #ffd0d0; border-left: 2px solid #ffa9a9; padding-left: 1rem; }
.wd-form-status[data-state="success"] { color: #b4f0da; border-left: 2px solid #7cdbb5; padding-left: 1rem; }
.wd-privacy { margin-block: 1.25rem; }
.wd-privacy a, .wd-form-fallback a { text-decoration: underline; text-underline-offset: .2em; }
.wd-form-panel .wd-button { width: 100%; }
.wd-form-fallback { margin-top: 1.25rem; font-size: .8rem; line-height: 1.9; color: #aeb2ba; }
.wd-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.wd-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 1100px) {
  .wd-hero { --wd-hero-image: url("../images/digital-perfect-arbeitsplatz-1024.webp"); }
  .wd-grid-three { grid-template-columns: 1fr 1fr; }
  .wd-grid-three > :last-child { grid-column: 1 / -1; }
  .wd-steps { grid-template-columns: 1fr 1fr; }
  .wd-nav { gap: 1.25rem; }
}
@media (max-width: 959px) {
  .wd-hero { min-height: auto; padding-block: 8rem 5rem; }
  .wd-hero-backdrop { background-position: center, center, 65% center; }
  .wd-split, .wd-contact-layout { grid-template-columns: 1fr; }
  .wd-project-featured { grid-template-columns: 1fr; }
  .wd-project-featured img { height: auto; min-height: 0; }
}
@media (min-width: 768px) and (max-width: 1023px) { .wd-nav { display: none; } }
@media (max-width: 639px) {
  .wd-hero { --wd-hero-image: url("../images/digital-perfect-arbeitsplatz-640.webp"); padding-block: 7.5rem 4rem; }
  .wd-hero-backdrop {
    background-image:
      linear-gradient(90deg, hsl(var(--background) / .94), hsl(var(--background) / .86)),
      linear-gradient(0deg, hsl(var(--background)), transparent 55%, hsl(var(--background) / .25)),
      var(--wd-hero-image);
    background-position: center, center, 60% center;
  }
  .wd-hero .service-links { align-items: stretch; }
  .wd-hero .seo-cta { width: 100%; padding-inline: 1rem; }
  .wd-hero > .container, .wd-section > .container { padding-inline: 1.25rem; }
  .wd-grid-three, .wd-projects, .wd-steps, .wd-form-grid { grid-template-columns: 1fr; }
  .wd-project-copy { padding: 1.5rem; }
  .wd-section-head { margin-bottom: 2rem; }
  .wd-section h2 { overflow-wrap: break-word; }
  .wd-grid-three > :last-child { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) { .wd-project-image img { transition: none; } }
