/* *****************************************************

    ** Custom Stylesheet **

    Anpassungen für Hosting-Core über dem Antler-Theme.
    Farben, Flächen und Buttons folgen dem CI in docs/CI.md.

***************************************************** */

/* ---------- CI-Tokens ---------- */
:root {
    color-scheme: light;

    /* Marke: Rot aus dem Logo, für Text auf Weiß etwas abgedunkelt */
    --hc-red: #d0141b;          /* Hauptaktionen, Markenakzente */
    --hc-red-deep: #a30f15;     /* Hover, aktive Zustände */
    --hc-red-soft: #fdeced;     /* Icon-Flächen, Badges */

    /* Fundament */
    --hc-ink: #1e2a36;          /* Überschriften, Kopfleiste, Footer */
    --hc-ink-2: #2b3a49;        /* zweite Dunkelfläche */
    --hc-text: #3a4653;         /* Fließtext */
    --hc-muted: #5b6876;        /* Nebentext */
    --hc-line: #dce3e9;         /* Rahmen, Trenner */
    --hc-mist: #eef2f5;         /* helle Flächen, Hero */
    --hc-paper: #f7f9fb;        /* Abschnittsgrund */
    --hc-white: #ffffff;

    /* Status */
    --hc-green: #1f7a5c;        /* verfügbar, Häkchen */
    --hc-green-soft: #e4f3ec;

    --hc-radius: 12px;
    --hc-radius-s: 8px;
    --hc-shadow: 0 1px 2px rgba(30, 42, 54, .06), 0 8px 24px rgba(30, 42, 54, .07);
}

