@font-face{font-family:Newsreader;src:url('Newsreader-Regular.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:Newsreader;src:url('Newsreader-SemiBold.ttf') format('truetype');font-weight:600;font-display:swap}
@font-face{font-family:Inter;src:url('Inter-Regular.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:Inter;src:url('Inter-SemiBold.ttf') format('truetype');font-weight:600;font-display:swap}

/* Existing legal page HTML stays in WordPress; only its presentation changes. */
body.page-template-page-impressum,body.page-template-page-datenschutz{
  --warm:#F6F3EC;--ink:#16203A;--ink-soft:#62676D;--amber:#8C6024;
  --anthrazit:#16203A;--hairline:rgba(22,32,58,.18);
  background:var(--warm);color:var(--ink);font-family:Inter, sans-serif;
}
body.page-template-page-impressum .imp-container,
body.page-template-page-datenschutz .ds-container{max-width:760px;padding-inline:28px;min-width:0;overflow-wrap:anywhere}
body.page-template-page-impressum .imp-header,
body.page-template-page-impressum .imp-main,
body.page-template-page-impressum .imp-footer,
body.page-template-page-datenschutz .ds-header,
body.page-template-page-datenschutz .ds-main,
body.page-template-page-datenschutz .ds-footer{min-width:0}
body.page-template-page-impressum .imp-header,
body.page-template-page-datenschutz .ds-header{padding:58px 0 42px;border-bottom:1px solid var(--hairline)}
body.page-template-page-impressum .imp-header h1,
body.page-template-page-datenschutz .ds-header h1{
  font-family:Newsreader, serif!important;font-weight:600;font-size:clamp(43px,6vw,61px);
  line-height:1.07;letter-spacing:-.035em;color:var(--ink);margin:14px 0 12px;
}
body.page-template-page-impressum .imp-header .sub,
body.page-template-page-datenschutz .ds-header .sub{color:var(--ink-soft);font-size:15px}
body.page-template-page-impressum .imp-header a[aria-label="Zurück zu Artigital"],
body.page-template-page-datenschutz .ds-header a[aria-label="Zurück zu Artigital"]{display:inline-block;line-height:0}
body.page-template-page-impressum .imp-header a[aria-label="Zurück zu Artigital"] svg,
body.page-template-page-datenschutz .ds-header a[aria-label="Zurück zu Artigital"] svg{display:none!important}
body.page-template-page-impressum .imp-header a[aria-label="Zurück zu Artigital"]::before,
body.page-template-page-datenschutz .ds-header a[aria-label="Zurück zu Artigital"]::before{
  content:"";display:block;width:190px;height:54px;background:url('artigital-horizontal.svg') left center/contain no-repeat;
}
body.page-template-page-impressum .imp-main,
body.page-template-page-datenschutz .ds-main{padding-top:16px;padding-bottom:56px}
body.page-template-page-impressum .imp-block,
body.page-template-page-datenschutz .ds-block{border-color:var(--hairline)}
body.page-template-page-impressum .imp-block h2,
body.page-template-page-datenschutz .ds-block h2{
  font-family:Newsreader, serif!important;font-size:25px;font-weight:600;line-height:1.2;
  letter-spacing:-.015em;text-transform:none;color:var(--ink);
}
body.page-template-page-impressum .imp-main .imp-container > .imp-block:nth-child(4) h2{-webkit-hyphens:auto!important;hyphens:auto!important}
body.page-template-page-impressum .imp-block p,
body.page-template-page-datenschutz .ds-block p,
body.page-template-page-datenschutz .ds-block li{color:var(--ink-soft);font-family:Inter, sans-serif;line-height:1.7}
body.page-template-page-datenschutz .ds-subheading,
body.page-template-page-datenschutz .ds-question{color:var(--ink);font-family:Inter, sans-serif}
body.page-template-page-impressum a,
body.page-template-page-datenschutz a{color:var(--amber)}
body.page-template-page-impressum a:focus-visible,
body.page-template-page-datenschutz a:focus-visible{outline:3px solid var(--amber);outline-offset:4px}
body.page-template-page-impressum .imp-footer,
body.page-template-page-datenschutz .ds-footer{border-color:var(--hairline);padding:34px 0 56px}
body.page-template-page-impressum .imp-footer .footer-row svg,
body.page-template-page-datenschutz .ds-footer .footer-row svg{display:none!important}
body.page-template-page-impressum .imp-footer .footer-row::before,
body.page-template-page-datenschutz .ds-footer .footer-row::before{
  content:"";display:block;width:25px;height:25px;flex:none;
  background:url('artigital-icon.svg') center/contain no-repeat;
}
body.page-template-page-impressum .imp-footer .copyright,
body.page-template-page-datenschutz .ds-footer .copyright{color:var(--ink-soft)}
@media(max-width:600px){
  body.page-template-page-impressum .imp-container,
  body.page-template-page-datenschutz .ds-container{padding-inline:22px}
  body.page-template-page-impressum .imp-header,
  body.page-template-page-datenschutz .ds-header{padding:39px 0 31px}
  body.page-template-page-impressum .imp-header h1,
  body.page-template-page-datenschutz .ds-header h1{font-size:41px}
  body.page-template-page-datenschutz .ds-header h1{font-size:clamp(22px,7.5vw,30px);hyphens:auto;overflow-wrap:anywhere}
  body.page-template-page-impressum .imp-header a[aria-label="Zurück zu Artigital"]::before,
  body.page-template-page-datenschutz .ds-header a[aria-label="Zurück zu Artigital"]::before{width:160px;height:45px}
}

/* The dating product keeps its own palette, typography and layout. */
body.page-template-page-der-3-date-filter .df-badge svg{display:none!important}
body.page-template-page-der-3-date-filter .df-badge::before{
  content:"";display:inline-block;width:36px;height:36px;flex:none;
  background:url('artigital-icon.svg') center/contain no-repeat;
}
body.page-template-page-der-3-date-filter .df-badge{gap:6px}
