/* =========================================================
   DT ALLROUND
   CLEAN PREMIUM DESIGN
   Navy / Gold / White
   ========================================================= */


/* =========================================================
   VARIABLES
   ========================================================= */

:root {
    --navy-deep: #031a30;
    --navy: #082a4a;
    --navy-light: #103b63;

    --gold-dark: #a8752d;
    --gold: #c89443;
    --gold-light: #e0b66e;

    --white: #ffffff;
    --off-white: #fafafa;
    --background: #f7f7f5;

    --text: #082542;
    --muted: #64758c;
    --border: #e5e3de;

    --container: 1460px;

    --shadow:
        0 12px 35px rgba(3, 26, 48, 0.08);

    --transition:
        220ms ease;
}


/* =========================================================
   RESET
   ========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    background: var(--white);
    color: var(--text);

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;

    line-height: 1.55;

    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

button,
input,
textarea,
select {
    font: inherit;
}

.container {
    width: min(
        calc(100% - 48px),
        var(--container)
    );

    margin-inline: auto;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    position: relative;
    z-index: 100;

    background: var(--white);

    border-bottom:
        1px solid rgba(3, 26, 48, 0.07);
}

.header-inner {
    min-height: 92px;

    display: grid;

    grid-template-columns:
        auto 1fr auto;

    align-items: center;

    gap: 48px;
}


/* =========================================================
   BRAND
   ========================================================= */

.brand {
    display: flex;
    align-items: center;

    gap: 16px;

    text-decoration: none;
}

.brand-logo {
    position: relative;

    display: block;

    width: 76px;
    height: 68px;

    border-right:
        1px solid var(--gold);

    font-family:
        Georgia,
        "Times New Roman",
        serif;
}

.brand-logo-d {
    position: absolute;

    left: 0;
    top: -9px;

    color: var(--navy);

    font-size: 67px;
    font-weight: 500;
    line-height: 1;
}

.brand-logo-t {
    position: absolute;

    left: 30px;
    top: 21px;

    color: var(--gold);

    font-size: 55px;
    font-weight: 500;
    line-height: 1;
}

.brand-copy {
    display: flex;
    flex-direction: column;
}

.brand-copy strong {
    color: var(--navy);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 27px;
    font-weight: 600;
    line-height: 1.05;
}

.brand-copy small {
    margin-top: 7px;

    color: var(--gold-dark);

    font-size: 10px;
    font-weight: 750;

    letter-spacing: 0.16em;

    text-transform: uppercase;
}


/* =========================================================
   MAIN NAVIGATION
   ========================================================= */

.nav-toggle {
    display: none;

    border: 0;
    background: transparent;

    color: var(--navy);

    cursor: pointer;
}

.nav-toggle-line {
    display: block;

    width: 24px;
    height: 2px;

    background: currentColor;

    transition:
        transform var(--transition),
        opacity var(--transition);
}


.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 40px;
}

.main-nav a {
    position: relative;

    color: var(--navy);

    text-decoration: none;

    font-size: 15px;
    font-weight: 650;

    transition:
        color var(--transition);
}

.main-nav a::after {
    content: "";

    position: absolute;

    left: 0;
    right: 100%;
    bottom: -11px;

    height: 2px;

    background: var(--gold);

    transition:
        right var(--transition);
}

.main-nav a:hover {
    color: var(--gold-dark);
}

.main-nav a:hover::after {
    right: 0;
}


/* =========================================================
   HEADER CTA
   ========================================================= */