/* Inter lokal statt Google Fonts (keine Verbindung zu Google) */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('../font/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('../font/inter-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('../font/inter-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700 800; font-display: swap; src: url('../font/inter-latin-700-normal.woff2') format('woff2'); }

body[data-font=inter],
body[data-font=inter] button,
body[data-font=inter] h1, body[data-font=inter] h2, body[data-font=inter] h3,
body[data-font=inter] h4, body[data-font=inter] h5, body[data-font=inter] h6,
body[data-font=inter] input, body[data-font=inter] select, body[data-font=inter] textarea {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif !important;
}

/* ---------- Grundfarben ---------- */
body { background: var(--hc-white); color: var(--hc-text); }
.mergecolor, .section-heading, .services .title, .pricing .title { color: var(--hc-ink); }
.seccolor, .section-subheading, .text-muted { color: var(--hc-muted) !important; }
a { color: var(--hc-red); }
a:hover { color: var(--hc-red-deep); }
::selection { background: var(--hc-red); color: #fff; }
.golink, .golink:hover { color: var(--hc-red) !important; }
:focus-visible { outline: 3px solid rgba(208, 20, 27, .35); outline-offset: 2px; }

/* Antler schreibt Überschriften und Buttons groß ("Hosting Für Deine"), im Deutschen falsch */
.section-heading, .btn, .pricing .heading, .services .heading, .casestudy .author,
.circle-section .title-round, .top-header .wrapper .heading, .top-header .golink {
    text-transform: none !important;
}
.section-heading { font-size: clamp(30px, 4vw, 42px) !important; font-weight: 700; letter-spacing: -.015em; }
.section-subheading { max-width: 640px; margin-left: auto; margin-right: auto; }

/* ---------- Flächen ---------- */
.sec-bg1 { background-color: var(--hc-white); }
.sec-bg2 { background-color: var(--hc-paper); }
.hc-sec-mist { background-color: var(--hc-mist); }
.sec-bg3 { background-color: #16202a; }

/* Kontaktbereich: einzige dunkle Fläche im Inhalt */
.sec-grad-grey-to-grey { background: var(--hc-ink) !important; }
.sec-grad-grey-to-grey .section-heading { color: #fff; }
.sec-grad-grey-to-grey .section-subheading { color: #c9d2db !important; }

/* Karten: weiß, feine Linie, ruhiger Schatten */
.bg-seccolorstyle, .services .service-section, .help-container, .hc-ds-box, .price-container .top-content {
    background-color: var(--hc-white);
}
.services .service-section, .help-container, .hc-compare {
    border: 1px solid var(--hc-line);
    border-radius: var(--hc-radius);
    box-shadow: none;
}

/* ---------- Kopfleiste ---------- */
.infonews .news { color: #c9d2db; }
.menu-wrap { background-color: var(--hc-ink); top: 40px; }
.menu-wrap.fixed, [data-color="hc"] .menu-wrap.fixed { background: var(--hc-ink) !important; box-shadow: 0 2px 10px rgba(0, 0, 0, .18); }
.menu-wrap.mobile { background-color: var(--hc-ink); }
.nav-menu .main-menu > .menu-item > a { color: #fff; }
.nav-menu .main-menu .sub-menu { border-top: 3px solid var(--hc-red); }
.logo-menu { height: 44px; width: auto; }

.infonews .golink, .infonews .golink:hover { color: #fff !important; text-decoration: underline; text-underline-offset: 3px; }
.btn.question { text-transform: none !important; letter-spacing: 0 !important; font-size: 13px !important; font-weight: 600 !important; padding: 10px 14px !important; }

/* Nach-oben-Button */
.cd-top { background: var(--hc-ink) !important; border-radius: var(--hc-radius-s); }
.cd-top:hover { background: var(--hc-red) !important; }

/* Hervorhebungen im Fließtext: dunkel und fett statt Markenrot */
.info-content .golink { color: var(--hc-ink) !important; font-weight: 600; }

/* Ladeanzeige */
#spinner-area { background-color: var(--hc-mist); opacity: 1; }
.spinner-txt { color: var(--hc-ink); font-weight: 600; }

/* ---------- Hero ---------- */
.top-header.hc-hero {
    background: var(--hc-mist);
    padding-top: 230px;
}
.top-header.hc-hero .wrapper .heading {
    color: var(--hc-ink);
    font-weight: 700;
    letter-spacing: -.02em;
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.08;
}
.top-header.hc-hero .wrapper .subheading { color: var(--hc-muted) !important; font-size: 20px; line-height: 1.6; max-width: 620px; }
.hc-subheader.top-header { padding-bottom: 170px !important; }
@media (max-width: 767px) {
    .top-header.hc-hero { padding-top: 150px; }
    .top-header.hc-hero .wrapper .subheading { font-size: 18px; }
}
.hc-subheader .heading { font-size: clamp(34px, 4.5vw, 52px) !important; }

/* ---------- Buttons ---------- */
.btn-hc-primary, .btn-hc-secondary {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    font-weight: 600; border-radius: var(--hc-radius-s) !important;
    transition: background-color .2s, color .2s, border-color .2s;
}
.btn-hc-primary { background-color: var(--hc-red) !important; color: #fff !important; border: 1px solid var(--hc-red) !important; }
.btn-hc-primary:hover, .btn-hc-primary:focus-visible { background-color: var(--hc-red-deep) !important; border-color: var(--hc-red-deep) !important; color: #fff !important; }
.btn-hc-secondary { background-color: transparent !important; color: var(--hc-ink) !important; border: 1px solid var(--hc-ink) !important; }
.btn-hc-secondary:hover, .btn-hc-secondary:focus-visible { background-color: var(--hc-ink) !important; color: #fff !important; }
.btn-hc-secondary.on-dark { color: #fff !important; border-color: rgba(255, 255, 255, .6) !important; }
.btn-hc-secondary.on-dark:hover { background-color: #fff !important; color: var(--hc-ink) !important; }

/* ---------- Badges ---------- */
.hc-badge, .badge.bg-grey {
    background-color: var(--hc-red-soft) !important; color: var(--hc-red-deep) !important;
    font-weight: 600; letter-spacing: 0; text-transform: none; border-radius: 6px; padding: 6px 10px;
}
.infonews .hc-badge { background-color: var(--hc-red) !important; color: #fff !important; }
.nav-menu .badge.bg-grey { padding: 3px 7px; font-size: 11px; }
.hc-ribbon { background-color: var(--hc-ink) !important; color: #fff !important; }

/* ---------- Icons und Listen ---------- */
.hc-icon {
    width: 56px; height: 56px; border-radius: var(--hc-radius);
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--hc-red-soft); color: var(--hc-red); font-size: 24px;
    margin-bottom: 18px;
}
.help .hc-icon { margin-bottom: 0; }
.pricing .top-content .hc-icon { margin-bottom: 12px; }

.hc-checks { list-style: none; padding-left: 0; margin: 18px 0 0; }
.hc-checks li { position: relative; padding-left: 28px; margin-bottom: 8px; }
.hc-checks li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free', 'Font Awesome 6 Free', sans-serif;
    font-weight: 900;
    position: absolute; left: 0; top: 1px;
    color: var(--hc-green);
}

/* Trennlinien-Deko von Antler in Markenrot */
[data-color="hc"] .bigline, [data-color="hc"] .smallline { border-color: var(--hc-red); }

/* ---------- Produktkacheln ---------- */
.hc-service, .hc-compare { height: calc(100% - 30px); }
.hc-compare .hc-checks { max-width: 440px; margin-left: auto; margin-right: auto; }
.services .service-section.hc-service { padding: 32px 24px; text-align: left; }
.hc-service .title { font-size: 20px; margin-bottom: 8px; }
.hc-service .subtitle { margin-bottom: 0; }
.hc-teaser { display: block; color: inherit; transition: border-color .2s, box-shadow .2s; }
.hc-teaser:hover { border-color: var(--hc-red); box-shadow: var(--hc-shadow); color: inherit; }
.hc-teaser .hc-from { margin-top: 14px; font-size: 14px; color: var(--hc-muted); }
.hc-teaser .hc-from b { color: var(--hc-ink); font-size: 18px; }
.hc-more i, .services .hc-more i { font-size: 12px !important; width: auto !important; height: auto !important; margin: 0 0 0 4px !important; color: inherit !important; }
.hc-more { display: inline-block; margin-top: 10px; font-weight: 600; color: var(--hc-red); font-size: 14px; }

/* "Warum wir" */
.hc-why-item { display: flex; gap: 18px; align-items: flex-start; height: 100%; padding: 24px; background: #fff; border: 1px solid var(--hc-line); border-radius: var(--hc-radius); }
.hc-why-item .hc-icon { flex: 0 0 auto; margin-bottom: 0; }
.hc-why-title { font-size: 18px; font-weight: 700; color: var(--hc-ink); margin: 2px 0 6px; }
.hc-why-text { margin: 0; color: var(--hc-muted); font-size: 15px; line-height: 1.55; }

/* ---------- Domainsuche ---------- */
.hc-ds-title { font-size: 30px; font-weight: 700; color: var(--hc-ink); letter-spacing: -.015em; }
.hc-ds-box { border-radius: 16px; padding: 36px 28px; box-shadow: var(--hc-shadow); border: 1px solid var(--hc-line); }
.hc-domainsearch { max-width: 760px; margin: 0 auto; }
.hc-domainsearch .general-input { display: flex; gap: 10px; width: 100% !important; }
.hc-domainsearch .fill-input { flex: 1; min-width: 0; height: 56px; padding: 0 20px; border-radius: var(--hc-radius-s); border: 1px solid #c4cdd6; font-size: 17px; color: var(--hc-ink); }
.hc-domainsearch .fill-input:focus { border-color: var(--hc-ink) !important; outline: 3px solid rgba(30, 42, 54, .12); }
.hc-domainsearch .btn { height: 56px; padding: 0 28px; white-space: nowrap; }
.hc-ds-tlds { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; margin-top: 16px; font-size: 14px; color: var(--hc-muted); }
.hc-ds-tlds b { color: var(--hc-ink); }
.hc-ds-tlds small { width: 100%; text-align: center; font-size: 12px; }
.hc-ds-result { margin-top: 18px; }
.hc-ds-list { list-style: none; padding: 0; margin: 0; background: #fff; border-radius: var(--hc-radius); border: 1px solid var(--hc-line); overflow: hidden; text-align: left; }
.hc-ds-list li { display: grid; grid-template-columns: 1fr auto auto auto; align-items: center; gap: 16px; padding: 12px 18px; border-bottom: 1px solid var(--hc-line); color: var(--hc-text); }
.hc-ds-list li:last-child { border-bottom: 0; }
.hc-ds-list .dom { font-weight: 700; word-break: break-all; color: var(--hc-ink); }
.hc-ds-list .state { font-size: 13px; padding: 2px 10px; border-radius: 20px; }
.hc-ds-list .free .state { background: var(--hc-green-soft); color: var(--hc-green); }
.hc-ds-list .taken .state { background: var(--hc-mist); color: var(--hc-muted); }
.hc-ds-list .taken .dom { color: var(--hc-muted); }
.hc-ds-list .price { font-size: 14px; white-space: nowrap; }
.hc-ds-list .btn-sm { height: auto; padding: 6px 14px; font-size: 13px; }
.hc-ds-transfer { border: 1px solid var(--hc-line); color: var(--hc-text); }
.hc-ds-loading, .hc-ds-error { padding: 14px 18px; background: #fff; border-radius: var(--hc-radius); color: var(--hc-text); text-align: center; }
.hc-ds-error { color: var(--hc-red-deep); }
@media (max-width: 600px) {
    .hc-domainsearch .general-input { flex-direction: column; }
    .hc-ds-list li { grid-template-columns: 1fr auto; }
    .hc-ds-list .price { grid-column: 1; }
}

/* ---------- Pakete ---------- */
.pricing .hc-price { font-size: 22px !important; line-height: 1.3; margin: 10px 0 20px; }
.hc-package { border: 1px solid var(--hc-line); border-radius: var(--hc-radius); overflow: hidden; background: #fff; }
.hc-package .top-content .title { color: var(--hc-ink) !important; font-weight: 700; }
.hc-package .price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 4px; }
.hc-package .price small { margin: 0 !important; position: static !important; }
.hc-package .price .discount { font-size: 38px; font-weight: 700; letter-spacing: -.02em; }
.hc-package .price .period { font-size: 16px; }
.hc-unit { font-size: 13px; margin: 2px 0 14px; }
.hc-package .hc-checks { font-size: 14px; }
.pricing .list-info.hc-specs, [data-color="hc"] .pricing .list-info.hc-specs { background-color: var(--hc-mist) !important; color: var(--hc-text); }
.hc-specs li, .hc-specs li span, .hc-specs i { color: var(--hc-text) !important; }
.hc-specs li span { color: var(--hc-ink) !important; font-weight: 600; }
.hc-group-title { margin: 60px 0 10px !important; }
.hc-group-title.first { margin-top: 0 !important; }
.hc-pricenote { font-size: 13px; margin-top: 10px; }
.hc-tld-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin-top: 30px; }
.hc-tld { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px; padding: 14px 18px; border: 1px solid var(--hc-line); border-radius: var(--hc-radius-s); background: #fff; }
.hc-tld b { color: var(--hc-ink); font-size: 18px; }
.hc-tld small { width: 100%; color: var(--hc-muted); font-size: 11px; text-align: right; }

/* ---------- FAQ ---------- */
[data-color="hc"] .accordion.faq .panel-title.active { border-bottom-color: var(--hc-red); }
.accordion.faq .panel-title .fa-minus { color: var(--hc-red); }

/* ---------- Footer ---------- */
#footer.footer { background-color: #16202a !important; color: #c9d2db; }
#footer .mergecolor { color: #fff !important; }
#footer .text-muted { color: #aab6c2 !important; }
#footer a { color: #e6ebf0; }
#footer a:hover { color: #fff; text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; }
}
