﻿@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url(../Content/Fonts/DaDaily/inter-latin-light.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(../Content/Fonts/DaDaily/inter-latin-regular.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(../Content/Fonts/DaDaily/inter-latin-bold.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

html {
    height: 100%;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 18px;
    scroll-behavior:smooth;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    margin: 0;
    padding: 0;
    color: #000;
    -webkit-font-smoothing: auto;
}

h1 {
    font-size:1.8rem;
    font-weight:700;
    line-height:1.2em;
    margin: .67em 0;
}

h2 {
    font-size: 1.4rem;
    font-weight: 700;
    line-height:1.3125em;
    margin-bottom:30px;
    margin-top: 5px;
}

h3 {
    font-size:1rem;
    font-weight:700;
    margin: 1em 0;
    line-height: normal;
}

h2 span {
    color: #E91B2D;
}

p {
    line-height:1.5em;
    padding-bottom:30px;
    margin: 1em 0;
}

img {
    width:100%;
}

.dadaily-container {
    width:100%;
    max-width:1110px;
    margin:0 auto;
    padding:60px 20px;
}

.background-grey {
    background-color: #F5F5F8;
}

.background-dark {
    background-color: #030306;
    color:#fff;
}

#dadaily-intro {
    background-image: url('https://images.boersenmedien.com/images/0a3238ea-ee98-4403-9cc2-a2dce62484a2.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center bottom;
    color: #fff;
}

#intro-top {
    padding-left: 0 !important;
    justify-content: flex-start !important;
    margin-bottom: 0 !important;
}

#intro-top > img {
    width: 100%;
    max-width: 560px;
    margin: 0 auto 50px;
    display: block;
    box-shadow: 0 0 99px 0 rgba(233,27,45,0.55);
}

#intro-top h2 {
    color: #E91B2D;
    font-size:0.5em;
    font-weight:400;
    text-transform:uppercase;
    letter-spacing:4px;
    margin-bottom:10px;
}

#poweredby {
    color: #E91B2D;
    font-size: 0.5em;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 10px;
    margin-top:40px;
}

#poweredby div {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.powered-ade {
    width:130px;
    height:auto;
}

.powered-bo {
    width: 52px;
    height: auto;
}

.powered-ft {
    width: 108px;
    height: auto;
}

.to-content {
    width:24px;
    height:24px;
    background:#fff;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    margin:0 auto;
}

.to-content img {
    height:13px;
    width:auto;
    transform:rotate(90deg);
    transform-origin:center;
}

#dadaily-content ul {
    list-style:none;
    margin: 1em 0;
    padding-left: 40px;
}

#dadaily-content ul li {
    position:relative;
    padding-left:45px;
    margin-bottom:35px;
}

#dadaily-content ul li:last-child {
    margin-bottom:0;
}

#dadaily-content ul li:before {
    content: url('https://images.boersenmedien.com/images/a6b51b97-f3aa-4284-b022-9cae5215ffb8.svg');
    width:25px;
    height:auto;
    position:absolute;
    left:0;
    top:2px;
}

#dadaily-subscription .dadaily-container{
    padding:30px 20px;
    max-width:670px;
}

#subscription-form input[type="text"], #subscription-form input[type="email"] {
    border-radius: 4px;
    border: 1px solid #F0F0F3;
    font-family:'Inter', sans-serif;
    font-size:18px;
    line-height:18px;
    padding:18px 20px;
    color:#000;
    box-sizing:border-box;
    margin:0;
    background-color: #fff;
}

#subscription-form .pure-button-primary {
    width:100%;
}

.error {
    font-size:0.778rem;
}

/* moving labels*/
.pure-control-group {
    margin-bottom: 0;
}

.moving-labels-group {
    position: relative;
    margin-bottom: 30px
}


.moving-labels-group input[type=text], .moving-labels-group input[type=email], .moving-labels-group input[type=password] {
    line-height: 1.25;
    width: 100%;
}

.moving-labels-group > label {
    position: absolute;
    top: 0;
    left: 10px;
    padding-right: 20px;
    box-sizing: border-box;
    overflow: hidden;
    width: 100%;
    transition: all 0.1s ease-in-out;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #757575;
    pointer-events: none;
    cursor: text;
}

.moving-labels-group input {
    transition: all 0.1s ease-in-out;
}

.moving-labels-group input:focus {
    margin-top: 1.1em;
}

.moving-labels-group input:focus + label,
.moving-labels-group input:valid + label {
    top: 1em;
    left: 20px;
    font-size: 1rem;
}

