/* German copy uses the existing visual system, with room for longer labels. */
html[lang="de-DE"]{hyphens:auto}
html[lang="de-DE"] .topbar header{flex-wrap:wrap;gap:14px 24px}
html[lang="de-DE"] .primary-nav{margin-left:auto;display:flex;gap:22px}
html[lang="de-DE"] .primary-nav a{display:inline-block}
.language-switch{display:flex;align-items:center;gap:8px;flex-shrink:0;font-size:13px;line-height:1.5}
.language-switch a{padding:7px 10px;border:1px solid #d4ddcf;border-radius:20px;text-decoration:none;color:#214d38;background:#fffdf6;white-space:nowrap}
.language-switch a[aria-current]{background:#214d38;color:white;border-color:#214d38}
.language-switch a:focus-visible{outline:3px solid #b06a43;outline-offset:3px}
.language-return{padding:12px 16px;background:#eaf0e5;border-radius:12px}
.language-return[hidden]{display:none}
.de-home .guide-heading{max-width:900px;padding-bottom:30px}
.de-home .guide-heading h1{font-size:clamp(38px,5vw,68px);line-height:1.08}
.de-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.de-grid .plant-card{min-width:0}
.de-grid .plant-card[hidden]{display:none}
.de-grid .photo{aspect-ratio:4/3;overflow:hidden}
.de-grid .photo img{width:100%;height:100%;object-fit:cover}
.de-grid .body p{font-size:15px;line-height:1.5;margin:10px 0 18px}
.de-edition{margin:24px 0;max-width:80ch}
.de-credits .supplied-photo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:24px 0}
.de-credits .supplied-photo-grid figure{margin:0;min-width:0}
.de-credits .supplied-photo-grid img{display:block;width:100%;height:auto;border-radius:12px}
.de-credits .supplied-photo-grid figcaption{font-size:14px;line-height:1.6;overflow-wrap:anywhere;margin-top:10px}
.language-note{font-size:.85em;font-weight:400}
.de-library{background:#eef2e8;border:1px solid #d4ddcf;border-radius:20px;padding:24px;margin:0 0 30px}
.de-library form{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.de-library input,.de-library select{font:inherit;padding:11px;border:1px solid #aab9aa;border-radius:8px;min-width:0;max-width:100%;background:#fffefa;color:#214d38}
.de-library [data-de-reset]{font:inherit;border:0;background:transparent;text-decoration:underline;color:#214d38;cursor:pointer}
.de-library [data-de-count]{margin-bottom:0}
html[lang="de-DE"] .plant-title{overflow-wrap:anywhere}
html[lang="de-DE"] .article-photo-lead{max-width:100%}
html[lang="de-DE"] .photo-controls{flex-wrap:wrap}
html[lang="de-DE"] .article-sidebar a,html[lang="de-DE"] .task-nav a{overflow-wrap:anywhere}
html[lang="de-DE"] .print-action{max-width:100%;flex-wrap:wrap}
html[lang="de-DE"] .sources{overflow-wrap:anywhere}
@media(max-width:900px){.de-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:580px){
 html[lang="de-DE"] .topbar header{padding-top:16px;padding-bottom:16px;gap:12px}
 html[lang="de-DE"] .primary-nav{order:3;width:100%;justify-content:flex-start;margin:0;font-size:14px}
 html[lang="de-DE"] .language-switch{margin-left:auto;font-size:12px;gap:4px}
 html[lang="de-DE"] .language-switch a{padding:6px 8px}
 .de-grid{gap:16px}
 .de-grid .body{padding:14px}
 .de-grid .card-title{font-size:20px;overflow-wrap:anywhere}
 .de-grid .badge{font-size:10px;padding:4px 7px}
 .de-grid .card-read{font-size:12px}
 .de-library{padding:18px}
 .de-library form{display:grid;grid-template-columns:1fr}
 .de-credits .supplied-photo-grid{grid-template-columns:1fr}
}
@media print{.language-switch,.language-note,.de-edition,.de-library{display:none!important}}
