@bytebrand/fe-ui-core-autobahn 1.0.223 → 1.0.225

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/theme/md3.css CHANGED
@@ -7958,6 +7958,652 @@ line-height: 31px;
7958
7958
  box-shadow: var(--md-e1);
7959
7959
  }
7960
7960
 
7961
+ /* campaign band on top of a car card (campaign/CampaignBand.tsx, e.g. "Black Friday"). The campaign brings the
7962
+ colours (--campaign-bg / --campaign-fg); the size and the type (spaced capitals, like the eyebrow of the
7963
+ Black Friday hero) are the same for every campaign. */
7964
+ .md3 .campaign-band,
7965
+ .md3 .mcard--campaign {
7966
+ --campaign-h: 32px;
7967
+ }
7968
+ .md3 .campaign-band {
7969
+ flex: none;
7970
+ display: flex;
7971
+ align-items: center;
7972
+ justify-content: center;
7973
+ gap: 7px;
7974
+ box-sizing: border-box;
7975
+ height: var(--campaign-h);
7976
+ padding: 0 14px;
7977
+ background: var(--campaign-bg);
7978
+ color: var(--campaign-fg);
7979
+ font-family: Arial, Helvetica, Arimo, sans-serif;
7980
+ font-weight: 700;
7981
+ font-size: 13px;
7982
+ line-height: 16px;
7983
+ letter-spacing: 1.4px;
7984
+ text-transform: uppercase;
7985
+ }
7986
+ .md3 .campaign-band .lucide {
7987
+ flex: none;
7988
+ }
7989
+ .md3 .campaign-band-label {
7990
+ min-width: 0;
7991
+ margin-right: -1.4px; /* the letter-spacing after the last letter */
7992
+ overflow: hidden;
7993
+ text-overflow: ellipsis;
7994
+ white-space: nowrap;
7995
+ }
7996
+ /* the band reaches the edge of the card: .mcard clips its content inside the 1px border, so the border is
7997
+ transparent here and painted by the background instead (band colour beside the band, the card's line below).
7998
+ The white starts under the band, else it shines through its rounded corners. */
7999
+ .md3 .mcard--campaign {
8000
+ --card-line: var(--md-outline-variant);
8001
+ border-color: transparent;
8002
+ background: linear-gradient(var(--md-sc-lowest) 0 0) 0 var(--campaign-h) / 100% 100% no-repeat padding-box,
8003
+ var(--campaign-bg) top / 100% calc(var(--campaign-h) + 1px) no-repeat border-box,
8004
+ linear-gradient(var(--card-line) 0 0) border-box;
8005
+ }
8006
+ .md3 .mcard--campaign.mcard--interactive:hover {
8007
+ --card-line: var(--md-sc-lowest); /* .mcard--interactive:hover: no border */
8008
+ }
8009
+ .md3 .listcard > .campaign-band {
8010
+ grid-column: 1 / -1;
8011
+ }
8012
+ /* grid card: the band takes its height from the photo (4:3 + the carousel's 14px, what .cc-media is without
8013
+ a band), so the card is as tall as its neighbours and titles, tabs and prices stay in line */
8014
+ .md3 .cc-card.mcard--campaign .cc-media {
8015
+ aspect-ratio: auto;
8016
+ padding-bottom: calc(75% + 14px - var(--campaign-h));
8017
+ }
8018
+ .md3 .cc-card.mcard--campaign .cc-media .cardcar {
8019
+ position: absolute !important;
8020
+ inset: 0;
8021
+ }
8022
+ /* the campaign's bar right under the site header (campaign/CampaignBar.tsx): the label as on the band, the
8023
+ offer as a link; the whole bar is the link. */
8024
+ .md3 a.campaign-bar {
8025
+ display: flex;
8026
+ align-items: center;
8027
+ justify-content: center;
8028
+ gap: 8px;
8029
+ box-sizing: border-box;
8030
+ min-height: 36px;
8031
+ padding: 8px 16px;
8032
+ background: var(--campaign-bg);
8033
+ color: #fff;
8034
+ font-family: var(--md-font);
8035
+ font-weight: 600;
8036
+ font-size: 14px;
8037
+ line-height: 20px;
8038
+ text-decoration: none;
8039
+ }
8040
+ .md3 .campaign-bar .lucide {
8041
+ flex: none;
8042
+ color: var(--campaign-fg);
8043
+ }
8044
+ .md3 .campaign-bar-label {
8045
+ color: var(--campaign-fg);
8046
+ font-weight: 700;
8047
+ font-size: 13px;
8048
+ letter-spacing: 1.4px;
8049
+ text-transform: uppercase;
8050
+ white-space: nowrap;
8051
+ }
8052
+ .md3 .campaign-bar-offer {
8053
+ text-decoration: underline;
8054
+ text-decoration-color: rgba(255, 255, 255, 0.5);
8055
+ text-underline-offset: 4px;
8056
+ white-space: nowrap;
8057
+ transition: color var(--dur-2) var(--ease-standard), text-decoration-color var(--dur-2) var(--ease-standard);
8058
+ }
8059
+ .md3 a.campaign-bar:focus-visible {
8060
+ outline: 2px solid var(--campaign-fg);
8061
+ outline-offset: -4px;
8062
+ }
8063
+ /* a shine in the campaign's colour runs over the white offer, then rests; still for reduced motion */
8064
+ @keyframes campaign-shine {
8065
+ 0%,
8066
+ 20% {
8067
+ background-position: 100% 0;
8068
+ }
8069
+ 100% {
8070
+ background-position: 0 0;
8071
+ }
8072
+ }
8073
+ @media (prefers-reduced-motion: no-preference) {
8074
+ .md3 .campaign-bar-offer {
8075
+ background: linear-gradient(100deg, #fff 34%, var(--campaign-fg) 46%, var(--campaign-fg) 54%, #fff 66%) 100% 0 / 300% 100% no-repeat;
8076
+ -webkit-background-clip: text;
8077
+ background-clip: text;
8078
+ color: transparent;
8079
+ animation: campaign-shine 2.8s ease-in-out infinite;
8080
+ }
8081
+ }
8082
+ @media (hover: hover) {
8083
+ .md3 .campaign-bar:hover .campaign-bar-offer {
8084
+ background: none;
8085
+ color: var(--campaign-fg);
8086
+ text-decoration-color: currentColor;
8087
+ animation: none;
8088
+ }
8089
+ }
8090
+ @media (max-width: 600px) {
8091
+ .md3 a.campaign-bar {
8092
+ gap: 6px;
8093
+ min-height: 44px;
8094
+ padding: 8px 12px;
8095
+ }
8096
+ .md3 .campaign-bar-label {
8097
+ font-size: 12px;
8098
+ letter-spacing: 0.8px;
8099
+ }
8100
+ }
8101
+ /* the campaign's banner (campaign/CampaignBanner.tsx): text on the campaign's dark background, cars on a wedge in
8102
+ its colour. All of the picture is in .campaign-banner-cars; its clip-path cuts the cars at the sides and the
8103
+ bottom but not at the top, where the car in front may stand out of the frame. The dark background ends under
8104
+ the edge of the wedge, else it shows as a dark hairline around the wedge. */
8105
+ .md3 a.campaign-banner {
8106
+ position: relative;
8107
+ display: block;
8108
+ box-sizing: border-box;
8109
+ min-height: 300px;
8110
+ margin-top: 46px;
8111
+ border-radius: 20px;
8112
+ color: #fff;
8113
+ text-decoration: none;
8114
+ }
8115
+ .md3 a.campaign-banner::before {
8116
+ content: "";
8117
+ position: absolute;
8118
+ inset: 0;
8119
+ border-radius: 20px;
8120
+ background: var(--campaign-bg);
8121
+ clip-path: polygon(0 0, 58.6% 0, 48.6% 100%, 0 100%);
8122
+ }
8123
+ .md3 a.campaign-banner:focus-visible {
8124
+ outline: 3px solid var(--md-primary);
8125
+ outline-offset: 3px;
8126
+ }
8127
+ .md3 .campaign-banner-body {
8128
+ position: relative;
8129
+ box-sizing: border-box;
8130
+ display: flex;
8131
+ flex-direction: column;
8132
+ align-items: flex-start;
8133
+ justify-content: center;
8134
+ width: 38%;
8135
+ min-height: 300px;
8136
+ padding: 24px 0 24px 36px;
8137
+ }
8138
+ .md3 .campaign-banner-period {
8139
+ color: var(--campaign-fg);
8140
+ font-weight: 700;
8141
+ font-size: 12px;
8142
+ line-height: 14px;
8143
+ letter-spacing: 1.4px;
8144
+ text-transform: uppercase;
8145
+ }
8146
+ .md3 .campaign-banner-title {
8147
+ max-width: 6.4em;
8148
+ margin: 10px 0 12px;
8149
+ font-family: var(--md-font-display);
8150
+ font-weight: 700;
8151
+ font-size: clamp(34px, 4.6vw, 56px);
8152
+ line-height: 1;
8153
+ letter-spacing: -0.02em;
8154
+ }
8155
+ .md3 .campaign-banner-text {
8156
+ max-width: 350px;
8157
+ color: #c4c8d0;
8158
+ font-size: 15px;
8159
+ line-height: 21px;
8160
+ }
8161
+ .md3 .campaign-banner-foot {
8162
+ display: flex;
8163
+ flex-wrap: wrap;
8164
+ align-items: center;
8165
+ gap: 12px 18px;
8166
+ margin-top: 22px;
8167
+ }
8168
+ .md3 .campaign-banner-cta {
8169
+ display: inline-flex;
8170
+ align-items: center;
8171
+ justify-content: center;
8172
+ gap: 8px;
8173
+ height: 46px;
8174
+ padding: 0 22px;
8175
+ border-radius: var(--md-r-full);
8176
+ background: var(--campaign-fg);
8177
+ color: #111317;
8178
+ font-weight: 700;
8179
+ font-size: 15px;
8180
+ white-space: nowrap;
8181
+ }
8182
+ .md3 .campaign-banner-cta .lucide {
8183
+ flex: none;
8184
+ transition: transform var(--dur-2) var(--ease-standard);
8185
+ }
8186
+ .md3 .campaign-banner-ends {
8187
+ display: inline-flex;
8188
+ align-items: center;
8189
+ gap: 6px;
8190
+ color: #c4c8d0;
8191
+ font-weight: 600;
8192
+ font-size: 14px;
8193
+ font-variant-numeric: tabular-nums;
8194
+ white-space: nowrap;
8195
+ }
8196
+ .md3 .campaign-banner-ends .lucide {
8197
+ flex: none;
8198
+ color: var(--campaign-fg);
8199
+ }
8200
+ .md3 .campaign-banner-cars {
8201
+ position: absolute;
8202
+ inset: 0;
8203
+ clip-path: inset(-80px 0 0 0 round 20px);
8204
+ pointer-events: none;
8205
+ }
8206
+ /* the wedge and, beside it, two lines at the same angle */
8207
+ .md3 .campaign-banner-cars::before,
8208
+ .md3 .campaign-banner-cars::after {
8209
+ content: "";
8210
+ position: absolute;
8211
+ inset: 0;
8212
+ border-radius: 20px;
8213
+ background: radial-gradient(60% 110% at 72% 36%, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0) 70%),
8214
+ linear-gradient(90deg, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, 0.08)), var(--campaign-fg);
8215
+ clip-path: polygon(58% 0, 100% 0, 100% 100%, 48% 100%);
8216
+ }
8217
+ .md3 .campaign-banner-cars::after {
8218
+ background: var(--campaign-fg);
8219
+ clip-path: polygon(56.4% 0, 56.9% 0, 46.9% 100%, 46.4% 100%, 56.4% 0, 55.2% 0, 55.45% 0, 45.45% 100%, 45.2% 100%, 55.2% 0);
8220
+ }
8221
+ .md3 .campaign-banner-car {
8222
+ position: absolute;
8223
+ z-index: 1;
8224
+ display: block;
8225
+ height: auto;
8226
+ }
8227
+ .md3 .campaign-banner-car--1 {
8228
+ z-index: 2;
8229
+ right: 0.6%;
8230
+ bottom: 0;
8231
+ width: 50.5%;
8232
+ }
8233
+ .md3 .campaign-banner-car--2 {
8234
+ right: 25.5%;
8235
+ bottom: 15%;
8236
+ width: 35%;
8237
+ }
8238
+ .md3 .campaign-banner-note {
8239
+ position: absolute;
8240
+ right: 18px;
8241
+ bottom: 12px;
8242
+ z-index: 3;
8243
+ color: rgba(17, 19, 23, 0.74);
8244
+ font-size: 11px;
8245
+ line-height: 14px;
8246
+ }
8247
+ @media (hover: hover) {
8248
+ .md3 a.campaign-banner:hover .campaign-banner-cta .lucide {
8249
+ transform: translateX(4px);
8250
+ }
8251
+ }
8252
+ /* when it comes into view, the cars drive in, once */
8253
+ @media (prefers-reduced-motion: no-preference) {
8254
+ .md3 .campaign-banner-car {
8255
+ transition: transform 1s cubic-bezier(0.16, 0.84, 0.3, 1) 0.12s, opacity 0.4s linear 0.12s;
8256
+ }
8257
+ .md3 .campaign-banner-car--2 {
8258
+ transition-delay: 0.3s;
8259
+ }
8260
+ .md3 .campaign-banner:not(.campaign-banner--in) .campaign-banner-car {
8261
+ opacity: 0;
8262
+ transform: translateX(22%);
8263
+ }
8264
+ @media (hover: hover) {
8265
+ .md3 a.campaign-banner--in:hover .campaign-banner-car--1 {
8266
+ transform: translateX(-10px);
8267
+ transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
8268
+ }
8269
+ .md3 a.campaign-banner--in:hover .campaign-banner-car--2 {
8270
+ transform: translateX(-4px);
8271
+ transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
8272
+ }
8273
+ }
8274
+ }
8275
+ /* tablet: one car */
8276
+ @media (max-width: 900px) {
8277
+ .md3 a.campaign-banner,
8278
+ .md3 .campaign-banner-body {
8279
+ min-height: 280px;
8280
+ }
8281
+ .md3 a.campaign-banner {
8282
+ margin-top: 16px;
8283
+ }
8284
+ .md3 .campaign-banner-body {
8285
+ width: 44%;
8286
+ padding-left: 28px;
8287
+ }
8288
+ .md3 .campaign-banner-car--1 {
8289
+ right: -2%;
8290
+ width: 56%;
8291
+ }
8292
+ .md3 .campaign-banner-car--2 {
8293
+ display: none;
8294
+ }
8295
+ }
8296
+ /* phone: text above, cars below on a wedge over the whole width */
8297
+ @media (max-width: 600px) {
8298
+ .md3 a.campaign-banner {
8299
+ min-height: 0;
8300
+ margin-top: 14px;
8301
+ }
8302
+ .md3 a.campaign-banner::before {
8303
+ clip-path: inset(0 0 40px);
8304
+ }
8305
+ .md3 .campaign-banner-body {
8306
+ width: auto;
8307
+ min-height: 0;
8308
+ padding: 24px 20px calc(58% + 10px);
8309
+ }
8310
+ .md3 .campaign-banner-title {
8311
+ font-size: 42px;
8312
+ }
8313
+ .md3 .campaign-banner-foot {
8314
+ width: 100%;
8315
+ margin-top: 18px;
8316
+ }
8317
+ .md3 .campaign-banner-cta {
8318
+ height: 48px;
8319
+ }
8320
+ .md3 .campaign-banner-cars {
8321
+ inset: auto 0 0;
8322
+ height: 0;
8323
+ padding-bottom: 62%;
8324
+ clip-path: inset(-80px 0 0 0 round 0 0 20px 20px);
8325
+ }
8326
+ .md3 .campaign-banner-cars::before {
8327
+ border-radius: 0 0 20px 20px;
8328
+ clip-path: polygon(0 52%, 100% 18%, 100% 100%, 0 100%);
8329
+ }
8330
+ .md3 .campaign-banner-cars::after {
8331
+ border-radius: 0;
8332
+ clip-path: polygon(0 47%, 100% 13%, 100% 14.4%, 0 48.4%, 0 47%, 0 44%, 100% 10%, 100% 10.7%, 0 44.7%, 0 44%);
8333
+ }
8334
+ .md3 .campaign-banner-car--1 {
8335
+ right: -2%;
8336
+ bottom: 3%;
8337
+ width: 80%;
8338
+ }
8339
+ .md3 .campaign-banner-car--2 {
8340
+ display: block;
8341
+ right: 41%;
8342
+ bottom: 21%;
8343
+ width: 56%;
8344
+ }
8345
+ .md3 .campaign-banner-note {
8346
+ right: 14px;
8347
+ bottom: 8px;
8348
+ }
8349
+ }
8350
+ /* "only the campaign's cars" above the filters of /search (campaign/CampaignSwitch.tsx), the design's dark card:
8351
+ the same light veil over the campaign's background as the hero's tiles. 13px, not the rail's 14px: the label
8352
+ has to stay on one line in the 244px rail. */
8353
+ .md3 .campaign-switch {
8354
+ overflow: hidden;
8355
+ border-radius: var(--md-r-md);
8356
+ background: linear-gradient(rgba(255, 255, 255, 0.04) 0 0), var(--campaign-bg);
8357
+ color: #fff;
8358
+ }
8359
+ .md3 .campaign-switch .mswitch {
8360
+ display: flex;
8361
+ flex-direction: row-reverse;
8362
+ align-items: center;
8363
+ justify-content: space-between;
8364
+ gap: 8px;
8365
+ padding: 12px;
8366
+ }
8367
+ .md3 .campaign-switch .mswitch-label {
8368
+ flex: 1;
8369
+ min-width: 0;
8370
+ color: inherit;
8371
+ font-weight: 700;
8372
+ font-size: 13px;
8373
+ line-height: 18px;
8374
+ }
8375
+ .md3 .campaign-switch-count {
8376
+ display: block;
8377
+ margin-top: 2px;
8378
+ color: #c4c8d0;
8379
+ font-weight: 400;
8380
+ font-size: 12px;
8381
+ line-height: 16px;
8382
+ }
8383
+ .md3 .campaign-switch .mswitch-track {
8384
+ flex: none;
8385
+ width: 40px;
8386
+ height: 24px;
8387
+ background: rgba(255, 255, 255, 0.28);
8388
+ }
8389
+ .md3 .campaign-switch .mswitch-thumb {
8390
+ width: 18px;
8391
+ height: 18px;
8392
+ }
8393
+ .md3 .campaign-switch .mswitch input:checked + .mswitch-track {
8394
+ background: var(--campaign-fg);
8395
+ }
8396
+ .md3 .campaign-switch .mswitch input:checked + .mswitch-track .mswitch-thumb {
8397
+ background: linear-gradient(rgba(255, 255, 255, 0.04) 0 0), var(--campaign-bg);
8398
+ transform: translateX(16px);
8399
+ }
8400
+ .md3 .campaign-switch .mswitch input:focus-visible + .mswitch-track {
8401
+ outline: 2px solid #fff;
8402
+ outline-offset: 2px;
8403
+ }
8404
+ /* an invitation to turn it on: every few seconds the thumb peeks over and the track lights up with a ring. Quiet
8405
+ under the pointer, with the keyboard focus and once it is on; turning it on answers with one ring. */
8406
+ @keyframes campaign-switch-peek {
8407
+ 0%,
8408
+ 58%,
8409
+ 86%,
8410
+ 100% {
8411
+ transform: translateX(0);
8412
+ }
8413
+ 65% {
8414
+ transform: translateX(11px);
8415
+ }
8416
+ 73% {
8417
+ transform: translateX(0);
8418
+ }
8419
+ 79% {
8420
+ transform: translateX(6px);
8421
+ }
8422
+ }
8423
+ @keyframes campaign-switch-glow {
8424
+ 0%,
8425
+ 58%,
8426
+ 92%,
8427
+ 100% {
8428
+ background-color: rgba(255, 255, 255, 0.28);
8429
+ box-shadow: 0 0 0 0 transparent;
8430
+ }
8431
+ 65% {
8432
+ background-color: color-mix(in srgb, var(--campaign-fg) 82%, transparent);
8433
+ box-shadow: 0 0 0 0 color-mix(in srgb, var(--campaign-fg) 70%, transparent);
8434
+ }
8435
+ 80% {
8436
+ box-shadow: 0 0 0 9px transparent;
8437
+ }
8438
+ }
8439
+ @keyframes campaign-switch-on {
8440
+ from {
8441
+ box-shadow: 0 0 0 0 color-mix(in srgb, var(--campaign-fg) 80%, transparent);
8442
+ }
8443
+ to {
8444
+ box-shadow: 0 0 0 11px transparent;
8445
+ }
8446
+ }
8447
+ @media (prefers-reduced-motion: no-preference) {
8448
+ .md3 .campaign-switch .mswitch-thumb {
8449
+ transition: transform 0.28s cubic-bezier(0.3, 1.5, 0.5, 1), background 0.15s;
8450
+ }
8451
+ .md3 .campaign-switch .mswitch input:not(:checked) + .mswitch-track {
8452
+ animation: campaign-switch-glow 4s ease-in-out 1s infinite;
8453
+ }
8454
+ .md3 .campaign-switch .mswitch input:not(:checked) + .mswitch-track .mswitch-thumb {
8455
+ animation: campaign-switch-peek 4s ease-in-out 1s infinite;
8456
+ }
8457
+ .md3 .campaign-switch .mswitch input:checked + .mswitch-track {
8458
+ animation: campaign-switch-on 0.6s ease-out;
8459
+ }
8460
+ .md3 .campaign-switch .mswitch input:not(:checked):focus-visible + .mswitch-track,
8461
+ .md3 .campaign-switch .mswitch input:not(:checked):focus-visible + .mswitch-track .mswitch-thumb {
8462
+ animation: none;
8463
+ }
8464
+ }
8465
+ @media (hover: hover) {
8466
+ .md3 .campaign-switch:hover .mswitch input:not(:checked) + .mswitch-track {
8467
+ background: color-mix(in srgb, var(--campaign-fg) 60%, transparent);
8468
+ animation: none;
8469
+ }
8470
+ .md3 .campaign-switch:hover .mswitch input:not(:checked) + .mswitch-track .mswitch-thumb {
8471
+ transform: translateX(5px);
8472
+ animation: none;
8473
+ }
8474
+ }
8475
+ @media (max-width: 980px) {
8476
+ .md3 .campaign-switch .mswitch {
8477
+ padding: 12px 16px;
8478
+ }
8479
+ .md3 .campaign-switch .mswitch-label {
8480
+ font-size: 15px;
8481
+ line-height: 20px;
8482
+ }
8483
+ .md3 .campaign-switch-count {
8484
+ font-size: 13px;
8485
+ }
8486
+ }
8487
+ /* gallery of the vehicle page: the band lies above the photo, which keeps its size at every breakpoint (the
8488
+ height / aspect-ratio of .vdp-gallerybox are the photo's here). Everything that lies on the photo is inside
8489
+ .vdp-gallery-photo, so it moves down with it. */
8490
+ .md3 .vdp-gallery-photo {
8491
+ position: relative;
8492
+ height: 100%;
8493
+ }
8494
+ .md3 .vdp-gallerybox.mcard--campaign {
8495
+ box-sizing: content-box;
8496
+ padding-top: var(--campaign-h);
8497
+ }
8498
+ .md3 .vdp-gallerybox > .campaign-band {
8499
+ position: absolute;
8500
+ top: 0;
8501
+ right: 0;
8502
+ left: 0;
8503
+ }
8504
+ /* phone: the gallery reaches up to the campaign's bar under the header, so the band changes its colours, else both
8505
+ run together into one block */
8506
+ @media (max-width: 600px) {
8507
+ .md3 .vdp-gallerybox > .campaign-band {
8508
+ background: var(--campaign-fg);
8509
+ color: #111317;
8510
+ }
8511
+ }
8512
+ /* campaign hero above the results of /search (campaign/CampaignHero.tsx): period, headline and the countdown.
8513
+ Design "auto.de SRL Black Friday", A · Dark Edition. The tiles and the rule are a light veil over the
8514
+ campaign's background, so they suit any dark one (on Black Friday's #111317 they are the design's #22252c
8515
+ and #2c3038). */
8516
+ .md3 .campaign-hero {
8517
+ display: grid;
8518
+ grid-template-columns: minmax(0, 1fr) auto;
8519
+ align-items: center;
8520
+ gap: 24px;
8521
+ margin: 20px 0 10px;
8522
+ padding: 28px 32px;
8523
+ border-radius: 20px;
8524
+ background: var(--campaign-bg);
8525
+ color: #fff;
8526
+ overflow: hidden;
8527
+ }
8528
+ .md3 .campaign-hero-period {
8529
+ color: var(--campaign-fg);
8530
+ font-weight: 700;
8531
+ font-size: 12px;
8532
+ line-height: 12px;
8533
+ letter-spacing: 1.4px;
8534
+ text-transform: uppercase;
8535
+ }
8536
+ .md3 .campaign-hero-title {
8537
+ margin: 8px 0 6px;
8538
+ color: inherit;
8539
+ font-family: var(--md-font-display);
8540
+ font-weight: 700;
8541
+ font-size: 40px;
8542
+ line-height: 1.05;
8543
+ letter-spacing: -0.8px;
8544
+ }
8545
+ .md3 .campaign-hero-text {
8546
+ max-width: 520px;
8547
+ margin: 0;
8548
+ color: #c4c8d0;
8549
+ font-size: 15px;
8550
+ line-height: 20px;
8551
+ text-wrap: balance;
8552
+ }
8553
+ .md3 .campaign-hero-timer {
8554
+ display: flex;
8555
+ gap: 8px;
8556
+ }
8557
+ .md3 .campaign-hero-unit {
8558
+ width: 68px;
8559
+ padding: 10px 0 12px;
8560
+ border-radius: 12px;
8561
+ background: rgba(214, 226, 255, 0.087);
8562
+ text-align: center;
8563
+ }
8564
+ .md3 .campaign-hero-unit b {
8565
+ display: block;
8566
+ font-family: var(--md-font-display);
8567
+ font-weight: 700;
8568
+ font-size: 28px;
8569
+ line-height: 28px;
8570
+ font-variant-numeric: tabular-nums;
8571
+ }
8572
+ .md3 .campaign-hero-unit small {
8573
+ display: block;
8574
+ margin-top: 5px;
8575
+ color: #9aa0ac;
8576
+ font-size: 11px;
8577
+ line-height: 14px;
8578
+ letter-spacing: 0.6px;
8579
+ text-transform: uppercase;
8580
+ }
8581
+ .md3 .campaign-hero-legal {
8582
+ grid-column: 1 / -1;
8583
+ padding-top: 12px;
8584
+ border-top: 1px solid rgba(214, 226, 255, 0.14);
8585
+ color: #9aa0ac;
8586
+ font-size: 11px;
8587
+ line-height: 14px;
8588
+ }
8589
+ @media (max-width: 900px) {
8590
+ .md3 .campaign-hero {
8591
+ grid-template-columns: minmax(0, 1fr);
8592
+ }
8593
+ .md3 .campaign-hero-title {
8594
+ font-size: 32px;
8595
+ }
8596
+ }
8597
+ @media (max-width: 600px) {
8598
+ .md3 .campaign-hero {
8599
+ margin: 14px 0 8px;
8600
+ padding: 22px 20px;
8601
+ }
8602
+ .md3 .campaign-hero-unit {
8603
+ width: 58px;
8604
+ }
8605
+ }
8606
+
7961
8607
  /* horizontal listing card (SRP): image | info | price */