.header-cta {
    min-height: 50px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 14px;

    padding:
        0 25px;

    border-radius: 3px;

    background:
        linear-gradient(
            135deg,
            #c99647,
            #a76e20
        );

    color: var(--white);

    text-decoration: none;

    font-size: 14px;
    font-weight: 650;

    box-shadow:
        0 8px 24px rgba(169, 111, 32, 0.16);

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.header-cta:hover {
    transform: translateY(-2px);

    box-shadow:
        0 12px 30px rgba(169, 111, 32, 0.24);
}

.header-cta span {
    font-size: 20px;
}


/* =========================================================
   HERO
   ========================================================= */

.premium-hero {
    position: relative;

    min-height: 510px;

    overflow: hidden;

    background:
        url("../img/hero-dt-allround.webp")
        center center / cover no-repeat;
}

.premium-hero-inner {
    min-height: 510px;

    display: block;
}


/* =========================================================
   HERO TEXT
   ========================================================= */

.premium-hero-copy {
    position: relative;
    z-index: 10;

    width: 46%;

    min-height: 510px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding:
        42px
        40px
        44px
        clamp(68px, 6.2vw, 100px);

    color: var(--white);
}

.premium-kicker {
    display: block;

    margin-bottom: 22px;

    color:
        rgba(255, 255, 255, 0.82);

    font-size: 11px;
    font-weight: 750;

    letter-spacing: 0.27em;

    text-transform: uppercase;
}


/* =========================================================
   HERO TITLE
   Exact 3 lines because HTML already contains <br>
   ========================================================= */

.premium-hero-copy h1 {
    width: 620px;
    max-width: 620px;

    margin: 0;

    color: var(--white);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 52px;
    font-weight: 500;

    line-height: 1.02;

    letter-spacing: -0.035em;

    white-space: nowrap;
}


/* =========================================================
   GOLD LINE
   ========================================================= */

.premium-gold-line {
    width: 72px;
    height: 3px;

    margin:
        25px 0 24px;

    background:
        linear-gradient(
            90deg,
            var(--gold),
            var(--gold-light)
        );
}


/* =========================================================
   HERO DESCRIPTION
   ========================================================= */

.premium-hero-description {
    width: 490px;
    max-width: 490px;

    margin:
        0 0 26px;

    color:
        rgba(255, 255, 255, 0.91);

    font-size: 15px;

    line-height: 1.55;
}


/* =========================================================
   HERO BUTTONS
   ========================================================= */

.premium-hero-buttons {
    width: 505px;
    max-width: 505px;

    display: flex;
    align-items: center;

    gap: 12px;
}

.premium-button {
    min-height: 50px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 14px;

    padding:
        0 19px;

    border-radius: 3px;

    text-decoration: none;

    font-size: 13px;
    font-weight: 700;

    white-space: nowrap;

    transition:
        transform var(--transition),
        background var(--transition),
        box-shadow var(--transition);
}

.premium-button:hover {
    transform: translateY(-2px);
}

.premium-button-gold {
    background:
        linear-gradient(
            135deg,
            var(--gold-light),
            var(--gold)
        );

    color: var(--navy-deep);

    box-shadow:
        0 8px 24px rgba(196, 149, 69, 0.18);
}

.premium-button-outline {
    border:
        1px solid var(--gold);

    background:
        rgba(3, 26, 48, 0.30);

    color: var(--white);
}

.premium-button-outline:hover {
    background:
        rgba(196, 149, 69, 0.10);
}


/* =========================================================
   RIGHT HERO AREA

   This is hidden because the right side,
   diagonal line and branding are already
   inside hero-dt-allround.webp.
   ========================================================= */

.premium-hero-media {
    display: none;
}


/* =========================================================
   SERVICES SECTION
   ========================================================= */

.premium-services {
    padding:
        33px 0 22px;

    background: var(--white);
}

.premium-services-heading {
    display: grid;

    grid-template-columns:
        minmax(0, 1.4fr)
        minmax(300px, 0.6fr);

    align-items: end;

    gap: 60px;

    margin-bottom: 24px;
}

.premium-section-label {
    position: relative;

    display: inline-block;

    margin-bottom: 9px;

    padding-right: 86px;

    color: var(--gold-dark);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 0.22em;

    text-transform: uppercase;
}

.premium-section-label::after {
    content: "";

    position: absolute;

    right: 0;
    top: 50%;

    width: 67px;
    height: 1px;

    background: var(--gold);
}

.premium-services-heading h2 {
    margin: 0;

    color: var(--navy);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(36px, 3vw, 50px);

    font-weight: 500;

    line-height: 1.04;

    letter-spacing: -0.04em;
}

.premium-services-heading > p {
    margin:
        0 0 5px;

    color: #365273;

    font-size: 14px;

    line-height: 1.5;
}


/* =========================================================
   SIX SERVICE CARDS
   ========================================================= */

.premium-service-grid {
    display: grid;

    grid-template-columns:
        repeat(6, minmax(0, 1fr));

    gap: 8px;
}

.premium-service-card {
    position: relative;

    min-height: 176px;

    display: grid;

    grid-template-columns:
        57px 1fr;

    align-content: start;

    column-gap: 12px;

    padding:
        18px 14px 34px;

    border:
        1px solid var(--border);

    background: var(--white);

    color: var(--text);

    text-decoration: none;

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}

.premium-service-card:hover {
    z-index: 2;

    transform: translateY(-4px);

    border-color:
        rgba(196, 148, 67, 0.70);

    box-shadow: var(--shadow);
}


/* =========================================================
   SERVICE ICONS
   ========================================================= */

.premium-service-icon {
    width: 54px;
    height: 54px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background:
        radial-gradient(
            circle at 35% 25%,
            var(--navy-light),
            var(--navy-deep) 75%
        );

    color: var(--gold-light);

    font-size: 22px;
    font-weight: 750;

    box-shadow:
        0 7px 18px rgba(3, 26, 48, 0.12);
}

.premium-energy-icon {
    font-size: 27px;
}


/* =========================================================
   SERVICE TEXT
   ========================================================= */

.premium-service-content h3 {
    margin:
        2px 0 9px;

    color: var(--navy);

    font-size: 14px;
    font-weight: 750;

    line-height: 1.25;
}

.premium-service-content p {
    margin: 0;

    color: #637793;

    font-size: 11px;

    line-height: 1.46;
}

.premium-service-arrow {
    position: absolute;

    right: 13px;
    bottom: 10px;

    color: var(--gold-dark);

    font-size: 20px;

    transition:
        transform var(--transition);
}

.premium-service-card:hover
.premium-service-arrow {
    transform: translateX(4px);
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    background:
        linear-gradient(
            90deg,
            var(--navy-deep),
            #0a3155
        );

    border-top:
        1px solid rgba(196, 149, 69, 0.28);

    color: var(--white);
}

.footer-inner {
    min-height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-brand {
    display: none;
}

.footer-legal {
    display: flex;
    align-items: center;

    gap: 18px;
}

.footer-legal a {
    color: var(--gold-light);

    text-decoration: none;

    font-size: 13px;

    transition:
        color var(--transition);
}

.footer-legal a:hover {
    color: var(--white);
}

.legal-dot {
    color: var(--gold);
}


/* =========================================================
   STANDARD BUTTONS
   For other pages
   ========================================================= */

.button {
    min-height: 48px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding:
        0 23px;

    border-radius: 3px;

    text-decoration: none;

    font-weight: 700;
}

.button-primary {
    background: var(--navy);

    color: var(--white);
}

.button-secondary {
    border:
        1px solid var(--gold);

    color: var(--navy);
}

.button-light {
    background: var(--white);

    color: var(--navy);
}


/* =========================================================
   STANDARD PAGES
   ========================================================= */

.page-section,
.services,
.contact-section {
    padding:
        80px 0;

    background: var(--background);
}

.section-label,
.section-heading > span {
    display: inline-block;

    margin-bottom: 12px;

    color: var(--gold-dark);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 0.18em;

    text-transform: uppercase;
}

.page-section h1,
.section-heading h1,
.section-heading h2,
.about h2 {
    margin:
        0 0 18px;

    color: var(--navy);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-weight: 500;

    line-height: 1.08;
}

.section-heading h1,
.section-heading h2 {
    font-size:
        clamp(36px, 4vw, 52px);
}

.section-heading p,
.page-section p {
    color: var(--muted);
}


.service-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 20px;

    margin-top: 40px;
}

.service-card {
    padding: 28px;

    border:
        1px solid var(--border);

    background: var(--white);

    box-shadow:
        0 8px 28px rgba(3, 26, 48, 0.05);
}

.service-card h3 {
    margin:
        18px 0 10px;

    color: var(--navy);
}

.service-card p {
    color: var(--muted);
}

.service-icon {
    width: 52px;
    height: 52px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: var(--navy);

    color: var(--gold-light);
}


/* =========================================================
   CONTACT
   ========================================================= */

.contact-box {
    display: grid;

    grid-template-columns:
        1.2fr 0.8fr;

    align-items: center;

    gap: 55px;

    padding: 50px;

    background: var(--navy);

    color: var(--white);
}

.contact-box h2 {
    color: var(--white);
}

.contact-box p {
    color:
        rgba(255, 255, 255, 0.78);
}

.contact-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 14px;
}

