/*
Theme Name: DB-IT Service
Description: Firmenwebsite für DB-IT Service in Straß in Steiermark.
Version: 1.1.18
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: db-it-service
*/

:root {
    --navy: #061a2b;
    --deep-blue: #0d2940;
    --steel: #3c6583;
    --ice: #b8d5e9;
    --ink: #102b40;
    --muted: #455c70;
    --line: #d5e1e9;
    --paper: #f4f7fa;
    --white: #fff;
}
* { box-sizing: border-box; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 1rem/1.65 "Segoe UI", system-ui, sans-serif;
    overflow-wrap: break-word;
}
a { color: var(--steel); text-underline-offset: .2em; }
a:focus-visible { outline: 3px solid var(--steel); outline-offset: 4px; }
.hero a:focus-visible, .contact-panel a:focus-visible, .site-footer a:focus-visible { outline-color: var(--ice); }
img { max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0 0 1rem; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.035em; }
h1 { font-size: clamp(2.75rem, 7vw, 6.4rem); }
h2 { font-size: clamp(1.95rem, 4vw, 3.3rem); }
h3 { font-size: 1.35rem; }
.wrap { width: min(1180px, calc(100% - 3rem)); margin-inline: auto; }
.skip-link { position: absolute; left: 1rem; top: -10rem; background: white; padding: .75rem; z-index: 100; }
.skip-link:focus { top: 1rem; }
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 2rem;
    padding-block: 1rem;
}
.site-header nav, .site-footer nav { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem 1.25rem; }
.site-header nav a, .site-footer nav a { color: inherit; text-decoration: none; font-weight: 650; }
.site-header nav a:hover, .site-header nav a[aria-current] { color: var(--steel); text-decoration: underline; }
.site-header .nav-contact { padding: .48rem .9rem; border: 1px solid var(--steel); border-radius: .35rem; }
.brand { display: inline-flex; gap: .65rem; align-items: center; text-decoration: none; color: var(--navy); font-weight: 800; font-size: 1.22rem; }
.brand em { color: var(--steel); font-style: normal; }
.monogram {
    display: inline-grid;
    place-items: center;
    width: 3.15rem;
    height: 2.3rem;
    background: var(--navy);
    color: var(--white);
    border-radius: 999px;
    box-shadow: inset .25rem 0 var(--steel);
}
.custom-logo-link { display: inline-flex; }
.custom-logo { display: block; width: min(360px, 44vw); height: auto; }
.hero {
    overflow: hidden;
    color: var(--white);
    background: radial-gradient(ellipse at 90% 40%, #244762, transparent 56%), var(--navy);
}
.hero-grid {
    min-height: 34rem;
    display: grid;
    grid-template-columns: minmax(0, 1.13fr) minmax(0, 1fr);
    align-items: center;
    gap: 2.5rem;
    padding-block: clamp(3.75rem, 8vw, 7rem);
}
.eyebrow { margin-bottom: .8rem; letter-spacing: .1em; font-size: .78rem; font-weight: 800; text-transform: uppercase; color: var(--steel); }
.hero .eyebrow, .hero h1 span, .contact-panel .eyebrow { color: var(--ice); }
.hero h1 { max-width: 10ch; margin-bottom: 1.3rem; }
.hero-copy { max-width: 47ch; color: #dbe7f0; font-size: clamp(1.04rem, 2vw, 1.21rem); }
.actions, .contact-links { display: flex; align-items: center; flex-wrap: wrap; gap: .9rem 1.25rem; margin-top: 1.6rem; }
.button {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    width: fit-content;
    padding: .75rem 1.1rem;
    border-radius: .35rem;
    background: var(--steel);
    color: var(--white);
    font-weight: 750;
    text-decoration: none;
}
.button:hover { background: var(--deep-blue); }
.hero .button, .contact-panel .button { background: var(--ice); color: var(--navy); }
.hero .button:hover, .contact-panel .button:hover { background: var(--white); }
.secondary { color: var(--white); font-weight: 650; }
.hero-visual {
    position: relative;
    isolation: isolate;
    aspect-ratio: 1.25;
    width: min(100%, 29rem);
    justify-self: center;
    display: grid;
    place-items: center;
    color: var(--white);
    background-image: linear-gradient(#b8d5e91a 1px, transparent 1px), linear-gradient(90deg, #b8d5e91a 1px, transparent 1px);
    background-size: 1.5rem 1.5rem;
    mask-image: radial-gradient(ellipse, black 55%, transparent 76%);
}
.orbit { position: absolute; inset: 12%; border: 1px solid #b8d5e955; border-radius: 999px; transform: rotate(-21deg); }
.orbit-inner { inset: 23% 14%; transform: rotate(21deg); border-color: #b8d5e933; }
.visual-chip {
    display: grid;
    place-items: center;
    width: 57%;
    aspect-ratio: 1.83;
    border: 1px solid #8eb1c66b;
    border-radius: 999px;
    background: linear-gradient(140deg, #173650, var(--navy) 76%);
    box-shadow: inset .65rem 0 var(--steel), 0 1.25rem 4rem #020b15b0;
    font-size: clamp(2.3rem, 6vw, 5rem);
    letter-spacing: -.075em;
}
.hero-symbol { display: block; width: 61%; height: auto; }
.node { position: absolute; width: .48rem; aspect-ratio: 1; border-radius: 50%; background: var(--ice); box-shadow: 0 0 1rem #b8d5e988; }
.node-top { top: 15%; left: 60%; }
.node-right { top: 56%; right: 12%; }
.node-bottom { bottom: 16%; left: 22%; }
.section { padding-block: clamp(3rem, 7vw, 6rem); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 1.8rem 0 1.4rem; }
.card {
    padding: clamp(1.25rem, 2.6vw, 2rem);
    border: 1px solid var(--line);
    border-radius: .45rem;
    background: var(--white);
    box-shadow: 0 .45rem 1.5rem #102b400a;
}
.card::before { content: ""; display: block; width: 2.1rem; height: .23rem; margin-bottom: 1.25rem; background: var(--steel); border-radius: 999px; }
.card p, .about p:not(.eyebrow) { color: var(--muted); margin-bottom: 0; }
.text-link { display: inline-block; font-weight: 750; margin-top: .85rem; }
.about { background: #e7eff5; border-block: 1px solid var(--line); padding-block: clamp(2.8rem, 5vw, 4.5rem); }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem 3rem; align-items: center; }
.contact-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem 2rem;
    flex-wrap: wrap;
    padding: clamp(1.5rem, 5vw, 3.5rem);
    border-radius: .65rem;
    background: linear-gradient(120deg, var(--navy), var(--deep-blue));
    color: var(--white);
}
.contact-panel h2 { font-size: clamp(1.75rem, 4vw, 3rem); }
.contact-panel p:last-child { margin-bottom: 0; }
.contact-panel .contact-links > a:not(.button) { color: var(--white); }
.site-footer { background: var(--navy); color: #dfebf4; }
.site-footer a:hover { text-decoration: underline; }
.footer-inner { padding-block: 1.65rem; }
.footer-address { font-style: normal; }
.page-content { min-height: 55vh; }
.page-content article { max-width: 48rem; }
.page-content article + article { margin-top: 3rem; }
.page-content h1 {
    font-size: clamp(1.6rem, 5vw, 3.65rem);
    hyphens: auto;
}
.page-content h2 { font-size: clamp(1.45rem, 3vw, 2.1rem); margin-top: 2rem; }
@media (max-width: 760px) {
    .header-inner, .footer-inner { align-items: flex-start; flex-direction: column; }
    .site-header nav { gap: .45rem .85rem; font-size: .9rem; }
    .custom-logo { width: min(360px, calc(100vw - 2rem)); }
    .wrap { width: calc(100% - 2rem); }
    .hero-grid, .about-grid, .cards { grid-template-columns: 1fr; }
    .hero-grid { min-height: auto; gap: 1rem; padding-bottom: 1.8rem; }
    .hero-visual { width: min(70vw, 17rem); }
}

.contact-phone { display: inline-flex; align-items: center; gap: .45em; }
.contact-phone svg { flex-shrink: 0; }
