/*
Theme Name: Daniel Personal
Author: Daniel Toschke
Description: Barrierearm gestaltetes persoenliches Magazin und Portfolio.
Version: 1.6.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: daniel-personal
License: GNU General Public License v2 or later
*/
:root{--ink:#20332e;--muted:#52645e;--paper:#f8f7f2;--accent:#21634e;--line:#d6dfd8}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:18px/1.7 system-ui,sans-serif}a{color:var(--accent);text-underline-offset:.2em}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #b34d00;outline-offset:4px}img{max-width:100%;height:auto}.wrap{width:min(1160px,92%);margin:auto}.site-header{background:white;border-bottom:1px solid var(--line)}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;padding:24px 0}.brand{font-size:1.5rem;font-weight:750;text-decoration:none;color:var(--ink)}nav ul{display:flex;flex-wrap:wrap;gap:12px 24px;list-style:none;margin:0;padding:0}nav a{text-decoration:none;font-weight:600}nav a:hover{text-decoration:underline}.hero{padding:clamp(48px,9vw,110px) 0;background:#e5eee6}.hero-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:48px;align-items:center}.hero h1{font-size:clamp(2.5rem,6vw,5rem);line-height:1.08;letter-spacing:-.045em;margin:12px 0 24px}.eyebrow{font-size:.85rem;font-weight:750;letter-spacing:.12em;text-transform:uppercase;color:var(--accent)}.hero p{max-width:650px;font-size:1.2rem}.hero img{border-radius:8px;width:100%;object-fit:cover}.button,.wp-block-button__link{display:inline-block;background:var(--accent);color:white;padding:12px 22px;border-radius:4px;text-decoration:none;font-weight:650}.section{padding:56px 0}.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:24px}.entry-card{background:white;border:1px solid var(--line);border-radius:8px;overflow:hidden}.entry-card img{width:100%;aspect-ratio:16/9;object-fit:cover}.card-body{padding:24px}.entry-card h2,.entry-card h3{line-height:1.3;margin:8px 0}.entry-card a{color:var(--ink)}.meta{font-size:.85rem;color:var(--muted)}.prose{max-width:780px;margin:auto;padding:48px 0;overflow-wrap:anywhere}.prose h1{font-size:clamp(2rem,5vw,3.4rem);line-height:1.15}.prose h2,.prose h3{line-height:1.3}.site-footer{background:#20332e;color:white;padding:36px 0}.site-footer a{color:white}.skip-link{position:absolute;left:12px;top:-100px;background:white;padding:12px;z-index:99999}.skip-link:focus{top:12px}.pagination{margin:32px 0}.custom-logo{max-width:180px;max-height:80px;width:auto}.wp-caption{max-width:100%}.alignwide{max-width:100%}input,textarea{max-width:100%;font:inherit;padding:8px} @media(max-width:700px){.hero-grid{grid-template-columns:1fr}.header-inner{align-items:flex-start;flex-direction:column}body{font-size:17px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

:root{--ink:#204563;--muted:#505d70;--paper:#f8f5ef;--accent:#a52326;--line:#d9d0c2;--gold:#eab637}.site-header{border-top:5px solid var(--ink);border-bottom:1px solid var(--gold)}.identity{display:flex;align-items:center;gap:16px}.header-crest{width:66px;height:80px;object-fit:contain}.brand,.hero h1,.section h2,.prose h1{font-family:Georgia,serif}.hero{background:#eee8dc;border-bottom:1px solid var(--gold)}.hero-identity{display:grid;gap:18px;justify-items:center}.hero .family-crest{width:auto;max-width:100%;max-height:360px;object-fit:contain;border-radius:0}.crest-panel{margin:0;padding:24px;text-align:center;width:100%;background:#fffdf8;border:1px solid var(--line);border-top:3px solid var(--gold)}.crest-panel figcaption{font-family:Georgia,serif;font-size:1rem;color:var(--ink);margin-top:12px}.hero .portrait{max-width:320px}.site-footer{background:var(--ink)}.entry-card{border-radius:2px}.button{border-radius:2px}@media(max-width:700px){.header-crest{width:48px;height:58px}.hero .family-crest{max-height:260px}}


/* The shield is an independent image; never crop its lower tip. */
.header-crest{display:block;width:88px;height:auto;max-height:105px;object-fit:contain;flex-shrink:0}
.hero .family-crest{display:block;width:min(100%,340px);height:auto;max-height:none;object-fit:contain;margin:auto;border-radius:0}
.crest-panel{padding:clamp(12px,3vw,28px);background:#fffdf8}
.crest-panel figcaption{font-size:1.25rem;letter-spacing:.04em;font-weight:600}
.crest-fallback{display:block;position:relative;overflow:hidden;aspect-ratio:660/682}
.crest-fallback img{position:absolute;width:151.515%!important;max-width:none!important;height:auto!important;left:-25.758%;top:-1.173%;border-radius:0!important}
.header-crest.crest-fallback{max-height:none}
@media(max-width:700px){.header-crest{width:64px;max-height:none}.hero .family-crest{width:min(100%,280px)}}