.contact-mail {
    color: var(--gold-light);

    text-decoration: none;
}


/* =========================================================
   ANCHORS
   ========================================================= */

#versicherungen,
#energie,
#internet,
#buero,
#integration,
#uebersetzungen {
    scroll-margin-top: 110px;
}


/* =========================================================
   FOCUS
   ========================================================= */

a:focus-visible,
button:focus-visible {
    outline:
        3px solid
        rgba(196, 148, 67, 0.55);

    outline-offset: 4px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1199px) {

    .header-inner {
        gap: 24px;
    }

    .main-nav {
        gap: 23px;
    }

    .header-cta {
        display: none;
    }

    .premium-hero-copy {
        width: 48%;

        padding-left: 55px;
    }

    .premium-hero-copy h1 {
        width: 540px;
        max-width: 540px;

        font-size: 46px;
    }

    .premium-hero-description {
        width: 430px;
        max-width: 430px;
    }

    .premium-hero-buttons {
        width: 450px;
        max-width: 450px;
    }

    .premium-service-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));

        gap: 12px;
    }

    .premium-service-card {
        min-height: 160px;
    }

    .service-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 800px) {

    .container {
        width:
            calc(100% - 30px);
    }


    /* HEADER */

    .header-inner {
        min-height: 74px;

        grid-template-columns:
            1fr auto;
    }

    .brand-logo {
        width: 55px;
        height: 51px;
    }

    .brand-logo-d {
        font-size: 49px;
    }

    .brand-logo-t {
        left: 22px;
        top: 17px;

        font-size: 41px;
    }

    .brand-copy strong {
        font-size: 20px;
    }

    .brand-copy small {
        display: none;
    }

    .nav-toggle {
        width: 46px;
        height: 46px;

        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        gap: 5px;

        padding: 0;

        border:
            1px solid rgba(3, 26, 48, 0.12);

        border-radius: 3px;

        background: var(--white);
    }

    .nav-toggle[aria-expanded="true"]
    .nav-toggle-line:nth-child(1) {
        transform:
            translateY(7px)
            rotate(45deg);
    }

    .nav-toggle[aria-expanded="true"]
    .nav-toggle-line:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle[aria-expanded="true"]
    .nav-toggle-line:nth-child(3) {
        transform:
            translateY(-7px)
            rotate(-45deg);
    }


    .main-nav {
        position: absolute;

        top: 100%;
        left: 15px;
        right: 15px;

        z-index: 110;

        display: none;
        flex-direction: column;
        align-items: stretch;

        gap: 0;

        padding:
            8px 18px;

        background: var(--white);

        border:
            1px solid rgba(3, 26, 48, 0.08);

        border-top:
            2px solid var(--gold);

        box-shadow:
            0 18px 40px rgba(3, 26, 48, 0.14);
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav a {
        display: block;

        padding:
            14px 4px;

        border-bottom:
            1px solid rgba(3, 26, 48, 0.07);
    }

    .main-nav a:last-child {
        border-bottom: 0;
    }


    /* HERO */

    .premium-hero {
        min-height: auto;

        background-position:
            34% center;

        background-size: cover;
    }

    .premium-hero-inner {
        min-height: auto;
    }

    .premium-hero-copy {
        width: 100%;

        min-height: 540px;

        padding:
            55px 25px;

        background:
            linear-gradient(
                90deg,
                rgba(3, 26, 48, 0.96) 0%,
                rgba(3, 26, 48, 0.92) 60%,
                rgba(3, 26, 48, 0.55) 100%
            );
    }

    .premium-kicker {
        font-size: 10px;
    }

    .premium-hero-copy h1 {
        width: auto;
        max-width: 100%;

        font-size:
            clamp(39px, 11vw, 52px);

        white-space: normal;
    }

    .premium-hero-description {
        width: auto;
        max-width: 500px;

        font-size: 15px;
    }

    .premium-hero-buttons {
        width: 100%;
        max-width: 100%;

        flex-direction: column;
        align-items: stretch;
    }

    .premium-button {
        width: 100%;
    }


    /* SERVICES */

    .premium-services {
        padding:
            45px 0 30px;
    }

    .premium-services-heading {
        grid-template-columns: 1fr;

        gap: 15px;
    }

    .premium-services-heading h2 {
        font-size: 38px;
    }

    .premium-service-grid {
        grid-template-columns: 1fr;
    }

    .premium-service-card {
        min-height: 140px;
    }


    /* STANDARD PAGES */

    .service-grid {
        grid-template-columns: 1fr;
    }


    .contact-box {
        grid-template-columns: 1fr;

        padding: 32px 25px;
    }


    /* FOOTER */

    .footer-inner {
        padding:
            15px 0;
    }

    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
    }
}


