/* ==========================================================================
   DuckGear-Palette
   --------------------------------------------------------------------------
   Laedt nach silberhirt.css und belegt deren semantische Farbvariablen neu.
   Die Werte stammen aus Joels Platzhalterseite:

       --bg #0e1311   --fg #f2f1ec   --muted #9aa8a2
       --accent #ff5a0a   --mint #4fa595

   Silberhirts Struktur bleibt unveraendert -- nur die Farben wechseln.
   735 Regeln in silberhirt.css greifen ueber var(), deshalb reicht dieser
   Block. Zum Zurueckdrehen genuegt es, diese Datei nicht zu laden.
   ========================================================================== */

:root {
    /* Grund, von tief nach erhaben. Basis ist Joels Hintergrund. */
    --ink:        #0e1311;
    --ink-2:      #141a18;
    --ink-3:      #1c2321;
    --ink-4:      #27302d;

    /* Gedaempfte Zwischentoene, zu Joels --muted hin gestaffelt */
    --steel-1:    #5c6b66;
    --steel-2:    #7d8e88;
    --steel-3:    #9aa8a2;

    /* Helle Flaechen und Schrift */
    --chalk:      #f2f1ec;
    --chalk-dim:  #d9d8d2;
    --plinth:     #e6e5df;

    --rule:       rgba(242, 241, 236, .12);
    --rule-2:     rgba(242, 241, 236, .24);

    /* Zustaende: Joels Orange als Signal, sein Mint als Bestaetigung */
    --signal:     #ff5a0a;
    --ok:         #4fa595;

    color-scheme: dark;
    accent-color: #ff5a0a;
}

/* Die Platzhalterstartseite, 1:1 aus Joels Entwurf. */
.dg-soon {
    min-height: 56vh;
    display: grid;
    place-items: center;
    padding: clamp(32px, 8vh, 96px) 16px;
    background: var(--ink);
    color: var(--chalk);
}
.dg-soon__inner { width: 100%; max-width: 720px; }
.dg-soon__logo  { display: block; width: min(100%, 520px); height: auto; fill: var(--signal); }
.dg-soon__rule  { height: 3px; width: 72px; background: var(--ok); margin: 36px 0 28px; border: 0; }
.dg-soon__h1 {
    font-size: clamp(1.6rem, 4.6vw, 2.4rem);
    line-height: 1.15;
    margin: 0 0 14px;
    font-weight: 700;
    letter-spacing: -.01em;
    color: var(--chalk);
}
.dg-soon__p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--steel-3);
    max-width: 46ch;
}

/* Porto setzt p im Inhaltsbereich klein und schlaegt die Regel oben ueber
   die Spezifitaet. Deshalb hier mit demselben Gewicht nachgezogen. */
body.dg-home .column.main .dg-soon .dg-soon__p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--steel-3);
}
body.dg-home .column.main .dg-soon .dg-soon__h1 {
    font-size: clamp(1.6rem, 4.6vw, 2.4rem);
    line-height: 1.15;
}

/* ==========================================================================
   Startseite (Entwurf) und Fuss
   ========================================================================== */
.dg-home { color: var(--chalk); }
.dg-hero {
    position: relative; isolation: isolate;
    min-height: min(78vh, 640px);
    display: flex; align-items: flex-end;
    background-color: var(--ink-2);
    background-image: var(--dg-hero-s);
    background-size: cover; background-position: 54% center;
}
@media (min-width: 900px) { .dg-hero { background-image: var(--dg-hero-l); background-position: center 60%; } }
.dg-hero::before { content: ""; position: absolute; inset: 0; background: rgba(14, 19, 17, .5); z-index: -1; }
.dg-hero__inner { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: clamp(32px, 8vw, 96px) var(--gutter); }
.dg-hero__title {
    font-family: var(--display); font-weight: 800; text-transform: uppercase;
    font-size: clamp(2.6rem, 9vw, 6.5rem); line-height: .95; letter-spacing: -.01em;
    margin: 0 0 16px; color: var(--chalk);
}
.dg-hero__lead { max-width: 46ch; color: var(--chalk-dim); font-size: 1.05rem; line-height: 1.6; margin: 0 0 28px; }
.dg-hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }

