/*
Theme Name: Netzwoerter
Description: Klassisches WordPress-Theme für Netzwoerter.de.
Version: 1.0.24
Author: Marie Tenbusch
Text Domain: netzwoerter
Requires at least: 5.2
Requires PHP: 7.2
*/
:root {
    --paper: #faf5ed;
    --ink: #26221f;
    --copper: #884827;
    --red: #a72c33;
    --line: #d9c6b5;
    --wash: #f1e7da;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1.125rem/1.6 Georgia, 'Times New Roman', serif; }
a { color: inherit; text-underline-offset: .18em; }
a:hover { color: var(--copper); }
a:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
img { max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.13; }
.wrap { width: min(94%, 1440px); margin-inline: auto; }
.skip-link { position: absolute; left: 1rem; top: .5rem; transform: translateY(-250%); z-index: 10; background: white; padding: .5rem; }
.skip-link:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--red); }
.header-inner { min-height: 70px; display: flex; justify-content: space-between; align-items: center; gap: .75rem 2rem; padding-block: .5rem; }
.brand { font-size: clamp(1.6rem, 3vw, 2.65rem); font-weight: bold; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: .5rem clamp(1rem, 3vw, 3rem); }
.brand, .wide-nav { white-space: nowrap; }
.wide-nav { display: flex; gap: clamp(1rem, 3vw, 3rem); }
.compact-menu { display: none; }
@media (max-width: 840px) {
    .wide-nav { display: none; }
    .compact-menu { display: block; position: relative; }
    .compact-menu summary { cursor: pointer; padding: .35rem .65rem; color: var(--copper); border: 1px solid var(--line); }
    .compact-nav { position: absolute; z-index: 5; top: calc(100% + .35rem); right: 0; min-width: 10rem; background: var(--paper); border: 1px solid var(--line); }
    .compact-nav a { display: block; padding: .4rem .75rem; }
}
.site-header a, .site-footer a { text-decoration: none; }
.site-header a:hover, .site-header [aria-current="page"], .site-footer a:hover { text-decoration: underline; }
.hero { background: #f2e4d2 url('assets/druckbuchstaben.webp') center center / cover no-repeat; }
.hero-inner { min-height: clamp(300px, 24vw, 440px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 2rem 2%; }
.hero h1 { font-size: clamp(2.45rem, 4.65vw, 5rem); margin: 0 0 .6rem; }
.hero-services { margin: 0 0 1.5rem; border-left: 3px solid var(--red); padding-left: .9rem; font-size: clamp(1.12rem, 2.2vw, 2rem); color: var(--copper); }
.button { display: inline-block; text-decoration: none; background: #302b28; color: #fff8ee; padding: .55em 1.35em; border-radius: 3px; font-size: 1.2rem; }
.button:hover { background: #573c30; color: white; }
.intro { text-align: center; padding: 1.3rem .5rem; }
.intro h2 { margin: 0; font-size: clamp(1.55rem, 2.65vw, 2.45rem); }
.intro p { max-width: 67ch; margin: .45rem auto 0; }
.services { display: grid; grid-template-columns: repeat(4, 1fr); padding: 1rem 0; border-block: 1px solid var(--line); }
.services a { display: grid; place-items: center; padding: .65rem; text-align: center; text-decoration: none; font-size: clamp(1rem, 1.75vw, 1.6rem); font-weight: bold; }
.services a + a { border-left: 1px solid var(--line); }
.services a:hover { background: var(--wash); text-decoration: underline; }
.quotation { margin: 1rem 0 1.5rem; background: var(--wash); text-align: center; padding: .85rem 1rem; }
.quotation blockquote { margin: 0; font-style: italic; font-size: clamp(1.1rem, 1.9vw, 1.65rem); }
.quotation figcaption { font-size: .95rem; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 1rem; }
.tiles a { position: relative; display: grid; place-items: center; min-height: 140px; aspect-ratio: 2.45; text-align: center; text-decoration: none; overflow: hidden; background: var(--wash); }
.tiles img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tiles span { position: relative; background: var(--paper); padding: .25rem .85rem; font-size: clamp(1.05rem, 1.8vw, 1.55rem); font-weight: bold; }
.tiles a:hover .tile-label, .tiles a:focus-visible .tile-label { color: var(--red); text-decoration: underline; }
.tiles a:focus-visible { outline-offset: 3px; }
.site-footer { border-top: 1px solid var(--red); padding: .5rem 0 1rem; font-size: .95rem; }
.site-footer nav { justify-content: center; }
.inner-page { min-height: 65vh; max-width: 1120px; padding-block: 2.75rem; }
.entry { margin: 0 auto; max-width: 76ch; }
.entry h1 { color: var(--copper); font-size: clamp(2.5rem, 5vw, 4.2rem); margin: 0 0 1.4rem; }
.entry h2, .entry h3 { margin-top: 1.6em; }
.entry-content { overflow-wrap: break-word; }
.entry-content blockquote { margin-inline: 0; border-left: 2px solid var(--red); padding-left: 1rem; }
.entry-content input, .entry-content textarea, .entry-content select { max-width: 100%; font: inherit; }
.offer-nav { display: flex; flex-wrap: wrap; gap: .45rem 1.2rem; padding-block: .65rem; border-block: 1px solid var(--line); }
.section-anchor { display: block; }
.entry [id] { scroll-margin-top: calc(2rem + var(--wp-admin--admin-bar--height, 0px)); }
@media (max-width: 760px) {
    .header-inner { gap: .5rem; }
    .site-header nav { font-size: 1rem; }
    .hero { background-image: linear-gradient(90deg, #f5e8d7 15%, #f5e8d7e6 55%, #f5e8d755), url('assets/druckbuchstaben.webp'); background-position: 70% center; }
    .services { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; border: 0; }
    .services a, .services a + a { border: 1px solid var(--copper); background: var(--wash); overflow-wrap: anywhere; }
    .services a:hover, .services a:focus-visible { background: var(--paper); }
    .tiles { gap: .65rem; }
}
@media (max-width: 470px) {
    .tiles { grid-template-columns: 1fr; }
    .tiles a { aspect-ratio: 2.8; }
}
.services a { gap: .35rem; align-content: start; }
.services img { display: block; width: 48px; height: 46px; }
@media (min-width: 761px) {
    .hero { background-image: linear-gradient(90deg, #f5e8d7a8, #f5e8d7a8 42%, transparent 56%), url('assets/druckbuchstaben.webp'); }
}

.tiles a[href], .tiles a[href] * { cursor: pointer; }
.tiles .tile-true-crime { background: #c9b49d; }

.offer-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: 1.4rem;
    margin: 1rem 0;
    padding: 1.2rem;
    background: var(--wash);
    border-left: 3px solid var(--copper);
}
.offer-row .offer-row-heading h2 { margin: 0 0 .55rem; font-size: 1.6rem; }
.offer-row-copy > p { margin: 0 0 .8rem; }
.offer-row-copy > p:last-child, .offer-row-heading > p { margin: 0; }
.offer-request {
    display: inline-block;
    padding: .25em .6em;
    border: 1px solid var(--copper);
    border-radius: 3px;
    color: var(--copper);
    font-size: .9rem;
    text-decoration: none;
}
.offer-request:hover, .offer-request:focus-visible { background: var(--copper); color: white; }
@media (max-width: 600px) {
    .offer-row { grid-template-columns: 1fr; gap: .85rem; }
}

.offer-prices h2 { font-size: 2.4rem; margin: 1.2em 0 .65em; }
.offer-closing { margin-top: 2rem; padding-top: 1.35rem; border-top: 1px solid var(--copper); }
.offer-closing p { margin: 0 0 .65rem; }
.offer-closing .offer-request { background: #302b28; border-color: #302b28; color: white; padding: .5em .85em; font-size: 1.05rem; }
.offer-closing .offer-request:hover { background: #573c30; }

.site-copyright { margin: .35rem 0 0; text-align: center; }

.page-actions:has(.page-top-link:not([hidden])) { margin-top: 1.5rem; }
.page-actions [hidden] { display: none; }
#seitenanfang { scroll-margin-top: var(--wp-admin--admin-bar--height, 0px); }

.page-return { padding-block: .55rem; }
.page-return-link, .page-top-link { color: var(--copper); font-size: .9rem; }
.page-return-link { display: inline-block; border: 1px solid var(--line); border-radius: 3px; padding: .15rem .55rem; }
.site-header .page-return-link:hover { border-color: var(--copper); }

.reference-quotes > p.wp-block-paragraph {
    margin: 0 0 1rem;
    padding: 1.2rem;
    background: var(--wash);
    border-left: 3px solid var(--copper);
}
.reference-quotes > .wp-block-separator { display: none; }
.reference-quotes > p.wp-block-paragraph > br + strong:last-child {
    display: inline-block;
    margin-top: .4rem;
    color: var(--copper);
}

.featured-reference blockquote { font-size: 1.08rem; }
.featured-reference figcaption { margin-top: .65rem; }
.featured-reference figcaption a { margin-inline-start: .65rem; }
#german-content-service { scroll-margin-top: 1rem; }