/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 430px) {

    .premium-hero-copy h1 {
        font-size: 39px;
    }

    .premium-services-heading h2 {
        font-size: 34px;
    }

    .footer-legal {
        gap: 10px;
    }
}

.premium-service-icon svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: #e4bc75;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* INTRO */


/* CONTENT */


/* CARDS */


/* CONTACT */


/* TABLET */


/* MOBILE */


/* 6 wide rows */


/* Card */


/* subtle gold accent */


/* gold border on hover */


/* icon */


/*
   display:contents lets title participate
   directly in the card grid
*/


/* title – ONE LINE on desktop */


/* all paragraphs use the FULL card width */


/* first paragraph */


/* following paragraphs */


/* TABLET */


/* MOBILE */


/* Абзацы ближе друг к другу */



/* Меньше расстояние между заголовком и текстом */



/* На мобильном оставляем естественное левое выравнивание */


/* =========================================================
   SKIP LINK
   ========================================================= */

.skip-link {
    position: fixed;
    top: 0;
    left: 1rem;
    z-index: 10000;

    padding: 0.75rem 1rem;

    background: var(--navy-deep);
    color: var(--white);

    border-radius:
        0 0 3px 3px;

    text-decoration: none;

    transform:
        translateY(-120%);

    transition:
        transform var(--transition);
}

.skip-link:focus {
    transform:
        translateY(0);
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
    :root {
        --transition: 0s;
    }

    html {
        scroll-behavior: auto;
    }
}
