/* Danube Doctors — coming-soon landing
   Skyline background + gold-shimmer DDD mark + wordmark. */

/* Self-hosted fonts (DSGVO-clean — no Google CDN) */
@font-face {
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/cormorant-garamond-500-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/cormorant-garamond-500-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, 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('../fonts/inter-400-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --gold:      #C4A265;
    --gold-soft: #d4b06a;
    --ink:       #0d0d0d;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background: #000;
    color: #fff;
    font-family: var(--sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html, body { height: 100%; }
body { overflow: hidden; }

/* ---------- hero ---------- */

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100svh;
    overflow: hidden;
    isolation: isolate;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image: url('../img/dd-bg.jpg');
    background-image: image-set(
        url('../img/dd-bg.webp') type('image/webp') 1x,
        url('../img/dd-bg.jpg')  type('image/jpeg') 1x);
    background-image: -webkit-image-set(
        url('../img/dd-bg.webp') 1x,
        url('../img/dd-bg.jpg')  1x);
    background-size: cover;
    background-position: center;
    /* subtle blur softens the skyline so the gold logo + text reads as the
       focal point. Scale is bumped slightly to hide the soft blur edges. */
    filter: blur(6px);
    -webkit-filter: blur(6px);
    animation: dd-drift 28s ease-in-out infinite alternate;
}

@keyframes dd-drift {
    from { transform: scale(1.08) translate3d(0, 0, 0); }
    to   { transform: scale(1.12) translate3d(-1.5%, -1%, 0); }
}

.hero__veil {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 50% 55%,
            rgba(0,0,0,0.05) 0%,
            rgba(0,0,0,0.35) 45%,
            rgba(0,0,0,0.65) 90%),
        linear-gradient(180deg,
            rgba(0,0,0,0.30) 0%,
            rgba(0,0,0,0.10) 35%,
            rgba(0,0,0,0.40) 100%);
}

.hero__content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.6rem;
    padding: 2rem 1.5rem 4rem;
    text-align: center;
    animation: dd-fade-up 1.2s cubic-bezier(.2,.7,.2,1) both;
}

@keyframes dd-fade-up {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ---------- DDD mark (gold-shimmer mask) ---------- */

.ddd-mark {
    position: relative;
    display: inline-block;
    flex: 0 0 auto;
    height: clamp(110px, 18vh, 200px);
    aspect-ratio: 600 / 458;
}
.ddd-mark::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        #AA771C 0%,
        #C6A44E 15%,
        #FCF6BA 30%,
        #D4B060 45%,
        #B38728 60%,
        #FCF6BA 75%,
        #AA771C 100%);
    background-size: 300% auto;
    -webkit-mask-image: url('../img/ddd-mark.png');
            mask-image: url('../img/ddd-mark.png');
    -webkit-mask-size: contain;
            mask-size: contain;
    -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;
    -webkit-mask-position: center;
            mask-position: center;
    animation: gold-shimmer 4.5s ease-in-out infinite;
    filter: drop-shadow(0 4px 20px rgba(170, 119, 28, 0.45));
}

/* ---------- wordmark ---------- */

.ddd-wordmark {
    margin: 0;
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(1.6rem, 4vw, 3rem);
    letter-spacing: .22em;
    text-transform: uppercase;
    line-height: 1;
}

.gold-shimmer-text {
    background: linear-gradient(135deg,
        #AA771C 0%,
        #C6A44E 20%,
        #FCF6BA 40%,
        #D4B060 60%,
        #B38728 80%,
        #AA771C 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
            color: transparent;
    animation: gold-shimmer 4.5s ease-in-out infinite;
    text-shadow: 0 2px 30px rgba(0,0,0,0.35);
}

@keyframes gold-shimmer {
    0%, 100% { background-position: 0% center; }
    50%      { background-position: 100% center; }
}

/* ---------- coming-soon pill ---------- */

.hero__cta {
    display: inline-flex;
    align-items: center;
    margin-top: .5rem;
    padding: .7rem 1.6rem;
    border: 1px solid rgba(255,255,255,0.65);
    border-radius: 999px;
    color: #fff;
    font-family: var(--sans);
    font-size: .78rem;
    font-weight: 500;
    letter-spacing: .32em;
    text-transform: uppercase;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    background: rgba(0,0,0,0.12);
}

/* ---------- responsive ---------- */

@media (max-width: 600px) {
    .hero__content {
        gap: 1.1rem;
        padding: 2rem 1rem 3rem;
    }
    .ddd-mark {
        height: clamp(82px, 14vh, 130px);
    }
    .ddd-wordmark {
        font-size: clamp(1.15rem, 5vw, 1.7rem);
        letter-spacing: .2em;
    }
    .hero__cta {
        padding: .55rem 1.2rem;
        font-size: .68rem;
        letter-spacing: .28em;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero__bg { animation: none; }
    .hero__content { animation: none; }
    .ddd-mark::after,
    .gold-shimmer-text { animation: none; }
}

/* ---------- hero footer (Impressum / Datenschutz links) ---------- */

.hero-footer {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 1.4rem;
    z-index: 4;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .9rem;
    font-family: var(--sans);
    font-size: .72rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
}

.hero-footer a {
    color: inherit;
    text-decoration: none;
    position: relative;
    transition: color .25s ease;
}

.hero-footer a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -.25rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-soft), transparent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .35s ease;
}

