/*
Theme Name: Dresario Responsive
Description: Ruhiges, responsives Dresario-Theme mit klarer Textnavigation.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: dresario-responsive
*/

:root {
  --dk-ink: #26322e;
  --dk-muted: #65716b;
  --dk-paper: #f7f7f3;
  --dk-white: #fff;
  --dk-green: #315a4c;
  --dk-green-deep: #244539;
  --dk-border: #e3e8e2;
  --dk-accent: #c77b54;
  --dk-width: 1120px;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--dk-paper); color: var(--dk-ink); font: 17px/1.7 Inter, "Segoe UI", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--dk-green); text-underline-offset: .2em; }
a:hover { color: var(--dk-green-deep); }
img { max-width: 100%; height: auto; }
.dk-skip { position: absolute; left: -9999px; top: 10px; z-index: 100; padding: 10px 14px; background: #fff; }
.dk-skip:focus { left: 10px; }
.dk-header { background: rgba(255,255,255,.97); border-bottom: 1px solid var(--dk-border); }
.dk-header-inner { width: min(var(--dk-width), calc(100% - 40px)); min-height: 82px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.dk-brand { display: inline-flex; align-items: center; gap: 11px; color: var(--dk-ink); text-decoration: none; }
.dk-mark { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px 11px 11px 3px; background: var(--dk-green); color: #fff; font-size: 17px; font-weight: 750; }
.dk-brand-name { font-size: 21px; font-weight: 700; letter-spacing: -.04em; }
.dk-nav { margin-right: clamp(24px, calc(50vw - 460px), 150px); }
.dk-nav ul { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.dk-nav a { color: #4b5952; text-decoration: none; font-size: 14px; font-weight: 550; }
.dk-nav a:hover, .dk-nav .current-menu-item > a { color: var(--dk-green-deep); }
.dk-nav .current-menu-item > a { text-decoration: underline; text-decoration-color: var(--dk-accent); text-decoration-thickness: 2px; text-underline-offset: 7px; }
.dk-content .wp-block-button__link, .dk-content input[type="submit"], .dk-content button[type="submit"] { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 9px 18px; border: 1px solid var(--dk-green); border-radius: 999px; background: var(--dk-green); color: #fff; font: inherit; font-size: 14px; font-weight: 650; text-decoration: none; cursor: pointer; transition: background .18s ease; }
.dk-content .wp-block-button__link:hover, .dk-content input[type="submit"]:hover, .dk-content button[type="submit"]:hover { background: var(--dk-green-deep); color: #fff; }
.dk-main { min-height: 65vh; }
.dk-wrap { width: min(var(--dk-width), calc(100% - 40px)); margin: auto; padding: 52px 0 72px; }
.dk-content { max-width: 900px; margin: auto; padding: clamp(26px, 5vw, 60px); border: 1px solid var(--dk-border); border-radius: 18px; background: var(--dk-white); box-shadow: 0 10px 32px rgba(38,50,46,.06); }
.dk-home-page { max-width: none; padding: 0; border: 0; background: transparent; box-shadow: none; }
.dk-content > :first-child { margin-top: 0; }
.dk-content > :last-child { margin-bottom: 0; }
.dk-content h1 { margin: 0 0 26px; font-size: clamp(34px, 5vw, 54px); line-height: 1.08; letter-spacing: -.055em; font-weight: 650; }
.dk-content h2 { margin: 1.9em 0 .6em; font-size: clamp(23px, 3vw, 31px); line-height: 1.2; letter-spacing: -.035em; }
.dk-content h3 { margin: 1.5em 0 .45em; font-size: 20px; }
.dk-content p, .dk-content ul, .dk-content ol { margin: 0 0 1.15em; }
.dk-content li { margin: .25em 0; padding-left: .2em; }
.dk-content blockquote { margin: 1.7em 0; padding: 18px 24px; border-left: 3px solid var(--dk-accent); border-radius: 0 12px 12px 0; background: #f7f4ef; color: #3e4a44; font: 1.12em/1.6 Georgia, "Times New Roman", serif; }
.dk-content blockquote p:last-child { margin-bottom: 0; }
.dk-content figure { margin: 1.5em 0; }
.dk-content figure img { border-radius: 12px; }
.dk-home-image { margin: 0 auto; max-width: 920px; }
.dk-home-image picture { display: block; }
.dk-home-image img { display: block; width: 100%; height: auto; border-radius: 20px; box-shadow: 0 14px 38px rgba(38,50,46,.09); }
.dk-home-quote { max-width: 760px; margin: 30px auto 0; padding: 0 18px; border: 0; background: transparent; color: var(--dk-ink); text-align: center; font: clamp(23px, 3.2vw, 32px)/1.42 Georgia, "Times New Roman", serif; }
.dk-home-quote p { margin: 0 0 8px; }
.dk-home-quote cite { color: var(--dk-muted); font: 500 13px/1.5 Inter, "Segoe UI", Arial, sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.dk-hero { padding: clamp(34px, 7vw, 76px); background: #fff; border: 1px solid var(--dk-border); border-radius: 20px; box-shadow: 0 10px 32px rgba(38,50,46,.06); }
.dk-hero .dk-eyebrow { margin: 0 0 12px; color: var(--dk-green); font-size: 12px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.dk-hero h1 { margin: 0 0 16px; font-size: clamp(48px, 8vw, 82px); letter-spacing: -.07em; line-height: 1; }
.dk-hero .dk-lead { max-width: 660px; margin: 0 0 26px; color: #52605a; font-size: clamp(19px, 2.4vw, 23px); line-height: 1.5; }
.dk-home-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.dk-home-links .dk-home-button { min-height: 46px; padding: 10px 20px; }
.dk-home-links .dk-text-link { font-size: 14px; font-weight: 650; text-decoration: none; }
.dk-services { margin-top: 24px; padding: clamp(27px, 4vw, 42px); border: 1px solid var(--dk-border); border-radius: 18px; background: #eef1eb; }
.dk-services h2 { margin: 0 0 22px; font-size: 24px; letter-spacing: -.03em; }
.dk-service-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.dk-service-list li { margin: 0; padding: 15px 17px; border: 1px solid rgba(49,90,76,.12); border-radius: 11px; background: rgba(255,255,255,.72); font-weight: 550; }
.dk-legal-note { margin: 0 0 20px !important; padding: 12px 14px; border: 1px solid #ead7ca; border-radius: 9px; background: #fbf4ef; color: #72523f; font-size: 14px; }
.dk-form label { display: block; margin: 0 0 6px; font-size: 14px; font-weight: 600; }
.dk-form input:not([type="checkbox"]):not([type="hidden"]), .dk-form textarea { width: 100%; min-height: 47px; margin: 0 0 16px; padding: 10px 12px; border: 1px solid #d9dfd8; border-radius: 8px; background: #fff; color: var(--dk-ink); font: inherit; }
.dk-form textarea { min-height: 145px; resize: vertical; }
.dk-form input:focus, .dk-form textarea:focus { outline: 2px solid #789886; outline-offset: 1px; }
.dk-consent { display: flex !important; align-items: flex-start; gap: 9px; margin: 0 0 18px !important; font-weight: 400 !important; }
.dk-consent input { margin-top: 7px; }
.dk-trap { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; }
.dk-footer { background: #263d35; color: #e8efeb; }
.dk-footer-inner { width: min(var(--dk-width), calc(100% - 40px)); margin: auto; padding: 25px 0; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.dk-footer-name { color: #fff; font-weight: 650; }
.dk-footer-nav { margin-right: clamp(24px, calc(50vw - 460px), 150px); }
.dk-footer-nav ul { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; list-style: none; }
.dk-footer-nav a { color: #d6e0da; font-size: 13px; text-decoration: none; }
.dk-footer-nav a:hover { color: #fff; text-decoration: underline; }
.dk-status { margin: 0 0 16px; padding: 12px 14px; border-radius: 8px; background: #edf3ee; }
@media (max-width: 700px) {
  .dk-header-inner { width: min(var(--dk-width), calc(100% - 30px)); min-height: 68px; gap: 10px; }
  .dk-nav { margin-right: 0; }
  .dk-footer-nav { margin-right: 0; }
  .dk-nav ul { gap: 22px; }
  .dk-nav a { font-size: 13px; }
  .dk-brand-name { font-size: 18px; }
  .dk-mark { width: 32px; height: 32px; }
  .dk-nav a { font-size: 13px; }
  .dk-wrap { width: min(var(--dk-width), calc(100% - 30px)); padding: 26px 0 42px; }
  .dk-content { padding: 25px 21px; border-radius: 14px; }
  .dk-hero { padding: 32px 24px; border-radius: 15px; }
  .dk-home-image img { border-radius: 14px; }
  .dk-service-list { grid-template-columns: 1fr; gap: 9px; }
  .dk-footer-inner { width: min(var(--dk-width), calc(100% - 30px)); align-items: flex-start; flex-direction: column; gap: 10px; }
}
@media (max-width: 430px) {
  .dk-header-inner { flex-wrap: wrap; padding: 10px 0; }
  .dk-header-inner { flex-wrap: wrap; padding: 13px 0; }
  .dk-nav { width: 100%; }
  .dk-nav ul { justify-content: flex-end; gap: 18px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; } }