.moving-labels-group input:valid + label {
    cursor: default;
}

.moving-labels-group.moving-labels-optional input + label {
    position: absolute;
    top: 1em;
    left: 20px;
    font-size: 1rem;
    cursor: text;
}

.moving-labels-group.moving-labels-optional input:valid {
    margin-top: initial;
}

.moving-labels-group.moving-labels-optional input:focus + label,
.moving-labels-group.moving-labels-optional input[data-empty="false"] + label,
.moving-labels-group.filled input:focus + label,
.moving-labels-group.filled input + label {
    top: -1.8em;
    left: 0px;
    font-size: 0.7em;
}

.moving-labels-group:after {
    content: '* Pflichtfeld';
    font-size: 0.556rem;
    color: #1E283C;
    position:absolute;
    right:0;
    bottom:-25px;
}

.moving-labels-group.moving-labels-optional:after {
    content:none;
}


#subscription-present {
    margin: 20px -20px -50px -20px;
    padding:20px 20px 20px;
    background-color: #232323;
    color: #fff;
}

#subscription-present img {
    max-width:340px;
    margin:0 auto 30px;
    display:block;
}

#subscription-present h3 {
    font-size: 1.4rem;
    margin-bottom:30px;
    color: #fff;
}

#podcast-logos {
    display:flex;
    justify-content:center;
    gap:60px;
    align-items:center;
    flex-wrap:wrap;
    margin-bottom:60px;
}

#podcast-logos img {
    box-shadow: 0 0 99px 0 rgba(233,27,45,0.55);
    max-width: 217px;
}

#dadaily-podcast .pure-button-primary:after {
    content: '';
    background-image: url('https://images.boersenmedien.com/images/28ede3c5-4edc-4732-8be6-5745d30ddda7.svg');
    background-repeat:no-repeat;
    background-size:contain;
    background-position:center;
    display:inline-block;
    width:8px;
    height:12px;
    margin-left:19px;
    position:relative;
    top:0px;
}

@media only screen and (max-width: 480px) {
    .moving-labels-group input[type="text"], .moving-labels-group input[type="email"], .moving-labels-group input[type="password"] {
        display: inline-block;
        margin-bottom: 0;
    }
}

.checkbox-container {
    margin-bottom: 30px;
}

.checkbox-container input[type="checkbox"] {
    display:none;
}

.checkbox-container input[type="checkbox"] + label {
    position:relative;
    padding-left:45px;
    display:block;
    font-size:0.556rem;
    line-height:1.4em;
    margin-top: 0;
    color: inherit;
}

.checkbox-container input[type="checkbox"] + label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0px;
    width: 25px;
    height: 25px;
    background-color: #fff;
    border: 1px solid #F0F0F3;
    border-radius: 2px;
    transition: all 0.2s ease;
    background-image: url('https://images.boersenmedien.com/images/2f4f052b-9ce8-44b1-ad54-07c925b56ca1.svg');
    background-size: 0 0;
    background-position: center;
    background-repeat: no-repeat;
}

.checkbox-container input[type="checkbox"]:checked + label:before {
    background-color: #d8f2e4;
    border-color: #87e9a9;
    background-size: 16px 16px;
    background-position: center;
    transition: all 0.2s ease;
}

.pure-button-primary, a.pure-button-primary {
    background-color: #E91B2D;
    color:#fff;
    font-weight:700;
    text-transform:uppercase;
    font-size:1rem;
    border-radius:2px;
    padding:29px 40px;
    width:auto;
}

.pure-button-primary:hover, a.pure-button-primary:hover, .pure-button-primary:focus {
    background-color: #DB1627;
    background-image: none;
}

#dadaily-podcast .pure-button-primary {
    margin-top:40px;
}

#dadaily-podcast small {
    font-size: 0.556rem;
}

#podcast-links {
    display:flex;
    justify-content:center;
    gap:25px;
    flex-wrap:wrap;
    margin-top:30px;
}

#podcast-links img {
    height:56px;
    width:auto;
}

#dadaily-confirm .dadaily-container, #dadaily-subscribe .dadaily-container {
    max-width: 950px;
}

#dadaily-confirm #logo, #dadaily-subscribe #logo {
    width: 100%;
    max-width: 560px;
}

#dadaily-confirm #poweredby div, #dadaily-subscribe #poweredby div {
    justify-content: center;
}