.hero-footer a:hover { color: #fff; }
.hero-footer a:hover::after { transform: scaleX(1); }

@media (max-width: 600px) {
    .hero-footer {
        bottom: 1rem;
        font-size: .62rem;
        letter-spacing: .18em;
        gap: .6rem;
    }
}

/* ============================================================
   LEGAL PAGES (Impressum / Datenschutz)
   Dark theme with gold accents — distinct from omar-hamid.com.
   ============================================================ */

body.is-legal {
    overflow: auto;
    background:
        radial-gradient(ellipse 60% 40% at 18% 0%, rgba(196, 162, 101, 0.08), transparent 60%),
        radial-gradient(ellipse 50% 35% at 82% 12%, rgba(196, 162, 101, 0.06), transparent 60%),
        linear-gradient(180deg, #0a0a0a 0%, #0d0d0d 40%, #060606 100%);
    color: #e8e8e8;
    min-height: 100vh;
}

.legal-shell {
    width: min(calc(100% - 36px), 920px);
    margin: 0 auto;
}

/* ---- legal header ---- */

.legal-header {
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 1rem 0;
    background: rgba(8, 8, 8, 0.72);
    backdrop-filter: blur(18px) saturate(1.1);
    -webkit-backdrop-filter: blur(18px) saturate(1.1);
    border-bottom: 1px solid rgba(196, 162, 101, 0.12);
}

.legal-header__bar {
    width: min(calc(100% - 36px), 920px);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 48px;
}

.legal-header__brand {
    display: inline-flex;
    align-items: center;
    gap: .9rem;
    text-decoration: none;
    color: #fff;
}

.legal-header__mark {
    position: relative;
    display: inline-block;
    width: 32px;
    height: calc(32px * 458 / 600);
    flex: 0 0 auto;
}

.legal-header__mark::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        #AA771C 0%,
        #C6A44E 25%,
        #FCF6BA 50%,
        #B38728 75%,
        #AA771C 100%);
    -webkit-mask-image: url('../img/ddd-mark.png');
            mask-image: url('../img/ddd-mark.png');
    -webkit-mask-size: contain;
            mask-size: contain;
    -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;
    -webkit-mask-position: center;
            mask-position: center;
}

.legal-header__wordmark {
    font-family: var(--serif);
    font-weight: 500;
    font-size: .92rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #f0e6cf;
}

.legal-header__nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-family: var(--sans);
    font-size: .68rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: rgba(232, 232, 232, 0.6);
}

.legal-header__nav a {
    color: inherit;
    text-decoration: none;
    position: relative;
    padding-bottom: .15rem;
    transition: color .25s ease;
}

.legal-header__nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
}

.legal-header__nav a:hover {
    color: #fff;
}

.legal-header__nav a:hover::after,
.legal-header__nav a.is-active::after {
    transform: scaleX(1);
}

/* ---- legal hero ---- */

.legal-hero {
    padding: clamp(4rem, 10vh, 7rem) 0 clamp(2.5rem, 6vh, 4rem);
    text-align: center;
}

.legal-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .8rem;
    font-family: var(--sans);
    font-size: .7rem;
    letter-spacing: .32em;
    text-transform: uppercase;
    color: var(--gold-soft);
    opacity: .85;
}

.legal-hero__eyebrow::before,
.legal-hero__eyebrow::after {
    content: '';
    width: 32px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-soft), transparent);
}