7962
8608
  .md3 .listcard {
7963
8609
  display: grid;
@@ -10124,7 +10770,8 @@ line-height: 31px;
10124
10770
  z-index: 71;
10125
10771
  background: var(--md-surface);
10126
10772
  border-radius: var(--md-r-xl) var(--md-r-xl) 0 0;
10127
- max-height: 92vh;
10773
+ /* % of the fixed containing block, not vh/dvh: on iOS vh is the toolbars-collapsed height, and Chrome on iOS does not shrink dvh while its toolbars are shown either, so a 92vh/92dvh bottom sheet grew under the address bar and hid its own header (title, download, close). The fixed box itself always matches the visible area. */
10774
+ max-height: 92%;
10128
10775
  display: flex;
10129
10776
  flex-direction: column;
10130
10777
  box-shadow: 0 -8px 30px rgba(16, 22, 42, 0.22);
@@ -14112,7 +14759,8 @@ color: #005CFF;
14112
14759
  flex-direction: column;
14113
14760
  width: 100%;
14114
14761
  max-width: 560px;
14115
- max-height: calc(100vh - 32px);
14762
+ /* % of the scrim (fixed, inset 0, 16px padding) instead of calc(100vh - 32px): see the iOS note on the mobile .mmodal below */
14763
+ max-height: 100%;
14116
14764
  background: var(--md-sc-lowest, #fff);
14117
14765
  color: var(--md-on-surface);
14118
14766
  border-radius: var(--md-r-lg);
@@ -14258,7 +14906,8 @@ color: #005CFF;
14258
14906
  }
14259
14907
  .md3 .mmodal {
14260
14908
  max-width: 100%;
14261
- max-height: 92vh;
14909
+ /* % of the fixed containing block, not vh/dvh: on iOS vh is the toolbars-collapsed height, and Chrome on iOS does not shrink dvh while its toolbars are shown either, so a 92vh/92dvh bottom sheet grew under the address bar and hid its own header (title, download, close). The fixed box itself always matches the visible area. */
14910
+ max-height: 92%;
14262
14911
  border-radius: var(--md-r-lg) var(--md-r-lg) 0 0;
14263
14912
  border-bottom: 0;
14264
14913
  animation: mmodal-sheet-up 0.25s ease-out;
@@ -15018,6 +15667,10 @@ color: #005CFF;
15018
15667
  border-color: #d4dde7;
15019
15668
  box-shadow: 0px 3px 14px 0px rgba(14, 34, 56, 0.09);
15020
15669
  }
15670
+ .md3 .cc-card.mcard--campaign {
15671
+ --card-line: #d4dde7;
15672
+ border-color: transparent;
15673
+ }
15021
15674
 
15022
15675
  /* favorite heart + top-left badge stack position (Figma: heart top15/right11 of a 362-wide
15023
15676
  card; badge stack starts top15, row gap 8 between the chip row and the Angebot badge). */