/* Seiteninhalt. Navigation, Fußbereich und Dialoge verwenden das Startseitenlayout. */
.unterseite main {
  --wide: min(92%, 1240px);
  --wrap: min(86%, 1140px);
  --section-gap: clamp(40px, 5.5vw, 80px);
  font-size: clamp(15px, 1.65vw, 19px);
  line-height: 1.48;
}
.sub-wide, .sub-wrap { margin-inline: auto; }
.sub-wide { width: var(--wide); }
.sub-wrap { width: var(--wrap); }
.unterseite main h2 { font-size: clamp(30px, 4.15vw, 58px); font-weight: 540; line-height: 1.06; }
.unterseite main .kicker { margin-bottom: 1.4em; }
.unterseite main strong { font-weight: 720; }
.line-icon { display:block; flex: none; width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap:round; stroke-linejoin:round; }
.sub-hero { position:relative; isolation:isolate; overflow:hidden; background:#473828; color:white; }
.sub-hero-photo { position:absolute; z-index:-2; inset:0; width:100%; height:100%; object-fit:cover; object-position:center 58%; }
.sub-hero::before { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg,#271e15e0 0%,#33261abb 29%,#38281952 53%,transparent 78%); }
.hero-type { padding-block:calc(var(--safe-top) + var(--header-height) + clamp(20px,3.3vw,45px)) clamp(62px,7.6vw,110px); }
.hero-type h1 { font-weight:480; font-size:clamp(44px,6vw,86px); letter-spacing:-.055em; line-height:.98; }
.hero-type h1 + p { margin:1.1em 0 0; font-size:clamp(16px,2vw,23px); line-height:1.39; }
.sub-hero .sub-button { margin-top:1.2em; }
.sub-wave { position:absolute; width:100%; height:clamp(28px,5vw,75px); bottom:-1px; left:0; fill:var(--paper); pointer-events:none; }
.hero-contact { color:#fff; }
.hero-contact::before { background:linear-gradient(90deg,#30251ce6,#453222aa 37%,transparent 76%); }
.hero-contact .ruled::after { display:none; }
.hero-contact h1::after { content:"";display:block;width:.9em;height:3px;background:#e1a13e;margin-top:.32em; }
.hero-contact .hero-type { padding-block-end:clamp(86px,10vw,140px); }
.sub-button { display:inline-flex; align-items:center; justify-content:center; gap:.75em; min-height:44px; border:1px solid transparent; border-radius:99px; padding:.7em 1.55em; font-size:clamp(13px,1.45vw,16px); font-weight:650; line-height:1.35; text-align:center; transition:background .18s, transform .18s; }
.sub-button.filled, .filters [aria-pressed="true"] { background:var(--button); color:#251906; }
.sub-button.bordered { border-color:#b87720; color:#794807; }
.sub-button.light { border-color:#fffd; color:white; }
.sub-button:active, .service-tile:active, .project-tile:active { transform:scale(.985); }
.sub-button .line-icon, .round-arrow .line-icon { width:1em; height:1em; }
@media (hover:hover) {
  .sub-button.filled:hover { background:#edaf4d; }
  .sub-button.bordered:hover { background:#ead9c0; }
  .sub-button.light:hover { background:#fff2; }
}
.catalogue-intro, .step-heading, .filter-row { display:flex; align-items:center; justify-content:space-between; gap:3%; }
.catalogue-intro { padding:1.2em 2.2% 1.5em; }
.catalogue-intro > p { max-width:49%; }
.catalogue-grid, .project-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(12px,1.8vw,25px); }
.service-tile, .project-tile { display:flex; flex-direction:column; position:relative; overflow:hidden; text-align:left; padding:0; border-radius:clamp(13px,1.9vw,25px); transition:translate .18s,box-shadow .24s; isolation:isolate; }
.service-tile { background:linear-gradient(145deg,#fcf9f5,#f2e9df); box-shadow:inset 0 0 0 1px #8c653a1c,0 2px 3px #5939100c,0 9px 17px -9px #50351742; }
.service-tile img { width:100%; aspect-ratio:2.18; object-fit:cover; }
.tile-copy { width:100%; display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:clamp(6px,1vw,15px); padding:clamp(12px,1.6vw,22px); align-items:center; }
.tile-copy > .line-icon { align-self:start; color:#ae6a14; width:clamp(24px,3.2vw,40px); height:auto; aspect-ratio:1; }
.tile-copy b, .value-list h3, .four-steps h3 { display:block;font-size:clamp(14px,1.65vw,21px); letter-spacing:-.04em; line-height:1.15; }
.tile-copy b { overflow-wrap:anywhere; hyphens:auto; }
.tile-copy > span > span { display:block; margin-top:.4em; font-size:clamp(12px,1.32vw,16px); line-height:1.35; }
.round-arrow { border:1px solid #bd7a23; border-radius:50%; color:#6e430d; width:clamp(25px,3vw,36px); height:auto; aspect-ratio:1; display:grid; place-items:center; }
@media (hover:hover) {
  .service-tile:hover, .project-tile:hover { translate:0 -3px; box-shadow:0 10px 24px #4f301b24; }
}
.planning, .spotlight, .editorial, .voice, .inquiry-inner { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:center; }
.planning { overflow:hidden; border-radius:clamp(20px,2.5vw,36px); background:#f3ebe3; margin-block:clamp(27px,3.7vw,50px); gap:5%; }
.planning img { width:100%;height:100%;min-height:210px;object-fit:cover;mask-image:linear-gradient(90deg,black 80%,transparent); }
.planning > div { padding:1.45em 6% 1.45em 0; }
.planning h2 + p, .spotlight h2 + p, .editorial h2 + p, .contact-intro h2 + p { margin-top:.9em; }
.work-steps { padding-bottom:2.6em; }
.four-steps, .value-list, .project-facts, .checks { list-style:none; margin:0; padding:0; }
.four-steps, .value-list { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); }
.four-steps { gap:4%; margin-top:1.6em; }
.four-steps li { position:relative; }
.four-steps li:not(:last-child)::after { content:"";position:absolute; top:30px;left:75%;width:65%; height:1px; background:linear-gradient(90deg,transparent,#c49258,transparent); }
.step-disc, .icon-tile { display:grid;place-items:center;background:#f1e8df; color:#ac6710; width:clamp(48px,7.2vw,82px); aspect-ratio:1; }
.step-disc { border-radius:50%; margin:0 0 .65em 12%; }
.step-disc svg, .icon-tile svg { width:55%; height:55%; }
.four-steps em { font:400 1.45em Georgia,serif;color:#aa6712; }
.four-steps p, .value-list p { font-size:clamp(13px,1.55vw,18px); line-height:1.44; margin-top:.45em; }
.editorial { max-width:1600px; margin:auto; gap:4%; padding-block:2em; }
.editorial-copy { padding-left:max(10%,calc((100vw - 1140px) / 2)); }
.editorial-copy .sub-button { margin-top:1.65em; }
.editorial-photo { height:100%; min-height:240px; max-height:480px; }
.editorial-photo img { width:100%;height:100%;object-fit:cover; }
.story .editorial-photo { overflow:hidden;border-radius:48% 0 0 38% / 60% 0 0 47%; }
.promise .editorial-photo { overflow:hidden;border-radius:0 36% 28% 0 / 0 54% 46% 0; }
.promise .editorial-copy { padding:0 max(9%,calc((100vw - 1140px) / 2)) 0 0; }
.value-section { padding-block:1.5em 2.8em; }
.value-list { text-align:center; }
.value-list li { position:relative; padding-inline:8%; }
.value-list li + li::before { content:"";position:absolute;left:0;top:18%;bottom:5%;width:1px;background:#d9cfc5; }
.icon-tile { border-radius:27%;margin:0 auto .85em; }
.checks { margin-top:1.4em;display:grid;gap:.45em; }
.checks li { display:flex;align-items:baseline;gap:.85em; }
.checks li::before { content:"✓"; font-size:1.25em;color:#ab6710; }
.portfolio { padding-block:1.6em 0; }
.filter-row { margin-bottom:1.7em; flex-wrap:wrap;row-gap:14px; }
.unterseite .filter-row h2 { font-size:1.05em;font-weight:660; }
.filters { display:flex;gap:clamp(6px,1.1vw,14px);flex-wrap:wrap; }
.filters button { min-height:40px; padding:.62em 1.4em;border:1px solid #a49e96;border-radius:60px;font-size:clamp(12px,1.25vw,15px);font-weight:600; }
.filters [aria-pressed="true"] { border-color:transparent; }
.project-tile { aspect-ratio:1.26;background:#514334;color:#fff;justify-content:flex-end; }
.project-tile img { position:absolute;z-index:-2;inset:0;width:100%;height:100%;object-fit:cover; }
.project-tile::after { content:"";position:absolute;inset:26% 0 0;z-index:-1;background:linear-gradient(transparent,#28170cde); }
.project-caption { padding:1.1em 18% 1.1em 6%; font-size:clamp(12px,1.4vw,17px);line-height:1.24; }
.project-caption small {display:block;letter-spacing:.16em;font-weight:650; }
.project-caption small::after {content:"";display:block;width:1.6em;height:2px;background:#e6ae5f;margin:.25em 0 .4em; }
.project-tile .round-arrow { position:absolute;right:5%;bottom:7%;color:white;border-color:#fffb; }
.portfolio [hidden] { display:none; }
.empty-projects { padding:1.7em;background:var(--muted);border-radius:1em; }
.empty-projects button { text-decoration:underline; }
.visually-hidden { position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden;white-space:nowrap; }
.spotlight { gap:6%; margin-block:var(--section-gap); }
.spotlight img { width:100%;height:100%;max-height:470px;object-fit:cover;border-radius:5%; }
.project-facts { display:flex;margin:1.35em 0; }
.project-facts li { flex:1;font-size:clamp(12px,1.32vw,16px);line-height:1.32; }
.project-facts .line-icon { color:#a56109;width:2.25em;height:2.25em;margin-bottom:.4em; }
.project-facts b { display:block; }
.voice { padding-left:max(7%,calc((100vw - 1140px)/2)); gap:5%; background:linear-gradient(110deg,#f3ebe3,transparent); }
.voice div { padding-block:1.8em; }
.voice blockquote { font-weight:550;font-size:clamp(19px,2.4vw,33px);line-height:1.35;letter-spacing:-.035em;margin:.6em 0; }
.voice blockquote + p { font-size:.8em; }
.voice img { width:100%;height:100%;max-height:345px;object-fit:cover;border-top-left-radius:42% 90%; }
.contact-intro { padding-block:1.2em 2.8em; }
.contact-intro > p:not(.kicker) { max-width:45ch; }
.contact-points { grid-template-columns:repeat(3,minmax(0,1fr));margin:1.8em -4% 0; }
.contact-points li { padding-inline:3%; }
.inquiry-section { background:linear-gradient(115deg,#efe5db,#f2ebe4);border-radius:clamp(25px,6vw,76px) clamp(25px,6vw,76px) 0 0; }
.inquiry-inner { width:var(--wrap);max-width:1140px;margin:auto; grid-template-columns:.83fr 1.3fr; gap:5%;align-items:start;padding-block:clamp(30px,4.5vw,62px); }
#projektformular, #projektformular label { display:grid; gap:5px;min-width:0; }
#projektformular { gap:11px; }
.field-pair { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
#projektformular label > span { padding-left:1.12em;font-size:12px;font-weight:650; }
#projektformular :is(input, select, textarea) { width:100%;font:inherit;font-size:16px; min-height:44px; border:1px solid #dacfbe;border-radius:24px;padding:.65em 1em;color:var(--ink);background:#fbf8f4; }
#projektformular textarea { border-radius:18px;resize:vertical; }
#projektformular :is(input,select,textarea):focus-visible { outline:2px solid #a3661b;outline-offset:2px; }
.form-status { font-size:12px;line-height:1.5; }
.callback { color:white; background:linear-gradient(90deg,#262018f2,#291c0e92 50%,transparent),url(assets/unterseiten/kontakt-holz.webp) center 63%/cover; }
.callback > div { width:var(--wrap); margin:auto; padding-block:clamp(38px,5.5vw,75px); }
.callback .sub-button { margin-top:1.25em; }
.footer-grid nav a[aria-current="page"], #menue nav a[aria-current="page"] { color:#ecb75e; }
@media(max-width:760px) {
  .catalogue-grid, .project-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .filters button { min-height:44px; }
  .editorial-copy { padding-left:9%; }
  .promise .editorial-copy { padding-right:9%; }
  .contact-points li p { overflow-wrap:anywhere; }
}
@media(max-width:580px) {
  .unterseite main { --wrap:89%; --wide:91%; }
  .hero-type { padding-block:calc(var(--safe-top) + var(--header-height) + 25px) 56px; }
  .hero-contact .hero-type { padding-bottom:75px; }
  .sub-hero::before { background:linear-gradient(90deg,#292016e8,#35271cbf 48%,#30231938); }
  .hero-contact::before { background:linear-gradient(90deg,#33251ce6,#3a281ea3 63%,#352a201c); }
  .sub-hero-photo { object-position:65% center; }
  .catalogue-intro, .step-heading { flex-direction:column;align-items:flex-start;gap:15px; }
  .catalogue-intro > p { max-width:100%; }
  .tile-copy { grid-template-columns:minmax(0,1fr) auto;align-items:start; padding:12px 9px; }
  .tile-copy > .line-icon { display:none; }
  .tile-copy .round-arrow { width:21px; align-self:end; }
  .catalogue-grid,.project-grid { gap:12px; }
  .tile-copy > span > span { font-size:12px; }
  .planning, .spotlight, .editorial, .voice, .inquiry-inner { grid-template-columns:minmax(0,1fr);gap:0; }
  .planning img { min-height:0;height:auto;aspect-ratio:2.3;mask-image:none; }
  .planning > div { padding:1.4em; }
  .four-steps,.value-list:not(.contact-points) { grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 5%; }
  .four-steps li::after { display:none; }
  .four-steps li { min-width:0; }
  .step-disc { margin-left:0; }
  .editorial { gap:1.4em;padding-block:1.4em; }
  .editorial .editorial-copy { width:var(--wrap);margin:auto;padding:0; }
  .editorial-photo { width:94%;min-height:0;aspect-ratio:1.9; }
  .story .editorial-photo { justify-self:end; }
  .value-list li { padding-inline:0; }
  .value-list:not(.contact-points) li + li::before { display:none; }
  .value-section { padding-block:1.4em; }
  .filter-row { display:block;margin-bottom:1.2em; }
  .filters { margin-top:.8em; gap:7px; }
  .filters button { padding:.5em 1.05em; }
  .project-tile { aspect-ratio:.91; }
  .project-caption { padding:12px 10px 38px; }
  .project-tile .round-arrow { bottom:8px;right:9px;width:23px; }
  .spotlight { gap:1.4em; }
  .spotlight img { aspect-ratio:1.6; }
  .voice {padding-left:0;}
  .voice div { width:var(--wrap);margin:auto; }
  .voice img { margin-left:auto;width:90%; height:130px; }
  .contact-points { display:grid;grid-template-columns:1fr;text-align:left;gap:17px;margin:1.6em 0 0; }
  .contact-points li { display:grid;grid-template-columns:auto 1fr;column-gap:14px;align-items:center; }
  .contact-points li::before { display:none; }
  .contact-points .icon-tile { grid-row:span 2;margin:0;width:46px; }
  .contact-points p { margin:0; }
  .inquiry-inner { gap:1.6em; }
  .inquiry-inner h2 br { display:none; }
  .inquiry-inner h2 br::after { content:" "; }
  .inquiry-inner .checks { margin-top:.8em; }
}
@media(prefers-reduced-motion:reduce) {
  .sub-button, .service-tile, .project-tile { transition:none; }
}
@media(max-width:380px) {
  .hero-type h1 { font-size:clamp(34px,10.3vw,39px); }
}
/* Dieselben Textkanten führen durch Einstieg, Inhalt und Fußbereich. */
.unterseite main { --wrap: calc(100% - 2 * var(--pad)); }
.unterseite main .kicker { font-size:clamp(11px,1.22vw,13px); }
.sub-hero .hero-type strong { color:#f0ad4e; }
.unterseite main section:not(.sub-hero) h2 strong { color:#955810; }
#projektformular [type=submit]:disabled { opacity:.65; cursor:default; }
.project-facts li { min-width:0; overflow-wrap:break-word; }
.contact-intro > p:not(.kicker) { text-wrap:pretty; }
@media(min-width:1024px) {
  .unterseite main { --wrap:calc(100% - 2 * var(--desktop-edge)); --wide:min(92%,1340px); }
  .catalogue-intro { width:calc(100vw - 2 * var(--desktop-edge)); margin-inline:auto;padding-inline:0; }
  .editorial { max-width:none; }
  .editorial-copy { padding-left:var(--desktop-edge); }
  .promise .editorial-copy { padding-right:var(--desktop-edge); }
  .voice { padding-left:var(--desktop-edge); }
  .inquiry-inner { max-width:none; }
}
@media(min-width:581px) and (max-width:760px) {
  .value-list:not(.contact-points) { grid-template-columns:repeat(2,minmax(0,1fr));row-gap:26px; }
  .value-list li:nth-child(3)::before { display:none; }
}
@media(max-width:480px) {
  .catalogue-grid { grid-template-columns:minmax(0,1fr); }
  .service-tile { display:grid;grid-template-columns:31% 1fr;min-height:100px; }
  .service-tile img { width:100%;height:100%;aspect-ratio:auto; }
  .tile-copy { padding:13px 12px;gap:8px;align-items:center; }
  .tile-copy b { font-size:15px;hyphens:auto; }
  .tile-copy > span > span { font-size:13px;line-height:1.4; }
  .tile-copy .round-arrow { align-self:center; }
  .project-grid { grid-template-columns:minmax(0,1fr);gap:14px; }
  .project-tile { aspect-ratio:1.95; }
  .project-caption { padding:16px 52px 16px 17px;font-size:15px; }
  .project-tile .round-arrow { width:30px;right:14px;bottom:16px; }
  .field-pair { grid-template-columns:1fr; }
}

.four-steps li:not(:last-child)::after { transform:scaleX(var(--join-scale,1));transform-origin:left; }
.hero-type .ruled::after { background:#dd9c42; }
.sub-button.filled { background:linear-gradient(108deg,#edaf50,#df982e); box-shadow:inset 0 1px 0 #ffe3a88a,0 5px 14px #3e26172b; }
.step-disc, .icon-tile { box-shadow:inset 0 1px 0 #fffc,inset 0 0 0 1px #96683a14,0 5px 12px -8px #5841294d; }
@media(hover:hover) and (prefers-reduced-motion:no-preference) {
  .round-arrow, .sub-button .line-icon { transition:translate .2s,background .2s; }
  .service-tile:is(:hover,:focus-visible) .round-arrow { background:#efc786; }
  :is(.service-tile,.project-tile):is(:hover,:focus-visible) .round-arrow,
  .sub-button:is(:hover,:focus-visible) .line-icon { translate:3px 0; }
}