.legal-hero__title {
    margin: 1.4rem 0 0;
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(2.4rem, 6vw, 4rem);
    letter-spacing: .04em;
    line-height: 1;
    background: linear-gradient(135deg,
        #AA771C 0%,
        #C6A44E 20%,
        #FCF6BA 45%,
        #D4B060 65%,
        #B38728 85%,
        #AA771C 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
            color: transparent;
    animation: gold-shimmer 6s ease-in-out infinite;
}

.legal-hero__lede {
    margin: 1.4rem auto 0;
    max-width: 38rem;
    font-size: .95rem;
    line-height: 1.85;
    color: rgba(232, 232, 232, 0.7);
}

.legal-hero__divider {
    margin: 2rem auto 0;
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: .6;
}

/* ---- legal content cards ---- */

.legal-content {
    padding: 0 0 clamp(4rem, 10vh, 6rem);
}

.legal-card {
    position: relative;
    margin-top: 1.25rem;
    padding: 1.9rem 1.9rem 1.7rem;
    border: 1px solid rgba(196, 162, 101, 0.12);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.018), rgba(255,255,255,0.008)),
        rgba(20, 20, 20, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow:
        0 1px 0 rgba(196, 162, 101, 0.06) inset,
        0 28px 60px -30px rgba(0, 0, 0, 0.7);
    overflow: hidden;
}

.legal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 1.9rem;
    right: 1.9rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: .4;
}

.legal-card__title {
    margin: 0 0 .35rem;
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(1.5rem, 2.4vw, 1.95rem);
    letter-spacing: .02em;
    color: #f4ebd4;
}

.legal-card__intro {
    margin: .4rem 0 0;
    font-size: .92rem;
    line-height: 1.8;
    color: rgba(232, 232, 232, 0.7);
}

.legal-fields {
    display: grid;
    gap: 0;
    margin-top: 1.4rem;
}

.legal-field {
    display: grid;
    grid-template-columns: minmax(160px, 200px) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: baseline;
    padding: 1.1rem 0;
    border-top: 1px solid rgba(196, 162, 101, 0.1);
}

.legal-field:first-child {
    padding-top: 0;
    border-top: 0;
}

.legal-field:last-child {
    padding-bottom: 0;
}

.legal-field__label {
    font-family: var(--sans);
    font-size: .68rem;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--gold-soft);
    opacity: .85;
}

.legal-field__value {
    font-size: .92rem;
    line-height: 1.75;
    color: rgba(232, 232, 232, 0.82);
}

.legal-field__value strong {
    color: #f4ebd4;
    font-weight: 500;
}

.legal-field__value a {
    color: var(--gold-soft);
    text-decoration: none;
    border-bottom: 1px solid rgba(196, 162, 101, 0.3);
    transition: border-color .25s ease, color .25s ease;
}

.legal-field__value a:hover {
    color: #f4ebd4;
    border-bottom-color: var(--gold);
}

.legal-field__value code,
.legal-field__code {
    font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    font-size: .82em;
    padding: .12em .42em;
    border: 1px solid rgba(196, 162, 101, 0.2);
    border-radius: 4px;
    background: rgba(196, 162, 101, 0.06);
    color: var(--gold-soft);
}

/* ---- legal footer ---- */

.legal-footer {
    padding: 2rem 0 2.5rem;
    border-top: 1px solid rgba(196, 162, 101, 0.1);
}

.legal-footer__bar {
    width: min(calc(100% - 36px), 920px);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-family: var(--sans);
    font-size: .76rem;
    letter-spacing: .12em;
    color: rgba(232, 232, 232, 0.42);
}

.legal-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.4rem;
    text-transform: uppercase;
    letter-spacing: .22em;
    font-size: .66rem;
}

.legal-footer__links a {
    color: rgba(232, 232, 232, 0.6);
    text-decoration: none;
    transition: color .25s ease;
}

.legal-footer__links a:hover {
    color: var(--gold-soft);
}

@media (max-width: 700px) {
    .legal-header__nav {
        gap: 1rem;
        font-size: .62rem;
        letter-spacing: .18em;
    }
    .legal-header__wordmark {
        display: none;
    }
    .legal-card {
        padding: 1.4rem 1.3rem 1.3rem;
    }
    .legal-card::before {
        left: 1.3rem;
        right: 1.3rem;
    }
    .legal-field {
        grid-template-columns: 1fr;
        gap: .35rem;
        padding: 1rem 0;
    }
    .legal-footer__bar {
        flex-direction: column;
        text-align: center;
    }
}