@media screen and (min-width: 768px) {
    body {
        font-size: 20px;
    }

    .dadaily-container {
        padding: 100px 40px;
    }

    h1 {
        font-size: 2.4rem;
    }

    h2, #subscription-present h3 {
        font-size: 1.8rem;
        font-weight: 700;
    }

    #intro-top {
        position: relative;
        padding-left: 475px;
        min-height: 444px;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        margin-bottom: 120px;
    }

    #intro-top > img {
        max-width: 446px;
        position: absolute;
        left: 0;
        top: 0;
    }

    .moving-labels-group.moving-labels-optional input + label {
        top: 0.8em;
    }

    .moving-labels-group.moving-labels-optional input:focus + label, .moving-labels-group.moving-labels-optional input[data-empty="false"] + label, .moving-labels-group.filled input:focus + label, .moving-labels-group.filled input + label {
        top: -1.8em;
    }

    #poweredby div {
        gap: 40px;
    }

    #dadaily-subscription .dadaily-container {
        padding: 50px 40px;
        max-width: 1070px;
        display: flex;
        gap: 40px;
        margin: 0 auto;
    }

    #subscription-present {
        flex: 0 0 355px;
        margin: -50px -40px -50px 0;
        padding: 50px 30px 30px;
    }

    #podcast-logos {
        margin-top: 50px;
        margin-bottom: 80px;
    }

    #poweredby {
        margin-bottom: 0;
    }
}

#dadaily-subscription {
    margin-bottom:100px;
}

/* ==========================================================================
   Angleichung an die alte Seite (boersenbriefing)
   site.css aus dem Layout setzt eigene Basis-Styles, die hier zurueckgesetzt
   werden, damit die Darstellung der alten Standalone-Seite entspricht.
   ========================================================================== */

/* Typografie / Abstaende wie Browser-Default + normalize der alten Seite */
a {
    color: #2e74ce;
}

/* Formularfelder: site.css-Fokusfarbe/-Radius nicht uebernehmen */
#subscription-form input[type="text"]:focus,
#subscription-form input[type="email"]:focus {
    border-color: #F0F0F3;
    outline: -webkit-focus-ring-color auto 1px;
}

/* Checkboxen: site.css-Haken (:after) und Abstand abschalten */
.checkbox-container input[type="checkbox"]:checked + label {
    color: inherit !important;
}

.checkbox-container input[type="checkbox"] + label:after,
.checkbox-container input[type="checkbox"]:checked + label:after {
    content: none;
    display: none;
}

.checkbox-container a {
    color: #2e74ce;
    text-decoration: underline;
}

/* Button: pure-Basisstyles der alten Seite */
.pure-button {
    display: inline-block;
    box-sizing: border-box;
    border: none;
    line-height: normal;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    font-family: inherit;
    margin: 0 auto 15px;
    background-image: none;
}

.text-center {
    text-align: center;
}

/* Overrides, die auf der alten Seite inline im Textfeld standen */
#dadaily-podcast {
    display: none;
}

#intro-top h1,
#intro-top h2 {
    text-align: center;
}

#intro-top > img,
#intro-top #header-img {
    position: relative !important;
}

#dadaily-intro .dadaily-container {
    padding-top: 0 !important;
}

/* Leeres, nicht fokussiertes Feld: Label liegt im Feld (auch bei required/:invalid) */
.moving-labels-group:not(.filled) input + label {
    top: 1em;
    left: 20px;
    font-size: 1rem;
}

@media screen and (min-width: 768px) {
    .moving-labels-group:not(.filled) input + label {
        top: 0.8em;
    }
}

/* Validierungsmeldung (asp-validation-for) */
.subscription-email-error {
    display: block;
    position: absolute;
    left: 0;
    bottom: -25px;
    color: #E91B2D;
    font-size: 0.556rem;
}

.field-validation-valid {
    display: none;
}

/* Button: site.css (.pure-button.pure-button-primary) ueberschreiben */
#subscription-form .pure-button.pure-button-primary {
    display: inline-block;
    width: 100%;
    background-color: #E91B2D;
    color: #fff;
    border: none;
    border-radius: 2px;
    padding: 29px 40px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    transition: none;
}

#subscription-form .pure-button.pure-button-primary:hover,
#subscription-form .pure-button.pure-button-primary:focus {
    background-color: #DB1627;
}

/* Datenschutzhinweis neben den Checkboxen (kein Formularlabel) */
.checkbox-container .privacy-note {
    margin: 0;
    padding: 0 0 0 45px;
    color: #3e433e;
    font-size: 0.556rem;
    font-weight: 300;
    line-height: 1.4em;
}