.dg-btn {
    display: inline-block; padding: 13px 22px;
    border: 1px solid var(--rule-2); border-radius: var(--r-s);
    color: var(--chalk); font-family: var(--text); font-weight: 600; letter-spacing: .04em; text-decoration: none;
    transition: background var(--t-fast), border-color var(--t-fast);
}
.dg-btn:hover { border-color: var(--ok); color: var(--chalk); }
.dg-btn--solid { background: var(--signal); border-color: var(--signal); color: #0e1311; }
.dg-btn--solid:hover { background: #ff7433; border-color: #ff7433; color: #0e1311; }

.dg-sec { max-width: var(--wrap); margin: 0 auto; padding: clamp(28px, 5vw, 56px) var(--gutter) 0; }
.dg-sec:last-child { padding-bottom: clamp(40px, 7vw, 88px); }
.dg-sec__title { font-family: var(--display); text-transform: uppercase; font-size: .95rem; letter-spacing: .14em; color: var(--ok); margin: 0 0 16px; font-weight: 600; }
.dg-tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.dg-tile {
    display: block; height: 100%; padding: 20px;
    background: var(--ink-2); border: 1px solid var(--rule); border-radius: var(--r-m);
    color: var(--chalk); text-decoration: none;
    transition: border-color var(--t-fast), background var(--t-fast), transform var(--t-fast) var(--ease-out);
}
.dg-tile:hover { border-color: var(--rule-2); background: var(--ink-3); transform: translateY(-2px); color: var(--chalk); }
.dg-tiles--area .dg-tile { border-top: 3px solid var(--signal); border-radius: 0 0 var(--r-m) var(--r-m); }
.dg-tile__name { display: block; font-family: var(--display); font-size: 1.5rem; text-transform: uppercase; font-weight: 700; line-height: 1.1; }
.dg-tile__sub { display: block; margin-top: 6px; color: var(--steel-3); font-size: .875rem; }
@media (prefers-reduced-motion: reduce) { .dg-tile, .dg-btn { transition: none; } .dg-tile:hover { transform: none; } }

.dg-foot { background: var(--ink); border-top: 1px solid var(--rule); color: var(--chalk-dim); }
.dg-foot__main { max-width: var(--wrap); margin: 0 auto; padding: 48px var(--gutter) 32px; display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.dg-foot__h { font-family: var(--display); text-transform: uppercase; font-size: 1rem; letter-spacing: .12em; color: var(--chalk); margin: 0 0 12px; font-weight: 600; }
.dg-foot ul { list-style: none; margin: 0; padding: 0; }
.dg-foot li { margin: 6px 0; }
.dg-foot a { color: var(--steel-3); }
.dg-foot a:hover { color: var(--signal); }
.dg-foot p { margin: 0; color: var(--steel-3); max-width: 36ch; line-height: 1.6; }
.dg-foot__bottom { max-width: var(--wrap); margin: 0 auto; padding: 16px var(--gutter) 28px; border-top: 1px solid var(--rule); font-size: .8125rem; color: var(--steel-2); }

/* Korrekturen aus der Vorschau */
.dg-hero { width: 100vw; margin-left: calc(50% - 50vw); }
html, body { overflow-x: clip; }
.dg-tiles { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); align-items: stretch; }
.dg-tiles > li { display: flex; margin: 0; padding: 0; min-width: 0; float: none; width: auto; }
.dg-tile { height: auto; flex: 1 1 auto; }

/* Suchfeld am Handy: Porto schiebt es ueber den Rand */
@media (max-width: 767px) {
    .header-center, .search-area { width: 100%; max-width: 100%; min-width: 0; float: none; padding: 0 var(--gutter); box-sizing: border-box; }
    .search-area .search-toggle-icon { display: none; }
    .search-area .block-search, .search-area .block-search .block-content,
    .search-area .minisearch, .search-area .field.search { display: block; position: static; width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; }
    .search-area input#search { width: 100%; box-sizing: border-box; }
}
